/* ============================================================
   רמת פולג — שכבת "חי ושמח" מעל המרקטפלייס הנקי
   פסים צבעוניים (ים, חול, כחול עמוק), כרטיסים עם עומק, גלים ונגיעות ענבר.
   ============================================================ */

:root {
  --sand: #fbf4e8;
  --sand-2: #f4e7d1;
  --aqua-bg: #e7f6f8;
  --aqua-bg-2: #d3eff3;
  --coral: #f97362;
  --mint: #2bb88f;
  --violet: #7c6cf0;
  --grad-sea: linear-gradient(135deg, #0e7490 0%, #0a5c73 55%, #0a3d55 100%);
  --grad-dawn: linear-gradient(120deg, #e7f6f8 0%, #f2f9f6 45%, #fdf3e3 100%);
  --shadow-card: 0 2px 6px rgba(10, 61, 85, 0.06), 0 12px 32px rgba(10, 61, 85, 0.10);
  --shadow-lift: 0 4px 10px rgba(10, 61, 85, 0.08), 0 22px 48px rgba(10, 61, 85, 0.18);
}

html, body { overflow-x: clip; }
body { background: #fffdf9; }

/* פס צבעוני מתחת להדר */
.site-header { border-bottom: 0; box-shadow: 0 1px 0 rgba(10, 61, 85, 0.06); }
.site-header::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -3px; height: 3px;
  background: linear-gradient(90deg, #0e7490, #67e8f9 40%, #fbbf24 75%, #f97362);
  opacity: .85;
}
.hdr-publish { border-color: transparent; background: var(--amber); color: var(--amber-ink); }
.hdr-publish:hover, .hdr-publish[aria-current="page"] { background: var(--amber-hover); color: var(--amber-ink); }

/* רקע מלא לרוחב המסך לסקשנים צרים (בלי לשנות HTML) */
.band { position: relative; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0 -100vmax; z-index: -1; }

/* ---------- הירו ---------- */
.hx-box { box-shadow: 0 30px 60px -20px rgba(10, 61, 85, 0.45); }
.hx-box::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 8px;
  background: linear-gradient(90deg, #67e8f9, #fbbf24, #f97362);
}
.hx-chips a:nth-child(1) { background: rgba(103, 232, 249, 0.28); }
.hx-chips a:nth-child(5) { background: rgba(251, 191, 36, 0.32); }
.hx-chips a:nth-child(6) { background: rgba(249, 115, 98, 0.35); }

/* ---------- כותרות סקשנים ---------- */
.mk-head h2, .process-head h2, .home-mag-head h2, .gp-sec h2, .ld-block h2 { position: relative; }
.mk-head h2::after, .home-mag-head h2::after {
  content: ""; display: block; width: 56px; height: 5px; border-radius: 5px; margin-top: 10px;
  background: linear-gradient(90deg, var(--sea), #67e8f9);
}
.mk-link {
  border-bottom: 0; background: #fff; color: var(--sea-dark); padding: 9px 16px; border-radius: 100px;
  box-shadow: var(--shadow-card); font-weight: 700;
}
.mk-link:hover { background: var(--sea); color: #fff; }

/* ---------- כרטיסי נכס עם עומק ---------- */
.prop-card {
  background: #fff !important; border-radius: 20px !important; overflow: hidden !important;
  box-shadow: var(--shadow-card) !important; transition: transform .25s ease, box-shadow .25s ease !important;
}
.prop-card:hover { transform: translateY(-5px) !important; box-shadow: var(--shadow-lift) !important; }
.prop-media { border-radius: 0; }
.prop-body { padding: 14px 16px 16px; }
.prop-price { color: var(--sea-dark); font-size: 21px; }
.prop-tag { background: rgba(255, 255, 255, 0.95); }
.prop-tag.rent { background: #fff4e0; }
.prop-badge { background: var(--coral); }
.prop-badge.drop { background: var(--mint); }

/* ---------- נתוני שוק ---------- */
#market.mk-section { padding-bottom: 60px; }
#market.mk-section::before, #market.mk-section { position: relative; isolation: isolate; }
#market.mk-section::before { content: ""; position: absolute; inset: 0 -100vmax; z-index: -1; background: var(--grad-dawn); }
#market { margin-top: 64px; }
.market-tile {
  background: #fff; box-shadow: var(--shadow-card); border-top: 5px solid var(--sea);
  position: relative; overflow: hidden;
}
.market-tile::after {
  content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%;
  inset-inline-end: -26px; top: -26px; background: currentColor; opacity: .07; color: var(--sea);
}
.market-tile:nth-child(2) { border-top-color: var(--amber); }
.market-tile:nth-child(2)::after { color: var(--amber); }
.market-tile:nth-child(3) { border-top-color: var(--mint); }
.market-tile:nth-child(3)::after { color: var(--mint); }
.market-tile:nth-child(4) { border-top-color: var(--coral); }
.market-tile:nth-child(4)::after { color: var(--coral); }
.market-tile b { color: var(--deep); }

/* ---------- השכונה: חול ---------- */
.hood { position: relative; isolation: isolate; padding-bottom: 72px; }
.hood::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sand); }
.hood-point .ic { background: #fff; box-shadow: var(--shadow-card); }
.hood-stats { background: var(--grad-sea); }
.hood-stat .num { color: #67e8f9; }
.hood-stat .lbl { color: #cfeef5; }
.hood-stat-divider { background: rgba(255, 255, 255, 0.2); }

/* ---------- מוכרים ---------- */
.seller-inner { background: var(--grad-sea); position: relative; overflow: hidden; }
.seller-inner::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  inset-inline-start: -90px; bottom: -170px; background: rgba(251, 191, 36, 0.22);
}

/* ---------- איך זה עובד: כחול עמוק ---------- */
.process { position: relative; isolation: isolate; color: #fff; padding-bottom: 72px; margin-top: 72px; padding-top: 64px; }
.process::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-sea); }
.process-head h2 { color: #fff; }
.process-head p { color: #bfe6ef; }
.step { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(103, 232, 249, 0.25); backdrop-filter: blur(4px); }
.step b { color: #fff; }
.step p { color: #cfeef5; }
.step-num { background: #67e8f9; color: var(--deep); }
.step-num.amber { background: var(--amber); }

/* ---------- מגזין ---------- */
.blog-card { border: 0; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.blog-card .bc-cat { background: var(--amber); color: var(--amber-ink); }

/* ---------- שאלות נפוצות: חול ---------- */
#faq.mk-section { position: relative; isolation: isolate; padding-bottom: 60px; margin-top: 64px; }
#faq.mk-section::before { content: ""; position: absolute; inset: 0 -100vmax; z-index: -1; background: var(--sand); }
.faq-list { border-top: 0; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: #fff; border: 0; border-radius: 16px; padding: 0 18px; box-shadow: var(--shadow-card); }
.faq-list details[open] { box-shadow: 0 0 0 2px var(--aqua-bg-2), var(--shadow-card); }
.faq-list summary::after { color: var(--sea); font-weight: 700; }

/* ---------- יצירת קשר ---------- */
.contact { background: var(--grad-dawn); margin-top: 0; }
.lead-form { border: 0; box-shadow: var(--shadow-lift); }
.contact-line { background: #fff; border: 0; box-shadow: var(--shadow-card); }

/* ---------- פוטר עם גל ---------- */
.site-footer { position: relative; margin-top: 90px; background: var(--grad-sea); }
.site-footer::before {
  content: ""; position: absolute; inset-inline: 0; top: -38px; height: 40px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'><path d='M0 30 C 240 0 480 40 720 22 C 960 4 1200 38 1440 14 L1440 40 L0 40 Z' fill='%230e7490'/></svg>") center / 100% 100% no-repeat;
}

/* ---------- ראש עמוד בעמודים פנימיים: גרדיאנט ים + גל ---------- */
.top-gradient {
  background: var(--grad-sea) !important; border-bottom: 0; position: relative; overflow: hidden !important;
}
.top-gradient::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  inset-inline-end: -160px; top: -260px; background: rgba(103, 232, 249, 0.14);
}
.top-gradient::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 36px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'><path d='M0 22 C 240 0 480 36 720 18 C 960 2 1200 32 1440 12 L1440 36 L0 36 Z' fill='%23fffdf9'/></svg>") center / 100% 100% no-repeat;
}
.page-head-wrap { color: #fff; padding-bottom: 64px; position: relative; z-index: 1; }
.page-head-wrap h1 { color: #fff; }
.page-head-wrap h1 .accent { color: #67e8f9; }
.page-head-wrap p { color: #d5f1f6; }

/* ---------- סינון ---------- */
.filters-bar { border: 0; box-shadow: var(--shadow-card); }
.feat-chips input:checked + span { background: var(--sea); border-color: var(--sea); }

/* ---------- דפי שכונה / רחוב / בניין / הבית שלי ---------- */
.gp-hero {
  background: var(--grad-dawn); border-radius: 26px; padding: 22px 26px 26px; position: relative; overflow: hidden;
}
.gp-hero::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  inset-inline-start: -70px; bottom: -110px; background: rgba(251, 191, 36, 0.16); pointer-events: none;
}
.gp-hero > * { position: relative; z-index: 1; }
.gp-btn { background: var(--sea); }
.gp-btn:hover { background: var(--sea-dark); }
.gp-btn.ghost { background: #fff; }
.gp-sec h2::before, .ld-block h2::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 10px;
  background: linear-gradient(135deg, var(--sea), #67e8f9); vertical-align: middle; transform: translateY(-2px);
}
.gp-streets a { background: #fff; border: 0; box-shadow: var(--shadow-card); }
.gp-streets a:hover { background: var(--aqua-bg); box-shadow: var(--shadow-lift); }
.gp-cta { background: var(--grad-sea); color: #fff; }
.gp-cta span { color: #cfeef5; }
.gp-cta .btn-solid { background: var(--amber); color: var(--amber-ink) !important; }
.mh-value { background: var(--grad-sea); box-shadow: var(--shadow-lift); }
.mh-form, .mh-track { border: 0; box-shadow: var(--shadow-card); background: #fff; }

/* ---------- עמוד נכס ---------- */
.prop-tag-inline { background: var(--aqua-bg); color: var(--sea-dark); }
.prop-price-line { color: var(--sea-dark); }
.spec-band { border: 0; background: var(--grad-dawn); }
.spec-item { border-inline-start-color: rgba(10, 61, 85, 0.08); }
.spec-item b { color: var(--deep); }
.tour-card { border: 0; background: var(--sand); }
.tour-day span { background: #fff; }
.prop-aside { border: 0; box-shadow: var(--shadow-lift); }
.prop-aside::before {
  content: ""; display: block; height: 6px; margin: -28px -28px 22px; border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, #0e7490, #67e8f9, #fbbf24);
}
.ld-tile { border: 0; background: #fff; box-shadow: var(--shadow-card); }
.ld-walk { background: var(--grad-dawn); }
.ld-est > div:first-child { background: var(--grad-sea); color: #fff; }
.ld-est > div:first-child span { color: #cfeef5; }
.ld-est > div:first-child b { color: #fff; }
.ld-calc-box { border: 0; box-shadow: var(--shadow-card); }
.ld-table th { background: var(--aqua-bg); color: var(--sea-dark); }
.beach-note { background: var(--grad-sea); color: #fff; }
.beach-note svg { stroke: #67e8f9; }
.beach-note .bn-sub { color: #cfeef5; }
.similar { border-top: 0; position: relative; isolation: isolate; }
.similar::before { content: ""; position: absolute; inset: 0 -100vmax; z-index: -1; background: var(--sand); }

/* ---------- פרסום נכס ---------- */
.pub-path { border: 0; box-shadow: var(--shadow-card); background: #fff; }
.pub-path:first-child { background: linear-gradient(160deg, #fff 55%, #fdf3e3); }
.pub-path:nth-child(2) { background: linear-gradient(160deg, #fff 55%, var(--aqua-bg)); }
.pub-steps li { background: #fff; box-shadow: var(--shadow-card); }
.pub-steps li::before { background: var(--grad-sea); }

/* ---------- מתווכים ---------- */
.ag-card { background: #fff; border: 0; box-shadow: var(--shadow-card); }
.ag-card:hover { box-shadow: var(--shadow-lift); }

@media (prefers-reduced-motion: reduce) {
  .prop-card:hover, .blog-card:hover { transform: none !important; }
}

/* ---------- מה מביא אתכם לכאן ---------- */
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .persona-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .persona-grid { grid-template-columns: 1fr; } }
.persona { background: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 6px; border-top: 5px solid var(--sea); }
.persona:nth-child(2) { border-top-color: var(--mint); }
.persona:nth-child(3) { border-top-color: var(--amber); }
.persona:nth-child(4) { border-top-color: var(--coral); }
.persona-ic { font-size: 28px; line-height: 1; }
.persona b { font-size: 19px; margin-top: 4px; }
.persona p { color: var(--soft); font-size: 14.5px; margin: 0 0 6px; line-height: 1.55; }
.persona a { color: var(--sea-dark); font-weight: 600; font-size: 14.5px; padding: 7px 0; border-top: 1px solid var(--line); }
.persona a::after { content: " ←"; opacity: .6; }
.persona a:hover { color: var(--sea); }

/* ---------- איפה בא לכם לגור ---------- */
.area-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .area-pick { grid-template-columns: 1fr; } }
.area-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 22px; color: #fff; min-height: 220px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s;
  background: var(--grad-sea);
}
.area-card.a1 { background: linear-gradient(135deg, #0f766e, #115e59 60%, #134e4a); }
.area-card.a2 { background: linear-gradient(135deg, #c2410c, #9a3412 60%, #7c2d12); }
.area-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; inset-inline-end: -70px; top: -90px; background: rgba(255, 255, 255, .1); }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.area-card > b { font-size: 26px; font-weight: 800; }
.area-card > span { opacity: .88; font-size: 15px; }
.area-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 14px; }
.area-stats div { background: rgba(255, 255, 255, .14); border-radius: 12px; padding: 8px 10px; }
.area-stats b { display: block; font-size: 16px; }
.area-stats small { font-size: 11.5px; opacity: .85; }
.area-card em { font-style: normal; font-weight: 700; font-size: 14px; opacity: .95; }

/* ---------- מחשבון ---------- */
#calc.mk-section { position: relative; isolation: isolate; padding-bottom: 60px; margin-top: 64px; }
#calc.mk-section::before { content: ""; position: absolute; inset: 0 -100vmax; z-index: -1; background: var(--grad-dawn); }
.calc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-in, .calc-out { background: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 12px; }
.calc-in label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--soft); }
.calc-in input { font: inherit; font-size: 18px; font-weight: 600; color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%; }
.calc-in input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(14, 116, 144, .14); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-note { font-size: 13.5px; margin: 0; padding: 9px 12px; border-radius: 10px; }
.calc-note.ok { background: #e3f6ea; color: #157f3d; }
.calc-note.warn { background: #fff3d6; color: #7a5300; }
.calc-main { background: var(--grad-sea); color: #fff; border-radius: 16px; padding: 16px 18px; }
.calc-main span { font-size: 14px; opacity: .85; display: block; }
.calc-main b { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.calc-main small { display: block; opacity: .85; font-size: 13.5px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-grid div { background: var(--bg-soft); border-radius: 12px; padding: 10px 12px; }
.calc-grid span, .calc-cash span { display: block; font-size: 13px; color: var(--soft); }
.calc-grid b { font-size: 18px; }
.calc-cash { border: 2px dashed var(--amber); border-radius: 14px; padding: 12px 14px; }
.calc-cash b { font-size: 24px; font-weight: 800; color: var(--deep); }
.calc-cash small { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------- תגיות ---------- */
.prop-badge.hot { top: 12px; right: auto; left: 56px; background: var(--mint); }
.verified { display: inline-block; font-size: 11.5px; font-weight: 700; color: #157f3d; background: #e3f6ea; border-radius: 100px; padding: 1px 8px; vertical-align: middle; }
.verified.big { font-size: 14px; padding: 3px 12px; }
