/* ============================================================
   דליה קצירי נדל"ן רמת פולג
   שפת עיצוב "גל קדימה": ים עמוק, טורקיז זוהר, ענבר חם.
   ============================================================ */

:root {
  --deep: #0a3d55;
  --sea: #0e7490;
  --sea-dark: #0a5c73;
  --aqua: #67e8f9;
  --aqua-soft: #dff6fb;
  --tint: #f2fafc;
  --amber: #f59e0b;
  --amber-hover: #fbb033;
  --amber-ink: #3d2800;
  --ink: #0c3038;
  --soft: #4f666d;
  --muted: #7a8b91;
  --wa: #1faa55;
  --line: #e3e9e9;
  --grad: linear-gradient(165deg, #0a3d55 0%, #0e7490 74%, #14919f 100%);
  --shadow-card: 0 18px 50px rgba(6, 40, 55, 0.16);
  --shadow-card-hover: 0 24px 56px rgba(6, 40, 55, 0.2);

  /* aliases לעמוד הניהול (admin.html) שמשתמש בשמות הישנים */
  --sand: #ffffff;
  --sand-deep: #f2fafc;
  --sea-deep: #0a5c73;
  --sea-tint: #dff6fb;
  --ink-soft: #4f666d;
  --gold: #f59e0b;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 55px rgba(6, 40, 55, 0.14);
  --shadow-soft: 0 6px 20px rgba(6, 40, 55, 0.06);
  --font-display: "Rubik", sans-serif;
  --font-body: "Rubik", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Rubik", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 700px) { .container { padding: 0 24px; } }

.skip-link {
  position: absolute; top: -60px; right: 16px;
  background: var(--sea); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- reveal בגלילה (CSS scroll-driven, עם fallback בטוח) ---------- */
@keyframes om-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] { animation: om-reveal 1ms linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}

/* ---------- אזור גרדיאנט עליון (הדר + הירו) ---------- */
.top-gradient {
  background: var(--grad);
  position: relative;
  overflow: hidden;
}
.top-gradient .orb {
  position: absolute; border-radius: 50%;
  background: rgba(103, 232, 249, 0.12);
  pointer-events: none;
}
.orb.o1 { width: 620px; height: 620px; top: -300px; left: -160px; }
.orb.o2 { width: 380px; height: 380px; bottom: -100px; right: 6%; background: rgba(103, 232, 249, 0.08); }
.orb.o3 { width: 460px; height: 460px; top: -220px; left: -120px; }

.wave-sep {
  display: block; width: 100%;
  position: absolute; bottom: -1px; right: 0; z-index: 1;
  pointer-events: none;
}

/* ---------- הדר ---------- */
.site-header { position: relative; z-index: 5; }
.site-header.sticky-dark {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 61, 85, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px; gap: 24px;
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
}
.sticky-dark .header-inner { height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; background: var(--aqua);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; color: #fff; }
.brand-name { font-weight: 700; font-size: 19px; }
.brand-sub { font-size: 12.5px; color: #9fdcea; font-weight: 500; }

.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a {
  font-size: 15.5px; font-weight: 500; color: #bfe6ef;
  transition: color .15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"] { font-weight: 600; }

.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--aqua); color: var(--deep); font-weight: 700; font-size: 15px;
  padding: 11px 24px; border-radius: 100px;
  box-shadow: 0 8px 24px rgba(103, 232, 249, 0.35);
  transition: transform .15s, background .15s;
  white-space: nowrap;
}
.header-call:hover { transform: translateY(-1px); background: #8df0fb; }
.header-call:active { transform: scale(0.98); }
.header-call svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: #fff; }

@media (max-width: 900px) {
  .header-inner { padding: 0 24px; }
  .main-nav {
    display: none; position: absolute; top: 82px; right: 0; left: 0;
    background: var(--deep); flex-direction: column; padding: 18px 24px;
    gap: 14px; align-items: flex-start; z-index: 50;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .header-call span.call-label { display: none; }
  .header-call { padding: 11px 14px; }
}

/* ---------- הירו (דף הבית) ---------- */
.hero-wrap {
  position: relative; z-index: 1; text-align: center;
  padding: 64px 48px 235px; color: #fff;
  max-width: 1280px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(103, 232, 249, 0.16);
  border: 1px solid rgba(103, 232, 249, 0.4);
  color: #a9f0fb; font-weight: 600; font-size: 14.5px;
  padding: 8px 20px; border-radius: 100px; margin-bottom: 26px;
  white-space: nowrap;
}
.hero-wrap h1 {
  font-size: clamp(44px, 5vw, 68px); font-weight: 800; line-height: 1.1;
  margin: 0 0 20px; letter-spacing: -0.015em;
}
.hero-wrap h1 .accent { color: var(--aqua); }
.hero-sub {
  font-size: 19.5px; color: #cfeef5; max-width: 52ch;
  margin: 0 auto 42px; font-weight: 400;
}

/* סרגל חיפוש */
.search-card {
  background: #fff; border-radius: 20px;
  box-shadow: 0 30px 70px rgba(6, 40, 55, 0.35);
  padding: 14px; display: flex; align-items: center; gap: 10px;
  max-width: 880px; margin: 0 auto; color: var(--ink);
}
.deal-toggle { display: flex; background: #eef4f4; border-radius: 14px; padding: 4px; flex-shrink: 0; }
.deal-toggle button {
  font-family: inherit; font-size: 15px; font-weight: 500;
  border: none; background: transparent; color: var(--soft);
  padding: 10px 22px; border-radius: 11px; cursor: pointer;
  transition: background .15s, color .15s;
}
.deal-toggle button.active { background: var(--sea); color: #fff; font-weight: 700; }
.search-card select {
  flex: 1; font-family: inherit; font-size: 15.5px; font-weight: 500;
  color: var(--ink); border: none; background: transparent; padding: 10px; cursor: pointer;
}
.search-card select:focus { outline: 2px solid rgba(14, 116, 144, 0.35); outline-offset: 2px; border-radius: 8px; }
.search-divider { width: 1px; height: 30px; background: var(--line); flex-shrink: 0; }
.search-go {
  font-family: inherit; font-size: 16px; font-weight: 700;
  background: var(--amber); color: var(--amber-ink);
  border: none; cursor: pointer; padding: 14px 34px; border-radius: 14px;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.35);
  white-space: nowrap; transition: transform .15s, background .15s;
}
.search-go:hover { transform: translateY(-1px); background: var(--amber-hover); }
.search-go:active { transform: scale(0.98); }

@media (max-width: 820px) {
  .hero-wrap { padding: 44px 24px 215px; }
  .search-card { flex-wrap: wrap; }
  .deal-toggle { width: 100%; justify-content: stretch; }
  .deal-toggle button { flex: 1; }
  .search-card select { min-width: 40%; }
  .search-divider { display: none; }
  .search-go { width: 100%; }
}

/* ---------- כרטיסי נכסים ---------- */
.featured-section {
  padding: 0 48px 40px; margin-top: -165px;
  position: relative; z-index: 2;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
@media (max-width: 700px) { .featured-section { padding: 0 24px 40px; } }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }

.prop-card {
  background: #fff; border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.cards-grid .prop-card:nth-child(3n+1):hover { transform: translateY(-6px) rotate(-0.4deg); }
.cards-grid .prop-card:nth-child(3n):hover { transform: translateY(-6px) rotate(0.4deg); }
.prop-media { position: relative; }
.prop-media img {
  width: 100%; aspect-ratio: 4 / 2.7; object-fit: cover; display: block;
  background: #eef4f4;
}
.prop-tag {
  position: absolute; top: 16px; right: 16px;
  background: var(--aqua); color: var(--deep);
  font-size: 13px; font-weight: 700; padding: 6px 15px; border-radius: 100px;
}
.prop-tag.rent { background: #fbbf24; color: var(--amber-ink); }
.prop-tag.sold { background: var(--deep); color: #fff; }
.prop-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.prop-price { font-size: 21px; font-weight: 800; color: var(--sea); }
.prop-price small { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.prop-title { font-size: 16.5px; font-weight: 600; }
.prop-street { color: var(--soft); font-size: 14.5px; }
.prop-specs {
  display: flex; gap: 14px; margin-top: auto; padding-top: 14px;
  border-top: 2px dashed var(--line);
  color: var(--soft); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.prop-body > .prop-specs { margin-top: auto; }

.more-row { text-align: center; margin-top: 36px; }
.btn-more {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sea); color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px 36px; border-radius: 100px;
  box-shadow: 0 12px 30px rgba(14, 116, 144, 0.3);
  transition: transform .15s, background .15s;
}
.btn-more:hover { transform: translateY(-1px); background: var(--sea-dark); }
.btn-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- סקשנים כלליים ---------- */
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--sea); font-weight: 700; font-size: 13.5px;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(6, 40, 55, 0.08);
}
.section-badge.on-white { background: var(--aqua-soft); box-shadow: none; }

/* ---------- למה רמת פולג ---------- */
.hood {
  padding: 80px 48px; background: var(--tint);
  position: relative; overflow: hidden;
}
.hood .orb-hood {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(103, 232, 249, 0.14); top: -180px; right: -140px;
}
.hood-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px;
  align-items: center; position: relative;
}
.hood-figure { position: relative; padding-bottom: 40px; }
.hood-figure .img-main {
  border-radius: 28px; aspect-ratio: 4 / 3.1; object-fit: cover; width: 100%;
  box-shadow: 0 24px 60px rgba(6, 40, 55, 0.18);
}
.hood-figure .img-float {
  position: absolute; width: 38%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 50%; border: 6px solid var(--tint);
  bottom: 0; left: -10px;
  box-shadow: 0 18px 44px rgba(6, 40, 55, 0.2);
}
.hood h2 {
  font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.18;
  margin: 0 0 12px;
}
.hood-lead { color: var(--soft); font-size: 17.5px; margin: 0 0 28px; max-width: 52ch; }
.hood-points { display: flex; flex-direction: column; gap: 16px; }
.hood-point {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 6px 20px rgba(6, 40, 55, 0.06);
}
.hood-point .ic {
  width: 42px; height: 42px; border-radius: 12px; background: var(--aqua-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hood-point .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--sea); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hood-point b { font-size: 16.5px; }
.hood-point p { color: var(--soft); font-size: 15px; margin: 2px 0 0; }

.hood-stats {
  display: flex; gap: 0; margin-top: 26px;
  background: var(--deep); border-radius: 18px; padding: 20px 10px;
  box-shadow: 0 16px 40px rgba(6, 40, 55, 0.25);
}
.hood-stat { flex: 1; text-align: center; }
.hood-stat .num { font-size: 26px; font-weight: 800; color: var(--aqua); }
.hood-stat .lbl { font-size: 13px; color: #9fdcea; font-weight: 500; }
.hood-stat-divider { width: 1px; background: rgba(159, 220, 234, 0.25); }

@media (max-width: 900px) {
  .hood { padding: 64px 24px; }
  .hood-grid { grid-template-columns: 1fr; gap: 44px; }
  .hood-figure { order: 2; }
}

/* ---------- על דליה ---------- */
.about { padding: 88px 48px; }
.about-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px; align-items: center;
}
.about-portrait {
  background: linear-gradient(160deg, #0a3d55 0%, #0e7490 100%);
  border-radius: 28px; aspect-ratio: 4 / 4.5;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 60px rgba(6, 40, 55, 0.22);
}
.about-portrait .orb-a { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(103, 232, 249, 0.14); top: -110px; left: -90px; }
.about-portrait .orb-b { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(103, 232, 249, 0.1); bottom: -60px; right: -40px; }
.about-portrait-inner {
  z-index: 1; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 18px; padding: 24px;
}
.about-portrait img {
  width: 72%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%;
  border: 6px solid rgba(103, 232, 249, 0.5);
  box-shadow: 0 20px 50px rgba(4, 25, 35, 0.35);
}
.about-portrait .p-name { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.about-portrait .p-role { font-size: 15.5px; font-weight: 500; letter-spacing: 0.08em; color: #9fdcea; margin-top: 6px; }
.about-text h2 { font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; line-height: 1.18; margin: 0 0 16px; }
.about-text p { color: var(--soft); font-size: 17.5px; margin: 0 0 14px; max-width: 58ch; }
.about-license { font-size: 14px; color: var(--muted); margin: 6px 0 0 !important; }
.about-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn-solid {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--sea); color: #fff; font-weight: 700; font-size: 16px;
  padding: 13px 30px; border-radius: 100px;
  box-shadow: 0 12px 30px rgba(14, 116, 144, 0.28);
  transition: transform .15s, background .15s;
}
.btn-solid:hover { transform: translateY(-1px); background: var(--sea-dark); }
.btn-solid:active { transform: scale(0.98); }
.btn-wa-soft {
  display: inline-flex; align-items: center; gap: 9px;
  background: #eafaf0; color: #158a44; font-weight: 700; font-size: 16px;
  padding: 13px 30px; border-radius: 100px;
  transition: transform .15s, filter .15s;
}
.btn-wa-soft:hover { transform: translateY(-1px); filter: brightness(0.97); }
.btn-wa-soft svg, .btn-solid svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 900px) {
  .about { padding: 64px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { max-width: 420px; margin: 0 auto; }
}

/* ---------- איך זה עובד ---------- */
.process {
  padding: 80px 48px; color: #fff;
  background: linear-gradient(165deg, #0a3d55 0%, #0d5b74 100%);
  position: relative; overflow: hidden;
}
.process .orb-p { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(103, 232, 249, 0.09); top: -200px; left: -120px; }
.process-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.process-head { text-align: center; margin-bottom: 44px; }
.process-head h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; margin: 0 0 10px; }
.process-head p { color: #9fdcea; font-size: 17.5px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 20px; padding: 26px 24px;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--aqua);
  color: var(--deep); font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step-num.amber { background: var(--amber); color: var(--amber-ink); }
.step b { display: block; font-size: 17.5px; margin-bottom: 6px; }
.step p { color: #bfe6ef; font-size: 15px; margin: 0; }
@media (max-width: 900px) { .process { padding: 64px 24px; } .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- ציטוט ---------- */
.quote-band { text-align: center; padding: 88px 48px; }
.quote-mark { font-size: 70px; font-weight: 800; color: var(--aqua); line-height: 0.6; margin-bottom: 18px; }
.quote-band blockquote {
  font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; line-height: 1.4;
  max-width: 36ch; margin: 0 auto 18px; color: var(--deep); letter-spacing: -0.01em;
}
.quote-band cite { font-style: normal; color: var(--soft); font-size: 16px; font-weight: 500; }

/* ---------- צור קשר ---------- */
.contact {
  padding: 84px 48px; background: var(--tint);
  position: relative; overflow: hidden;
}
.contact .orb-c { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(103, 232, 249, 0.13); bottom: -160px; left: -120px; }
.contact-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; position: relative;
}
.contact-info h2 { font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; line-height: 1.18; margin: 0 0 14px; }
.contact-info > p { color: var(--soft); font-size: 17.5px; margin: 0 0 28px; max-width: 44ch; }
.contact-lines { display: flex; flex-direction: column; gap: 14px; }
.contact-line {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 16.5px;
  background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 6px 20px rgba(6, 40, 55, 0.06);
  transition: transform .15s;
}
a.contact-line:hover { transform: translateY(-1px); }
.contact-line .ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--aqua-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-line .ic svg { width: 19px; height: 19px; fill: var(--sea); }

.lead-form {
  background: #fff; border-radius: 24px; padding: 32px;
  box-shadow: 0 20px 55px rgba(6, 40, 55, 0.12);
  display: flex; flex-direction: column; gap: 16px;
}
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form .field { display: flex; flex-direction: column; gap: 6px; }
.lead-form label { font-size: 14px; font-weight: 600; color: var(--soft); }
.lead-form input, .lead-form select, .lead-form textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.14);
}
.lead-form textarea { resize: vertical; min-height: 92px; }
.lead-form .error { color: #b3261e; font-size: 14px; display: none; }
.lead-form .field.invalid .error { display: block; }
.lead-form .field.invalid input { border-color: #b3261e; }
.lead-submit {
  font-family: inherit; font-size: 17px; font-weight: 700;
  background: var(--amber); color: var(--amber-ink);
  border: none; border-radius: 100px; padding: 15px; cursor: pointer;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
  transition: transform .15s, background .15s;
}
.lead-submit:hover { transform: translateY(-1px); background: var(--amber-hover); }
.lead-submit:active { transform: scale(0.99); }
.lead-submit[disabled] { opacity: 0.6; cursor: wait; }
.form-status { font-size: 15.5px; font-weight: 600; text-align: center; display: none; }
.form-status.ok { display: block; color: #14702f; }
.form-status.fail { display: block; color: #b3261e; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }

@media (max-width: 900px) {
  .contact { padding: 64px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .lead-form .row { grid-template-columns: 1fr; }
}

/* ---------- פוטר ---------- */
.site-footer { background: var(--deep); color: #9fdcea; padding: 0 48px; font-size: 15px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 52px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand .brand-mark svg { width: 22px; height: 22px; }
.footer-brand .fb-name { font-weight: 700; font-size: 17px; color: #fff; }
.footer-brand .fb-sub { font-size: 13px; color: #7fc4d6; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #9fdcea; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-legal {
  margin-top: 30px; padding-top: 20px;
  border-top: 1px solid rgba(159, 220, 234, 0.2);
  font-size: 13.5px; color: #7fc4d6;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 700px) { .site-footer { padding: 0 24px; } }

/* ---------- וואטסאפ צף ---------- */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- עמוד נכסים ---------- */
.page-head-wrap {
  position: relative; z-index: 1;
  padding: 34px 48px 118px; color: #fff;
  max-width: 1280px; margin: 0 auto;
}
.page-head-wrap h1 { font-size: clamp(34px, 4vw, 50px); font-weight: 800; margin: 0 0 10px; letter-spacing: -0.015em; }
.page-head-wrap h1 .accent { color: var(--aqua); }
.page-head-wrap p { color: #cfeef5; font-size: 18px; margin: 0; max-width: 60ch; }
@media (max-width: 700px) { .page-head-wrap { padding: 28px 24px 108px; } }

.filters-wrap {
  max-width: 1280px; margin: -40px auto 0; padding: 0 48px;
  position: relative; z-index: 2;
}
@media (max-width: 700px) { .filters-wrap { padding: 0 24px; } }
.filters-bar {
  background: #fff; border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 18px 22px; display: flex; gap: 18px; flex-wrap: wrap; align-items: end;
}
.filters-bar .field { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 130px; }
.filters-bar .field.wide { flex: 1.4; min-width: 170px; }
.filters-bar label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.filters-bar select {
  font-family: inherit; font-size: 15.5px; font-weight: 500;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.filters-count {
  margin-inline-start: auto; align-self: center;
  background: var(--aqua-soft); color: var(--sea);
  font-size: 14.5px; font-weight: 700; padding: 8px 18px;
  border-radius: 100px; white-space: nowrap;
}
.filters-count:empty { display: none; }

.listings-section { padding: 36px 0 84px; }
.empty-state {
  text-align: center; padding: 64px 20px; color: var(--soft);
  background: var(--tint); border-radius: 24px;
  font-size: 16.5px;
}
.empty-state .es-emoji { font-size: 44px; display: block; margin-bottom: 10px; }
.empty-state b { display: block; font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.empty-state a { color: var(--sea); font-weight: 700; }

/* ---------- עמוד נכס ---------- */
.prop-hero { max-width: 1280px; margin: 0 auto; padding: 34px 48px 0; }
@media (max-width: 700px) { .prop-hero { padding: 24px 24px 0; } }
.crumb {
  font-size: 14.5px; color: var(--muted); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.crumb a { color: var(--sea); font-weight: 600; }
.crumb .sep { color: #c3ced2; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.gallery .g-main {
  grid-row: span 2; aspect-ratio: 16 / 10.6; object-fit: cover;
  width: 100%; height: 100%; border-radius: 24px; cursor: zoom-in;
}
.gallery .g-side {
  aspect-ratio: 16 / 10.3; object-fit: cover; width: 100%; height: 100%;
  border-radius: 20px; cursor: zoom-in;
}
.gallery .g-more { position: relative; border-radius: 20px; overflow: hidden; cursor: zoom-in; }
.gallery .g-more img { aspect-ratio: 16 / 10.3; object-fit: cover; width: 100%; height: 100%; }
.gallery .g-more .g-overlay {
  position: absolute; inset: 0; background: rgba(10, 61, 85, 0.55);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
}
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .g-main { grid-row: auto; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-main { grid-row: auto; }
}

.prop-layout {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
}
@media (max-width: 700px) { .prop-layout { padding: 0 24px; } }
.prop-layout-grid {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px;
  padding: 38px 0 84px; align-items: start;
}
.prop-tags { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.prop-tag-inline {
  background: var(--aqua); color: var(--deep);
  font-size: 13px; font-weight: 700; padding: 6px 15px; border-radius: 100px;
}
.prop-tag-inline.rent { background: #fbbf24; color: var(--amber-ink); }
.prop-tag-inline.sold { background: var(--deep); color: #fff; }
.prop-tag-inline.cat { background: #eef4f4; color: var(--soft); font-weight: 600; }
.prop-main h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.15; margin: 0 0 8px; }
.street-line {
  color: var(--soft); font-size: 17px; margin-bottom: 24px;
  display: flex; align-items: center; gap: 7px;
}
.street-line svg { width: 17px; height: 17px; fill: var(--sea); flex-shrink: 0; }

.spec-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
@media (max-width: 560px) { .spec-band { grid-template-columns: repeat(2, 1fr); } }
.spec-item { background: var(--tint); border-radius: 16px; padding: 16px; text-align: center; }
.spec-item .s-emoji { font-size: 22px; margin-bottom: 2px; }
.spec-item b { display: block; font-size: 19px; font-weight: 800; }
.spec-item span { font-size: 13.5px; color: var(--soft); font-weight: 500; }

.prop-main h2 { font-size: 22px; font-weight: 700; margin: 0 0 10px; letter-spacing: 0; }
.prop-desc { font-size: 17px; color: var(--soft); max-width: 65ch; margin: 0 0 28px; }
.feature-list { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-chip {
  background: var(--aqua-soft); color: var(--sea-dark);
  font-weight: 600; font-size: 14.5px; padding: 8px 16px; border-radius: 100px;
}
.beach-note {
  margin-top: 32px;
  background: linear-gradient(160deg, #0a3d55 0%, #0e7490 100%);
  border-radius: 20px; padding: 22px 26px; color: #fff;
  display: flex; align-items: center; gap: 18px;
}
.beach-note svg { width: 34px; height: 34px; flex-shrink: 0; fill: none; stroke: var(--aqua); stroke-width: 1.8; stroke-linecap: round; }
.beach-note b { font-size: 16.5px; }
.beach-note .bn-sub { color: #bfe6ef; font-size: 14.5px; }

.prop-aside {
  position: sticky; top: 102px;
  background: #fff; border-radius: 24px; padding: 28px;
  box-shadow: 0 20px 55px rgba(6, 40, 55, 0.14);
  border: 1px solid #eef4f4;
}
.aside-price { font-size: 32px; font-weight: 800; color: var(--sea); margin-bottom: 2px; }
.aside-price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.aside-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.aside-agent {
  display: flex; align-items: center; gap: 12px; padding: 16px 0;
  border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line);
  margin-bottom: 20px;
}
.aside-agent img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; border: 2px solid var(--aqua);
}
.aside-agent b { display: block; font-size: 16.5px; }
.aside-agent span { font-size: 14px; color: var(--muted); }
.aside-ctas { display: flex; flex-direction: column; gap: 12px; }
.btn-wa-strong {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px; border-radius: 100px;
  transition: transform .15s, filter .15s;
}
.btn-wa-strong:hover { transform: translateY(-1px); filter: brightness(0.95); }
.btn-wa-strong svg { width: 18px; height: 18px; fill: currentColor; }
.btn-call-deep {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--deep); color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px; border-radius: 100px;
  transition: transform .15s, filter .15s;
}
.btn-call-deep:hover { transform: translateY(-1px); filter: brightness(1.15); }
.btn-call-deep svg { width: 17px; height: 17px; fill: var(--aqua); }
.aside-form { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.aside-form .field { display: flex; flex-direction: column; gap: 6px; }
.aside-form label { font-size: 14px; font-weight: 600; color: var(--soft); }
.aside-form input {
  font-family: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.aside-form input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.14); }
.aside-form .error { color: #b3261e; font-size: 14px; display: none; }
.aside-form .field.invalid .error { display: block; }
.aside-form .field.invalid input { border-color: #b3261e; }
.aside-submit {
  font-family: inherit; font-size: 16.5px; font-weight: 700;
  background: var(--amber); color: var(--amber-ink);
  border: none; border-radius: 100px; padding: 14px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.3);
  transition: transform .15s, background .15s;
}
.aside-submit:hover { transform: translateY(-1px); background: var(--amber-hover); }
.aside-submit[disabled] { opacity: 0.6; cursor: wait; }

@media (max-width: 900px) {
  .prop-layout-grid { grid-template-columns: 1fr; }
  .prop-aside { position: static; }
}

/* ---------- לייטבוקס ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(6, 32, 44, 0.93); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 14px; object-fit: contain; }
.lightbox button {
  position: absolute; top: 22px; left: 22px; background: rgba(255, 255, 255, 0.14);
  color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%;
  font-size: 22px; cursor: pointer;
}
