html {
  scrollbar-gutter: stable;
}

body{
    margin: 0;
    font-family: 'Rubik', sans-serif;
    direction: rtl;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #fefefe;
    animation: pageLoad 0.6s ease-out;
}
@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}
header{
    width: 100%;
    animation: slideDown 0.5s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.top_header{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    height: 52px;
    padding: 0 5vw;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #b8b8b8;
    position: fixed;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.top_header_close {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #b8b8b8;
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}
.top_header_close:hover {
    opacity: 1;
    color: #fff;
}
.top_header_text{
    color: #b8b8b8;
}
.top_header .ahref_basic{
    color: #fff;
    text-decoration: none;
    text-underline-offset: 3px;
    text-decoration: underline;
    transition: color 0.25s ease;
}
.top_header .ahref_basic:hover{
    color: #f5e6d3;
}
.nav_container{
    display: flex;
    animation: slideDown 0.5s ease-out 0.05s both;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    box-sizing: border-box;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    height: 108px;
    border-bottom: 1px solid #e8e8e8;
    position: fixed;
    top: 52px;
    z-index: 4;
    box-shadow: 0 4px 12px rgba(14, 38, 67, 0.06);
    transition: top 0.25s ease;
}
body.top_header_closed .nav_container {
    top: 0;
}
body.top_header_closed .page_properties { padding-top: 108px; }
body.top_header_closed .page_about,
body.top_header_closed .page_links,
body.top_header_closed .page_contact,
body.top_header_closed .page_legal { padding-top: 108px; }
body.top_header_closed .card_page { padding-top: 140px; }
body.top_header_closed .header_container { margin-top: 6.75rem; }
.nav_logo{
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.25s ease;
}
.nav_logo:hover{
    opacity: 0.9;
}
.nav_logo img{
    height: 92px;
    width: auto;
    object-fit: contain;
}
.nav_links{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    flex: 1;
    justify-content: center;
}
.nav_links > li{
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 1.1rem;
    height: 108px;
    color: #313131 !important;
    transition: color 0.25s ease;
}
.nav_links > li::after{
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 3px;
    background: #902020;
    transform: scaleX(0);
    transition: transform 0.25s ease;
    pointer-events: none;
}
.nav_links > li:hover::after{
    transform: scaleX(1);
}
.nav_links > li > a{
    color: #313131 !important;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.25s ease;
}
.nav_links > li > a:hover{
    color: #902020 !important;
}
.nav_phone{
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #8f2121;
    font-size: 21px;
    font-weight: 600;
    text-decoration: none;
    padding: 0 0.5rem;
    transition: color 0.25s ease;
}
.nav_phone:hover{
    color: #902020;
    text-decoration: none;
}

.container{
    width: 100%;
    display: flex;

    justify-content: center;
    flex-wrap: wrap;
}

.burger_btn {
    display: none;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.burger_line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #313131;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s;
}
.burger_btn:hover .burger_line { background: #902020; }
.nav_mobile_open .burger_btn .burger_line { background: #902020; }
.nav_mobile_open .burger_line_1 {
    transform: translateY(8px) rotate(45deg);
}
.nav_mobile_open .burger_line_2 {
    opacity: 0;
}
.nav_mobile_open .burger_line_3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu overlay & panel */
.mobile_menu_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
.mobile_menu_overlay_open {
    opacity: 1;
    visibility: visible;
}
.mobile_menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 88vw);
    max-width: 300px;
    background: #fff;
    z-index: 1001;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.mobile_menu_open {
    transform: translateX(0);
}
.mobile_menu_close {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top));
    right: 1rem;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: #f0f2f5;
    color: #0e2643;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.mobile_menu_close:hover,
.mobile_menu_close:active {
    background: #e0e4e8;
    color: #902020;
}
.mobile_menu_close_icon {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
}
.mobile_menu_inner {
    padding: calc(env(safe-area-inset-top, 0px) + 4rem) 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.mobile_menu_link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}
.mobile_menu_link:hover,
.mobile_menu_link:active {
    background: #f5f5f5;
    color: #902020;
}
.mobile_menu_link_secondary {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.35rem;
}
.mobile_menu_phone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #0e2643 0%, #1a3a5c 100%);
    color: #fff !important;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.mobile_menu_phone:hover,
.mobile_menu_phone:active {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d4d7f 100%) !important;
    color: #fff !important;
}
.mobile_menu_phone svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.header_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.5rem 1.5rem;
    margin-top: 9.25rem;
    border-bottom: 1px solid rgba(14, 38, 67, 0.06);
    animation: heroFade 0.6s ease-out 0.1s both;
}
.header_container.home_hero {
    position: relative;
    padding: 3rem 2rem 3.5rem;
    background: linear-gradient(135deg, #0e2643 0%, #1a3a5c 35%, #2d4d7f 70%, #1a3a5c 100%);
    overflow: hidden;
}
.header_container.home_hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(144, 32, 32, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
    pointer-events: none;
}
.hero_bg_overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}
@keyframes heroFade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero_content {
    width: 100%;
    max-width: 720px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero_main_title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    animation: heroTitleFade 0.8s ease-out 0.2s both;
}
@keyframes heroTitleFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero_tagline {
    margin: 0 0 0.4rem 0;
    color: rgba(255,255,255,0.95);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 500;
    line-height: 1.6;
    animation: heroTitleFade 0.8s ease-out 0.3s both;
}
.hero_tagline strong {
    color: #fff;
    font-weight: 600;
}
.hero_sub {
    margin: 0 0 1.25rem 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    line-height: 1.6;
    animation: heroTitleFade 0.8s ease-out 0.35s both;
}
.hero_stats_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    animation: heroTitleFade 0.8s ease-out 0.4s both;
}
.hero_stat {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}
.hero_stat strong { color: #f5e6d3; }
.hero_stat_sep {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}
.hero_cta_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: heroTitleFade 0.8s ease-out 0.45s both;
}
.hero_phone_btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}
.hero_phone_btn svg { width: 20px; height: 20px; }
.hero_phone_btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}
.hero_cta_btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #902020 0%, #a82828 100%);
    color: #fff !important;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(144, 32, 32, 0.4);
    transition: all 0.25s ease;
}
.hero_cta_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(144, 32, 32, 0.5);
}
.hero_quick_links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    animation: heroTitleFade 0.8s ease-out 0.5s both;
}
.hero_quick_link {
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    transition: all 0.2s ease;
}
.hero_quick_link:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.hero_badge_wrap {
    display: flex;
    justify-content: center;
}
.hero_badge {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #0e2643;
    background: linear-gradient(135deg, rgba(14, 38, 67, 0.08) 0%, rgba(14, 38, 67, 0.04) 100%);
    border: 1px solid rgba(14, 38, 67, 0.12);
    border-radius: 24px;
}

/* ===== Home Featured Section (נכסים נבחרים) ===== */
.home_featured {
  width: 100%;
  padding: 2.5rem 5vw 4rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.home_featured_header {
  text-align: center;
  margin-bottom: 2rem;
}
.home_featured_header_inner {
  max-width: 680px;
  margin: 0 auto;
}
.home_featured_badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, #902020 0%, #a82828 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.home_featured_title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #0e2643;
  margin: 0 0 0.5rem 0;
}
.home_featured_sub {
  font-size: 1rem;
  color: #5a6d85;
  line-height: 1.6;
  margin: 0;
}
.home_featured_search {
  max-width: 720px;
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}
.home_search_box {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 12px rgba(14, 38, 67, 0.06);
}
.home_search_box .search_icon {
  font-size: 1.2rem;
  color: #0e2643;
  opacity: 0.5;
}
.home_search_input {
  flex: 1;
  min-width: 0;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  outline: none;
}
.home_search_count {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0e2643;
}
.home_featured_actions {
  display: flex;
  gap: 0.75rem;
}
.home_action_link {
  padding: 0.6rem 1.25rem;
  background: #fff;
  color: #0e2643;
  border: 1px solid #0e2643;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.home_action_link:hover {
  background: #0e2643;
  color: #fff;
}
.home_featured_main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.home_featured_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.75rem;
}
.home_featured_card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(14, 38, 67, 0.1);
  border: 1px solid #e8e8e8;
  transition: all 0.35s ease;
}
.home_featured_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(14, 38, 67, 0.15);
  border-color: rgba(144, 32, 32, 0.3);
}
.home_featured_card_link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.home_featured_card_image {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #f0f0f0;
}
.home_featured_card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.25s ease;
}
.home_featured_card_image img.slider_img_fade {
  opacity: 0;
}
.home_featured_card:hover .home_featured_card_image img {
  transform: scale(1.06);
}
.home_featured_card_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.home_featured_card_type {
  padding: 0.35rem 0.85rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
}
.home_featured_card_badge {
  padding: 0.35rem 0.85rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
}
.home_featured_card_featured {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
  color: #f8fafc;
  box-shadow: 0 2px 8px rgba(67, 56, 202, 0.4);
}
.home_featured_card_featured svg {
  width: 1.1rem;
  height: 1.1rem;
}
.home_featured_card_exclusive {
  background: linear-gradient(135deg, #902020 0%, #a82828 100%);
}
.home_featured_card_sold {
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, #2d5a27 0%, #3d7a35 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
}
.home_featured_card_slider {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  pointer-events: none;
}
.home_slider_btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #0e2643;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.home_slider_btn:hover {
  background: #fff;
  transform: scale(1.1);
}
.home_slider_btn svg { width: 20px; height: 20px; }
.home_featured_card_dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.home_slider_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s;
}
.home_slider_dot.active {
  background: #fff;
  box-shadow: 0 0 0 2px #0e2643;
}
.home_featured_card_body {
  padding: 1.5rem;
}
.home_featured_card_title_row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.home_featured_card_title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.home_featured_card_id {
  font-size: 0.85rem;
  color: #888;
  flex-shrink: 0;
}
.home_featured_card_meta {
  font-size: 0.9rem;
  color: #5a6d85;
  margin-bottom: 0.75rem;
}
.home_featured_card_meta span {
  margin-left: 0.5rem;
}
.home_featured_card_pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.home_featured_card_pills span {
  padding: 0.3rem 0.7rem;
  background: #f0f2f5;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0e2643;
  border-radius: 6px;
}
.home_featured_card_desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home_featured_card_price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #902020;
  margin-bottom: 0.5rem;
}
.home_featured_card_cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0e2643;
  display: inline-block;
  transition: transform 0.2s;
}
.home_featured_card:hover .home_featured_card_cta {
  transform: translateX(-4px);
}
.home_featured_empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 16px;
  border: 2px dashed #e0e0e0;
}
.home_empty_icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.home_featured_empty h3 {
  font-size: 1.25rem;
  color: #0e2643;
  margin: 0 0 0.5rem 0;
}
.home_featured_empty p {
  color: #5a6d85;
  margin: 0 0 1.5rem 0;
}
.home_empty_actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.home_skeleton .skeleton_image { height: 260px; }
@media (max-width: 600px) {
  body { overflow-x: hidden; }
  .home_featured { padding: 1.5rem 1rem 2.5rem; overflow-x: hidden; }
  .home_featured_grid { grid-template-columns: 1fr; }
  .home_featured_search {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .home_search_box {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 1rem;
    gap: 0.5rem;
  }
  .home_search_input {
    font-size: 0.95rem;
    min-width: 0;
  }
  .home_search_input::placeholder {
    font-size: 0.9rem;
  }
  .home_search_count { font-size: 0.85rem; }
}

/* ===== Card Page (עמוד נכס) ===== */
.card_page {
  width: 100%;
  padding-top: 192px;
  min-height: 100vh;
}
.card_layout {
  display: grid;
  grid-template-columns: 420px 1fr 320px;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw 2.5rem;
  align-items: start;
}
.card_description_top {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  border-inline-start: 4px solid #902020;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 20px rgba(14, 38, 67, 0.08);
}
.card_description_top h3 {
  font-size: 1.25rem;
  color: #0e2643;
  margin: 0 0 0.75rem 0;
  font-weight: 700;
}
.card_description_top p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
}
.card_col_gallery {
  position: sticky;
  top: 140px;
}
.card_hero_image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
  box-shadow: 0 8px 32px rgba(14, 38, 67, 0.12);
  cursor: zoom-in;
}
.card_hero_zoom_hint {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1.2rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.9;
}
.card_hero_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.card_hero_image img.slider_img_fade {
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
.card_hero_slider {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  pointer-events: none;
}
.card_slider_btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #0e2643;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.card_slider_btn:hover {
  background: #fff;
}
.card_slider_btn svg { width: 22px; height: 22px; }
.card_slider_prev { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.card_slider_next { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
.card_slider_prev:hover,
.card_slider_next:hover {
  transform: translateY(-50%) scale(1.08);
}
.card_hero_dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.card_slider_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s;
}
.card_slider_dot.active {
  background: #fff;
  box-shadow: 0 0 0 2px #0e2643;
}
.card_hero_badges {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}
.card_badge_type {
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
}
.card_badge_featured {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
  color: #f8fafc;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(67, 56, 202, 0.4);
}
.card_badge_featured svg {
  width: 1.25rem;
  height: 1.25rem;
}
.card_badge_exclusive {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #902020 0%, #a82828 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
}
.card_badge_sold {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #2d5a27 0%, #3d7a35 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
}
.card_hero_thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.card_hero_thumbs img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.card_hero_thumbs img:hover,
.card_hero_thumbs img.active {
  border-color: #902020;
  box-shadow: 0 2px 12px rgba(144, 32, 32, 0.3);
}

/* Card Lightbox */
.card_lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.92);
}
.card_lightbox_backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.card_lightbox_close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s;
}
.card_lightbox_close:hover {
  background: rgba(255,255,255,0.3);
}
.card_lightbox_prev,
.card_lightbox_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s;
}
.card_lightbox_prev { right: 1.5rem; }
.card_lightbox_next { left: 1.5rem; }
.card_lightbox_prev:hover,
.card_lightbox_next:hover {
  background: rgba(255,255,255,0.3);
}
.card_lightbox_prev svg,
.card_lightbox_next svg { width: 28px; height: 28px; }
.card_lightbox_img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  z-index: 5;
}
.card_lightbox_counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  z-index: 10;
}

.card_col_main { min-width: 0; }
.card_col_sidebar { min-width: 0; }
.card_header {
  margin-bottom: 1rem;
}
.card_title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0e2643;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}
.card_id {
  font-size: 0.95rem;
  color: #888;
}
.card_meta_row {
  font-size: 1rem;
  color: #5a6d85;
  margin-bottom: 1.5rem;
}
.card_meta_row span { margin-left: 0.5rem; }
.card_specs_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.card_spec {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}
.card_spec_label {
  display: block;
  font-size: 0.8rem;
  color: #5a6d85;
  margin-bottom: 0.25rem;
}
.card_spec_val {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0e2643;
}
.card_description h3 {
  font-size: 1.2rem;
  color: #0e2643;
  margin: 0 0 0.75rem 0;
}
.card_description p {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  margin: 0;
}
.card_price_block {
  background: linear-gradient(135deg, #0e2643 0%, #1a3a5c 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(14, 38, 67, 0.25);
}
.card_price {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}
.card_price_unit {
  font-size: 1rem;
  opacity: 0.9;
}
.card_price_alt {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
}
.card_cta_block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.card_cta svg { width: 22px; height: 22px; }
.card_cta_phone {
  background: #0e2643;
  color: #fff;
}
.card_cta_phone:hover { background: #1a3a5c; transform: translateY(-2px); }
.card_cta_whatsapp {
  background: #25D366;
  color: #fff;
}
.card_cta_whatsapp:hover { background: #20bd5a; transform: translateY(-2px); }
.card_cta_form {
  background: #fff;
  color: #902020;
  border: 2px solid #902020;
}
.card_cta_form:hover { background: #902020; color: #fff; transform: translateY(-2px); }
.card_agent {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
  text-align: center;
}
.card_agent_label {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.25rem;
}
.card_agent_name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0e2643;
}
.card_contact_popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.5);
}
.card_contact_overlay {
  position: absolute;
  inset: 0;
}
.card_contact_modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}
.card_contact_modal h3 {
  margin: 0 0 1.25rem 0;
  font-size: 1.25rem;
  color: #0e2643;
}
.card_contact_close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: #f0f0f0;
  border-radius: 8px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}
.card_contact_close:hover { background: #e0e0e0; }
.card_loading, .card_error {
  text-align: center;
  padding: 4rem 2rem;
}
.card_error a { color: #902020; font-weight: 600; }
@media (max-width: 1100px) {
  .card_layout { grid-template-columns: 1fr 300px; }
  .card_col_gallery { grid-column: 1 / -1; position: static; }
  .card_hero_image { max-height: 400px; aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
  .card_layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .card_col_sidebar { order: -1; }
  .card_hero_image { max-height: 320px; }
  .card_hero_thumbs img { width: 64px; height: 48px; }
}
@media (max-width: 600px) {
  .card_page { padding-top: 150px; }
  body.top_header_closed .card_page { padding-top: 98px; }
  .card_hero_image { max-height: 260px; }
}

.newStrip {
    background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
    width: 100%;
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.newStrip > img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(14, 38, 67, 0.08);
}
.main_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
/* ===== Property Cards - Modern Design ===== */
.properties_title {
    width: 100%;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: #0e2643;
    margin: 1rem 0 1rem 0;
}
.properties_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem 1.5rem;
}
.property_card {
    flex: 0 1 360px;
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(14, 38, 67, 0.08);
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.property_card:hover {
    box-shadow: 0 8px 30px rgba(14, 38, 67, 0.12);
}
.property_card_link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.property_card_image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}
.property_card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.25s ease;
}
.property_card_image img.slider_img_fade {
    opacity: 0;
}
.property_card:hover .property_card_image img {
    transform: scale(1.03);
}
.property_card_slider_controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    pointer-events: none;
}
.slider_btn {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #0e2643;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    flex-shrink: 0;
}
.slider_arrow {
    width: 20px;
    height: 20px;
    display: block;
}
.slider_btn:hover {
    background: #fff;
    color: #902020;
}
.slider_prev {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}
.slider_next {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}
.property_card_slider_dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.slider_dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    transition: background 0.2s, transform 0.2s;
}
.slider_dot.active {
    background: #fff;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 2px rgba(144, 32, 32, 0.8);
}
.property_card_badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    z-index: 5;
}
.badge_featured {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
    color: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(67, 56, 202, 0.45);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}
.badge_featured svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    display: block;
}
.badge_exclusive {
    background: #a5161b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
}
.badge_sold {
    background: #2d5a27;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
}
.property_card_type {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #fff;
    color: #265ba5;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.property_card_content {
    padding: 1.25rem;
}
.property_card_title_row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 0;
}
.property_card_title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0e2643;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}
.badge_id_inline {
    font-size: 12px;
    color: #6b6b6b;
    font-weight: 500;
    flex-shrink: 0;
}
.property_card_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.25rem;
    font-size: 13px;
    color: #6b6b6b;
}
.meta_item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.property_card_details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0.75rem 1.25rem;
}
.detail_pill {
    background: #f0f4f8;
    color: #0e2643;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}
.property_card_description {
    font-size: 13px;
    color: #4a4a4a;
    line-height: 1.5;
    padding: 0 1.25rem;
    margin-bottom: 1rem;
}
.description_label {
    font-weight: 700;
    color: #0e2643;
    margin-left: 4px;
}
.property_card_specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 1rem;
    padding: 0 1.25rem 1.75rem;
    font-size: 12px;
}
.spec_item {
    display: flex;
    justify-content: space-between;
    color: #4a4a4a;
}
.spec_label { color: #6b6b6b; }
.spec_val { color: #0e2643; font-weight: 500; }
.property_card_price {
    background: #0e2643;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem 1.25rem;
    margin-top: 0.5rem;
    transition: background 0.2s;
}
.property_card:hover .property_card_price {
    background: #902020;
}

.collection_cards {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.card_title{
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.oneCard_img{
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}
.card_row {
    width: 300px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    margin: 0.8rem;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all .5s;
    animation-name: hoverup;
    animation-duration: 1s;
}
.cardRowExclusive{
    width: 300px;
    display: flex;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    margin: 0.8rem;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all .5s;
    animation-name: hoverup;
    animation-duration: 1s;
}
.card_row:hover{
    box-shadow: 0px 0px 6px -2px black;
}
.exclisively_card_container {
    position: absolute;
    right: 0;
}
.exclisively_card {
    width: 100px;
    height: 30px;
    background-color: #a5161b;
    color: white;
    text-align: center;
    padding: 0.1rem;
    position: absolute;
    border-radius: 0px 10px 0px 5px;
    font-size: 18px;
    align-items: center;
    display: flex;
    justify-content: center;
}
.for_rentORsale {
    position: absolute;
    width: 10px;
}
.rendOrsale_card {
    height: 30px;
    width: 40px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #313131;
    color: #ffffff;
    border-radius: 10px 0px 5px 0px;
    position: absolute;
    right: 95px;
    font-size: 14px;
    align-items: center;
    display: flex;
    justify-content: flex-end;
}
.slideshow-container {
    margin: auto;
    width: 100%;
    height: 195px;
}
.mySlides {
    display: block;
    width: 100%;
    height: 100%;
}
.prev {
    width: 30px;
    padding: 6px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0.5rem;
    position: relative;
    top: -102px;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(0,0,0,0.8);
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}
.prev:hover, .next:hover {
    background-color: white;
    color: black;
}
.titleOneCard{
    width: 100%;
    color: #1a4279;
    margin: 0;
    padding: .5rem;
    display: flex;
    font-size: 22px;
    font-weight: bold;
}
.dscc_right {
    width: 100%;
    display: flex;
    height: auto;
    flex-wrap: wrap;
    margin-top: 0.2rem;
    align-items: center;
    justify-content: center;
}
.dscc_right_bottom{
    width: 100%;
    margin-top: 3.6rem;
    border-radius: 10px;
    background: whitesmoke;
    border: 2px solid #e0e0e0;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
    padding: 6px;
    color: white;
    margin: 0.5rem;
    width: 30px;
    justify-content: center;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    background-color: rgba(0,0,0,0.8);
    top: -140px;
    font-weight: bold;
    font-size: 18px;
    float: left;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}
#clickModalImage {
    width: 100%;
    height: 200px;
    transition: all .7s;
    border-radius: 10px 10px 0px 0px;
}
.cardType {
    position: relative;
    margin-top: -1.8rem;
    margin-right: 12.1rem;
    margin-bottom: -0.8rem;
    display: flex;
    width: 107px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background-color: #f5f5f5;
    color: #265ba5;
    border-radius: 0px 5px 0px 0px;
}
.cardType_span {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #1a4279;
}
.cardIcons {
    position: relative;
    top: 7px;
    right: 97px;
    margin: .1rem;
}
.cardIcons > a > img {
    margin: .2rem;
    opacity: .6;
    transition: all .5s;
}
.cardIcons > a > img:hover{
    opacity: 1;
}
h4 {
    width: 100%;
    color: #1a4279;
    margin-top: 0px;
    font-size: 18px;
    margin-right: 10px;
    margin-bottom: 5px;
}
.propertyType {
    width: 100%;
    font-size: 16px;
    margin-right: 10px;
    color: black;
    margin-bottom: 3px;
    text-align: right;
}
.propertyType > span {
    font-size: 16px;
    color: #a5161c;
}
#siteiscoming{
    text-align: center;
    font-size: 20px;
}
.house_description {
    margin-top: 0px;
    width: 255px;
    overflow-y: initial;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #6b6b6b;
}
.house_description_oneCard{
    margin-top: 0px;
    width: 100%;
    padding-right: .5rem;
    padding-left: .5rem;
    overflow-y: initial;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #6b6b6b;
}
.more_details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.details_li {
    list-style-type: none;
    font-size: 13px;
    margin: 1.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    width: 80px;
    background-color: #e8e8e8;
    padding: 1px;
}
.details_li > p {
    margin: 5px;
    text-align: center;
    font-size: 13px;
    color: #8f2121;
    width: 100%;
}
.price {
    margin-bottom: 10px;
    margin-top: 5px;
    color: #ffffff;
    width: 250px;
    font-size: 20px;
    border-radius: 3px;
    display: flex;
    height: 35px;
    align-items: center;
    transition: all .5s;
    text-decoration: none;
    justify-content: center;
    background-color: #717171;
    animation: example 2s infinite;
}
textarea{
    border: 0;
    background: transparent;
    width: 92%;
    outline: none;
    resize: none;
    overflow-y: scroll;
  }
  
.price:hover{
    color: #8f2121;
    font-weight: bold;
    background-color: #ffffff;
}
h2{
    width: 100%;
    margin: 0.5rem;
    margin-top: 0.5rem;
    text-align: center;
}
.titleobject{
    text-align: right;
}
/* Page loader - slim progress bar at top */
.page_loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    overflow: hidden;
    background: rgba(14, 38, 67, 0.08);
    animation: loaderFadeIn 0.25s ease-out;
}
@keyframes loaderFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.loader_bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, #0e2643, #902020);
    animation: loaderBar 1.2s ease-in-out infinite;
}
@keyframes loaderBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* Skeleton cards - property loading placeholder */
.properties_skeleton {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1rem 2rem;
}
.skeleton_card {
    flex: 0 1 360px;
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(14, 38, 67, 0.06);
}
.skeleton_image {
    width: 100%;
    height: 220px;
    background: linear-gradient(90deg, #e8ecf0 25%, #f0f3f6 50%, #e8ecf0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}
.skeleton_content {
    padding: 1.25rem;
}
.skeleton_line {
    height: 16px;
    background: linear-gradient(90deg, #e8ecf0 25%, #f0f3f6 50%, #e8ecf0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}
.skeleton_title {
    width: 85%;
    height: 20px;
}
.skeleton_meta {
    width: 60%;
    height: 14px;
}
.skeleton_desc {
    width: 100%;
    height: 12px;
}
.skeleton_desc.short {
    width: 70%;
}
.skeleton_pills {
    display: flex;
    gap: 8px;
    margin: 0.75rem 0;
}
.skeleton_pill {
    width: 50px;
    height: 24px;
    background: linear-gradient(90deg, #e8ecf0 25%, #f0f3f6 50%, #e8ecf0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 12px;
}
.skeleton_price {
    height: 28px;
    width: 120px;
    background: linear-gradient(90deg, #0e2643 25%, #1a3a5c 50%, #0e2643 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.8s ease-in-out infinite;
    border-radius: 6px;
    margin-top: 1rem;
}
@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Content load animation - fade in when data appears */
.content_load {
    animation: contentFadeIn 0.5s ease-out;
}
@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Footer - SEO-optimized, multi-column layout */
.site_footer,
footer {
    margin-top: 3rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 15px;
    font-family: 'Rubik', sans-serif;
    background: linear-gradient(180deg, #0e2643 0%, #071428 100%);
    color: #e8e8e8;
    box-shadow: 0 -6px 30px rgba(0,0,0,0.4);
    animation: footerFade 0.5s ease-out;
}
@keyframes footerFade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.footer_top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    align-items: start;
}
.footer_col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer_brand_col {
    gap: 1.25rem;
}
.footer_brand {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.footer_logo_text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.footer_since {
    font-size: 0.85rem;
    color: #a7c4e8;
}
.footer_tagline {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #c8d4e8;
    max-width: 380px;
}
.footer_contact_block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.footer_phone {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.footer_phone:hover {
    color: #902020;
}
.footer_cta {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}
.footer_social {
    margin-top: 0.4rem;
}
.footer_social img {
    opacity: 0.9;
    transition: opacity 0.2s;
}
.footer_social:hover img {
    opacity: 1;
}
.footer_heading {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #902020;
    width: fit-content;
}
.footer_links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer_links li {
    margin-bottom: 0.5rem;
}
.footer_links a {
    color: #b8c8e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s, padding-right 0.2s;
}
.footer_links a:hover {
    color: #902020;
    padding-right: 4px;
}
.footer_bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
}
.footer_copyright,
.footer_credit,
.footer_legal,
.footer_admin {
    font-size: 0.85rem;
    color: #a7a7a7;
    text-decoration: none;
    transition: color 0.2s;
}
.footer_copyright:hover,
.footer_credit:hover,
.footer_legal:hover,
.footer_admin:hover {
    color: #fff;
}
.footer_sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.7rem;
}
@media (max-width: 900px) {
    .footer_top {
        grid-template-columns: 1fr 1fr;
        padding: 2.5rem 1.5rem;
    }
    .footer_brand_col {
        grid-column: 1 / -1;
        text-align: center;
    }
    .footer_tagline {
        max-width: none;
        text-align: center;
    }
    .footer_contact_block {
        justify-content: center;
    }
    .footer_social {
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .site_footer {
        margin-top: 1.5rem;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .footer_top {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 1rem 0.75rem;
    }
    .footer_brand_col {
        grid-column: 1;
        text-align: center;
        gap: 0.5rem;
    }
    .footer_logo_text { font-size: 1.15rem; }
    .footer_since { font-size: 0.75rem; }
    .footer_tagline {
        font-size: 0.8rem;
        line-height: 1.45;
        max-width: none;
    }
    .footer_contact_block {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    .footer_phone {
        font-size: 1rem;
        padding: 0;
    }
    .footer_cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .footer_social { margin-top: 0.25rem; }
    .footer_social img { width: 26px; height: 26px; }
    .footer_nav_col,
    .footer_props_col {
        text-align: center;
    }
    .footer_links_row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 0.75rem;
        max-width: 280px;
        margin: 0 auto;
    }
    .footer_nav_col,
    .footer_props_col {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }
    .footer_heading {
        margin: 0 auto 0.25rem;
        font-size: 0.85rem;
    }
    .footer_links {
        text-align: right;
    }
    .footer_links li {
        margin-bottom: 0.2rem;
    }
    .footer_links a {
        font-size: 0.8rem;
        padding: 0.2rem 0;
        min-height: auto;
    }
    .footer_bottom {
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
        text-align: center;
    }
    .footer_copyright,
    .footer_credit,
    .footer_legal,
    .footer_admin {
        font-size: 0.75rem;
    }
    .footer_sep { display: none; }
}
.about_container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.about {
    line-height: 2.0;
    color: #2d4d7f;
    display: flex;
    background: white;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 17px;
    width: 80%;
    border-radius: 12px;
    margin: 0.5rem;
    text-align: center;
    box-shadow: 1px 1px 10px #e6e6e6;
}
.back_ToPage {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}
.back_ToPage > a {
    margin: .5rem;
    color: black;
}
.links {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}
.linkBox {
    width: 150px;
    display: flex;
    color: #0d1f38;
    font-size: 15px;
    border-radius: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    height: 100px;
    border: 2px solid #d8d8d8;
    background: #f6f6f6;
    cursor: pointer;
    transition: all .7s;
}
.linkBox > a {
    text-align: center;
    text-decoration: none;
    color: #0d1f38;
}
.linkBox > a {
    text-align: center;
    text-decoration: none;
    color: #0d1f38;
}
.linkBox:hover {
    background: #e3e3e3;
    color: #bf2328;
    text-decoration: underline;
}
.contact_container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.contact_inforamtion {
    margin: 1rem;
    width: 300px;
    background-color: #f3f3f3;
    border-radius: 12px;
    color: black;
    padding: 1rem;
    display: flex;
    align-items: baseline;
}
.contact_inforamtion_form {
    margin: 1rem;
    width: 300px;
    border-radius: 12px;
    color: black;
    padding: 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #f7f7f7;
}
#H4Fix {
    width: 100%;
    justify-content: center;
    display: flex;
    color: #902020;
    font-size: 22px;
}
iframe {
    margin-top: 2rem;
    width: 100%;
    border: 0;
}
.form_contactPage{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: .5rem;
}
.input_style{
    width: 80%;
    margin: .3rem;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 12px;
    transition: all .2s;
    outline: 0;
}
.input_style:hover{
    box-shadow: 0px 0px 4px -2px black;
}
#submit-button{
    width: 85%;
    margin: .3rem;
    outline: 0;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
}
#submit-buttonPopUp{
    width: 85%;
    margin: .3rem;
    outline: 0;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
}
#submit-button:hover{
    background-color: #265ba5;
    color: whitesmoke;
}
#submit-buttonPopUp:hover{
    background-color: #265ba5;
    color: whitesmoke;
}
.input_textArea{
    width: 80%;
    margin: .3rem;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 12px;
    transition: all .2s;
}
/* Floating CTA - הערכת שווי נכס */
.floating_cta {
    position: fixed;
    bottom: 0;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: floatingCtaSlide 0.4s ease-out;
}
@keyframes floatingCtaSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.floating_cta_btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #0e2643 0%, #1a3a5c 100%);
    color: #fff;
    border: none;
    border-radius: 12px 12px 0 0;
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 -4px 20px rgba(14, 38, 67, 0.35);
    transition: all 0.25s ease;
}
.floating_cta_btn:hover {
    background: linear-gradient(135deg, #902020 0%, #a82828 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 -6px 24px rgba(144, 32, 32, 0.4);
}
.floating_cta_btn:focus {
    outline: 2px solid #902020;
    outline-offset: 2px;
}
.floating_cta_icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}
.floating_cta_close {
    width: 28px;
    height: 28px;
    padding: 0;
    background: #e8ecf0;
    border: none;
    border-radius: 8px 8px 0 0;
    font-size: 1.25rem;
    line-height: 1;
    color: #5a6d85;
    cursor: pointer;
    transition: all 0.2s;
}
.floating_cta_close:hover {
    background: #d0d6dc;
    color: #0e2643;
}

/* Reusable Modal Component */
.modal_overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: opacity 0.3s ease;
}
.modal_backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 38, 67, 0.5);
    backdrop-filter: blur(4px);
}
.modal_dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(14, 38, 67, 0.2);
    animation: modalSlide 0.35s ease-out;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal_header {
    position: relative;
    flex-shrink: 0;
    min-width: 0;
    width: 100%;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    border-bottom: 1px solid #e8ecf0;
    box-sizing: border-box;
}
.modal_title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0e2643;
    text-align: center;
    max-width: calc(100% - 5rem);
}
.modal_close {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: #f5f7fa;
    border: none;
    border-radius: 50%;
    color: #5a6d85;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    z-index: 10;
}
.modal_close:hover {
    background: #e8ecf0;
    color: #0e2643;
}
.modal_close:hover .modal_close_icon {
    transform: rotate(90deg);
}
.modal_close_icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}
.modal_body {
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
}
.modal_intro {
    margin: 0 0 1.25rem 0;
    font-size: 0.95rem;
    color: #5a6d85;
    line-height: 1.6;
}
.modal_property_info {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
    border: 1px solid #e8ecf0;
    border-inline-start: 4px solid #902020;
    border-radius: 12px;
}
.modal_property_thumb {
    width: 72px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #e8ecf0;
}
.modal_property_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal_property_details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.modal_property_label {
    font-size: 0.75rem;
    color: #902020;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.modal_property_title {
    font-size: 0.95rem;
    color: #0e2643;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.modal_property_price {
    font-size: 0.9rem;
    color: #5a6d85;
    font-weight: 600;
}
.modal_property_price_alt {
    color: #0e2643;
    font-style: italic;
}
.modal_form .form_group {
    margin-bottom: 1rem;
}
.modal_form .form_group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d4d7f;
}
.modal_form .form_group .required {
    color: #902020;
}
.modal_form .form_group input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    text-align: right;
    direction: rtl;
    font-family: 'Rubik', sans-serif;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.modal_form .form_group input:focus {
    outline: none;
    border-color: #0e2643;
    box-shadow: 0 0 0 2px rgba(14, 38, 67, 0.1);
}
.modal_form .form_actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}
.modal_form .form_actions .btn {
    min-width: 140px;
}

/* Modular Button - שימוש חוזר בכל האתר */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.65rem 1.25rem;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.btn_primary {
    background: linear-gradient(135deg, #0e2643 0%, #1a3a5c 100%);
    color: #fff !important;
}
.btn_primary:hover {
    background: linear-gradient(135deg, #902020 0%, #a82828 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(144, 32, 32, 0.35);
}
.btn_block {
    width: 100%;
}
.modal_form .form_response {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 0.5rem;
    animation: formMsgFade 0.3s ease-out;
}
@keyframes formMsgFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.form_response_success {
    background: rgba(14, 38, 67, 0.08);
    color: #0e2643;
    border: 1px solid rgba(14, 38, 67, 0.2);
}
.form_response_error {
    background: rgba(144, 32, 32, 0.08);
    color: #902020;
    border: 1px solid rgba(144, 32, 32, 0.25);
}
.form_response_icon {
    font-weight: 700;
    font-size: 1.1rem;
}
.form_group_error input {
    border-color: #902020 !important;
    box-shadow: 0 0 0 2px rgba(144, 32, 32, 0.15);
}
.form_group_success input {
    border-color: #0e2643 !important;
}
.form_error_msg {
    display: block;
    font-size: 0.8rem;
    color: #902020;
    margin-top: 0.35rem;
    animation: formMsgFade 0.3s ease-out;
}
.form_contactPage .form_group {
    margin-bottom: 1rem;
}
.form_contactPage .form_response {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: none;
}
.form_contactPage .form_group_error .input_style,
.form_contactPage .form_group_error .input_textArea,
.form_contactPage .form_group_error select {
    border-color: #902020 !important;
}
@media (max-width: 480px) {
    .floating_cta {
        right: 0.75rem;
    }
    .floating_cta_btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .floating_cta_text {
        max-width: 140px;
    }
    .modal_dialog {
        max-height: 85vh;
    }
}
#RequiredField{
    color: red;
    position: absolute;
    top: 5px;
    right: 10px;
}
.dropdown-content > li:hover{
    border-right: 2px solid #0d1e38;
}
.search_wrapper {
    width: 100%;
    margin: 0.75rem auto 0.5rem;
}
.search_container{
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    position: relative;
}
.search_icon {
    font-size: 1.2rem;
    color: #0e2643;
    opacity: 0.5;
    flex-shrink: 0;
}
.search_input{
    flex: 1;
    min-width: 0;
    padding: 0.7rem 1rem;
    font-size: 14px;
    font-family: 'Rubik', sans-serif;
    color: #313131;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: right;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.search_input::placeholder{
    color: #8a8a8a;
}
.search_input:focus{
    outline: none;
    border-color: #0e2643;
    box-shadow: 0 0 0 3px rgba(14, 38, 67, 0.08);
}
.search_result_count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0e2643;
    white-space: nowrap;
    animation: countFade 0.3s ease-out;
}
@keyframes countFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@media (max-width: 500px) {
    .search_container {
        flex-wrap: wrap;
    }
    .search_result_count {
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }
}
/* Empty state - no search results */
.search_empty_state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    animation: emptyStateFade 0.5s ease-out;
}
@keyframes emptyStateFade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.empty_state_icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    animation: emptyStateBounce 2s ease-in-out infinite;
}
@keyframes emptyStateBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.empty_state_title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d4d7f;
    margin: 0 0 0.5rem 0;
}
.empty_state_text {
    font-size: 0.95rem;
    color: #6a7a8f;
    max-width: 420px;
    margin: 0 0 1.25rem 0;
    line-height: 1.6;
}
.empty_state_text a {
    color: #0e2643;
    text-decoration: underline;
    font-weight: 500;
}
.empty_state_text a:hover {
    color: #902020;
}
.empty_state_cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}
#wazeContainer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}
#wazeContainer > small{
    width: 100%;
    text-align: center;
}
#wazeLogo{
    display: flex;
    justify-content: center;
    cursor: pointer;

}
.ADD{
    width: 100%;
    border-radius: 12px;
    color: black;
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #ffffff;
}
.addCardConatiner{
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}
#admin_small{
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}
#newCardBtn{
    width: 85%;
    margin: .3rem;
    outline: 0;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
}
#newCardBtn:hover{
    background-color: #265ba5;
    color: whitesmoke;
}
.section {
    width: 40%;
    border-radius: 5px;
    background: #f5f5f5;
    font-size: 20px;
    font-weight: bold;
    padding: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    margin: 1rem;
}
.sectionUpload{
    width: 100%;
    border-radius: 5px;
    background: #f5f5f5;
    font-size: 20px;
    font-weight: bold;
    padding: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    margin: 1rem;
}
.sectionUpload > label {
    width: 100%;
    color: #902020;
    padding-right: .5rem;
}
.sectionUpload > form > input {
    width: 100%;
    margin: .3rem;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 12px;
    transition: all .2s;
    outline: 0;
}
.section:hover{
    /* box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.2); */
}
.section > label {
    width: 100%;
    color: #902020;
    padding-right: .5rem;
}
.section > input {
    width: 100%;
    margin: .3rem;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 12px;
    transition: all .2s;
    outline: 0;
}
.section > select {
    width: 80%;
    padding-right: .5rem;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 12px;
    margin: 0.4rem;
    height: 25px;
    margin-right: .5rem;
    background: white;
    transition: all .2s;
    outline: 0;
}
.section > small {
    width: 100%;
    display: flex;
    padding-right: .5rem;
    color: #9c9c9c;
    font-size: 12px;
}
.section > textarea {
    width: 350px;
    margin: .3rem;
    padding: 0.4rem;
    color: black;
    background: white;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 14px;
    transition: all .2s;
}
.popUpLogin{
    width: 380px;
    background: white;
    display: none;
    border-radius: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
/* Login page */
.login_container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 2rem;
}
.login_card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(14, 38, 67, 0.12);
    padding: 2rem;
}
.login_title {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0e2643;
    text-align: center;
}
.login_subtitle {
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
    color: #5a6d85;
    text-align: center;
}
.login_form .form_group {
    margin-bottom: 1rem;
}
.login_form .form_group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d4d7f;
}
.login_form .form_group input {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-family: 'Rubik', sans-serif;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: right;
    direction: rtl;
    box-sizing: border-box;
}
.login_form .form_group input:focus {
    outline: none;
    border-color: #0e2643;
}
.login_form .form_response {
    margin: 1rem 0;
}
.login_form .btn {
    margin-top: 0.5rem;
}
.login_back {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #5a6d85;
    text-decoration: none;
}
.login_back:hover {
    color: #0e2643;
}
#loginBtnValidate{
    width: 85%;
    margin: .3rem;
    outline: 0;
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
}
#loginBtnValidate:hover {
    background-color: #265ba5;
    color: whitesmoke;
}
.allProperty {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.tableCardsView {
    width: 100%;
    display: none;
    justify-content: center;
    flex-wrap: wrap;
}
.allProperty > table {
    width: 90%;
    animation-name: hoverupRowAdmin;
    animation-duration: 1s;
}
.tableCardsView > table {
    width: 90%;
    animation-name: hoverupRowAdmin;
    animation-duration: 1s;
}
@-webkit-keyframes hoverupRowAdmin {
  from {opacity: 0;}
  to {opacity: 10;}
}
.allProperty > table > tbody > tr > th {
    border-bottom: 1px solid #d7d7d7;
    height: 40px;
    font-size: 12px;
    background: #d7d7d7;
}
#tableViewImage{
    width: 100px;
    height: 65px;
}
#tableViewExclusive{
    background-color: #a5161b;
    padding: 0.3rem;
    border-radius: 4px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
#tableViewPrice{
    background-color: #0b1d37;
    height: 100%;
    padding: 0.3rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.allProperty > table > tbody > tr > td {
    border-bottom: 1px solid #d7d7d7;
    height: 40px;
    font-weight: 100;
    text-align: center;
    font-size: 12px;
    background: white;
}
.tableCardsView > table > tbody > tr > th {
    border-bottom: 1px solid #d7d7d7;
    height: 40px;
    font-size: 12px;
    background: #d7d7d7;
}
.tableCardsView > table > tbody > tr > td {
    border-bottom: 2px solid #f6f6f6;
    height: 40px;
    font-weight: 100;
    text-align: center;
    font-size: 12px;
    background: white;
}
#searchAdminInput {
    width: 250px;
    height: 30px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #d7d7d7;
    margin: 1rem;
}
.rowProperty_Admin{

}
.rowProperty_Admin:hover {
    cursor: pointer;
    background: black;
}
#linkEdit{
    color: blue;
}
#linkEdit:hover{
    color: #992e34;
    font-weight: bold;
}
.admin_options {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.admin_options > a {
    text-decoration: none;
    margin: .5rem;
    margin-top: 0;
    width: 50%;
}
.admin_options > a > span {
    height: 70px;
    font-size: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0f2543;
    background-color: #d7d7d7;
    transition: all .7s;
    cursor: pointer;
}
.admin_options > a > span:hover {
    color: #000000;
    background-color: #b6b5b5;
}
.admin_logout {
    margin-top: 2rem;
    text-align: center;
}
.admin_logout a {
    color: #777;
    font-size: 0.9rem;
    text-decoration: none;
}
.admin_logout a:hover {
    color: #902020;
    text-decoration: underline;
}
.backToAdmin{
    width: 100%;
    display: flex;
    justify-content: center;
}
.backToAdmin > a{
    color: black !important;
}
.backToAdmin > a:hover{
    color: #921015 !important;
}
.displaySpecificCard_Conatiner{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.dscc{
    width: 800px;
    padding: 2rem;
    padding-top: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-radius: 5px;
    background: white;
    align-items: flex-start;
}

#dscc_id{
    width: 100%;
    text-align: right;

}
#dscc_close{
    width: 50px;
    height: 50px;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 35px;
    transition: all .2s;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#dscc_close:hover{
    font-weight: bold;
}
#dscc_header{
    display: flex;
    flex-wrap: wrap;
    width: 100%;

}
#dscc_header_right{
    display: flex;
    width: 65%;
    padding: 1rem;
}
#dscc_header_right_img{
    width: 100%;
    display: flex;
    background-size: cover;
    height: 400px;
    border-radius: 5px;
}
.rooms_Container{
    width: 70px;
    height: auto;
    margin: 0.3rem;
    padding: 10px;
    background: #ffffffe0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.addCard_TitleCard{
    width: 100px;
    height: auto;
    margin: 0.3rem;
    padding: 10px;
    background: #0e1f38d9;
    color: white;
    display: flex;
    font-size: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.oneCard_Properys{
    position: absolute;
    width: 102px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    left: 0;
    transition: all .2s;
}
.oneCard_imgArray{
    width: 100%;
    height: auto;
    padding: 0.4rem;
    background: #e9e9e9;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0px 0px 10px 10px;
    justify-content: center;
    align-items: center;
}
.oneCard_imgArray > img{
    width: 80px;
    margin: .5rem;
    border: 1px solid white;
    cursor: pointer;
    opacity: .6;
    transition: all .2s;
}
.oneCard_imgArray > img:hover{
    opacity: 1;
}
.oneCard_Type{
    display: flex;
    justify-content: center;
    width: 100%;
    background: #e9e9e9;
    padding: 0.5rem;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0px 0px 10px 10px;
    color: #a5161c;
}
.oneCard_Description{
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    margin: .5rem 0rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #e9e9e9;
    font-size: 16px;
    transition: all .2s;
}
.oneCard_Description > span{
    display: flex;
    width: auto;
    align-items: center;
    font-size: 16px;
    margin-left: .2rem;
    font-weight: bold;
    color: #1a53a7;
}
.oneCard_zoneBox{
    width: 100% !important;
    font-size: 12px !important;
}
.oneCard_Zone{
    width: 150px;
    padding: 1rem;
    border-radius: 10px;
    margin: .5rem;
    margin-right: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #e9e9e9;
    font-size: 12px;
}
.oneCard_Zone > span{
    display: flex;
    width: 100%;
    font-weight: bold;
    color: #0e1f38;
}
.rooms_Container > span{
    width: 100%;
    text-align: center;
    font-size: 30px;
}
.reSize_Container:hover{
    background: #ffffff;

}
#oneCard_MainImage{
    transition: all .2s;
    height: 400px;
}
.oneCard_id{
        width: 100px;
        height: 30px;
        background-color: #313131;
        color: white;
        text-align: center;
        padding: 0.1rem;
        border-radius: 10px 10px 0px 0px;
        font-size: 12px;
        align-items: center;
        display: flex;
        justify-content: center;
}
.oneCard_PropertysContainer{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
#oneCard_call{
    padding: 0.5rem;
    border-radius: 10px;
    width: auto;
    font-size: 12px;
    height: 20px;
    margin-right: .5rem;
    font-weight: bold;
    transition: all .2s;
    background: #e9e9e9;
    
}
.oneCard_ContactPopUp{
    width: 100%;
    height: 100vh;
    display: none;
    background: #ffffff;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    transition: all .2s;
}
#oneCard_CloseContactForm{
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 15px;
    cursor: pointer;
}
#oneCard_call:hover{
    background: white;
    cursor: pointer;
    border: 2px solid #0f2038;
}
#oneCard_call > a{
    color: #0e1f38;
}

.oneCard_PropertyObj{
    width: 70px;
    height: 50px;
    display: flex;
    margin-left: .5rem;
    margin-top: .5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #e9e9e9;
    border-radius: 10px;
}
.oneCard_POtitle{
    width: 100%;
    display: flex;
    font-size: 13px;
    justify-content: center;
    color: #1a53a7;
}
.oneCard_POresulat{
    width: 100%;
    display: flex;
    font-size: 12px;
    justify-content: center;
}
#oneCard_priceText{
    padding: 0.5rem;
    border-radius: 10px;
    width: auto;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    background: #0e1f38;
}
.oneCard_TitleCard{
    display: flex;
    position: absolute;
    right: 0;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #0e1f38;
    border-radius: 0px 0px 0px 10px;
    background: #efefeff0;
    padding: 0.5rem;
}
#dscc_header_left{
    display: flex;
    width: 25%;
    height: 100%;
    padding-right: .5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.oneCard_exclusive{
    width: 100px;
    height: 30px;
    background-color: #a5161b;
    color: white;
    text-align: center;
    padding: 0.1rem;
    border-radius: 10px 10px 0px 0px;
    font-size: 18px;
    align-items: center;
    display: flex;
    justify-content: center;
}
#dscc_header_title{
    width: 100%;
    display: flex;
    font-size: 20px;
    font-weight: bold;
    justify-content: right;
    color: #1a4279;

}
#dscc_header_zone{
    width: 100%;
    display: flex;
    padding-top: .3rem;
    font-size: 16px;
    justify-content: right;
    color: black;
}
#dscc_header_zone_obj{
    color: #a5161c;
}
#dscc_main{
    display: flex;
    flex-wrap: wrap;
    width: 300px;
    justify-content: center;

}
#dscc_adv{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #ececec;
    height: 50px;
    width: 100%;
}
#dscc_description{
    padding-top: .5rem;
    width: 70%;
}
#dscc_description_title{
    width: 100%;
    display: flex;
    margin: .5rem;
    font-size: 20px;
    font-weight: bold;
    justify-content: right;
    color: #1a4279;
}
#dscc_description_description{
    margin: .5rem;
    font-size: 14px;
}

#dscc_header_propertyType {
    width: 100%;
    padding-top: .3rem;
    display: flex;
    font-size: 16px;
    justify-content: right;
    color: black;
}
#dscc_header_price{
    padding: 0.7rem;
    font-size: 20px;
    border-radius: 6px;
    margin: 1rem;
    font-weight: bold;
    color: #931116;
    border: 1px solid #ececec;
    background: linear-gradient(45deg, #ececec, transparent);
    align-items: center;
    width: 100%;
    display: flex;
    justify-content: center;
}
#dscc_moredetails{
    width: 270px;
}
#dscc_header_icons{
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 1rem;
}
#lightSlider {
    list-style: none outside none;
    padding-left: 0;
    margin-bottom:0;
}
#lightSlider > li {
    display: block;
    float: left;
    margin-right: 6px;
    cursor:pointer;
}
#lightSlider > li > .img {
    display: block;
    height: auto;
    max-width: 100%;
}
#about_p{
    width: 70%;
    padding: 2rem;
    font-size: 19px;
    display: flex;
    justify-content: center;
    font-weight: bold;
    color: white;
    background: #0c1d38;
    border-radius: 6px;
}
.about > a {
    width: 100%;
    margin: 1rem;
}
#about_aherf{
    margin: 0;
    margin-bottom: 1rem;
    color: black;
}
.officeStaff_Container{
    width: 100%;
    display: flex;
    justify-content: center;

}







@media screen and (max-width: 900px) {
    .nav_container {
        font-size: 12px;
    }
}




@media screen and (max-width: 800px) {
.top_header {
    padding: 0 0.75rem;
    height: 36px;
    font-size: 0.65rem;
}
.top_header_text {
    text-align: center;
    line-height: 1.3;
    padding: 0 1.75rem;
}
.top_header_text .ahref_basic { font-size: 0.7rem; }
.top_header_close {
    right: 0.5rem;
    padding: 0.25rem;
    font-size: 0.9rem;
}
.nav_container {
    top: 36px;
    height: 80px;
    padding: 0 1rem;
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-left: max(1rem, env(safe-area-inset-left));
}
body.top_header_closed .nav_container { top: 0; }
.nav_links > li { height: 80px; }
.nav_logo img {
    height: 68px;
}
.burger_btn {
    display: flex;
}
.mobile_menu_overlay,
.mobile_menu {
    display: block;
}
.header_container {
    margin-top: 7.25rem;
}
body.top_header_closed .header_container {
    margin-top: 5rem;
}
.site_footer { padding-bottom: env(safe-area-inset-bottom); }
.about{
    line-height: 1.6;
    color: #2d4d7f;
    text-align: right;
    margin: 0;
    display: flex;
    background: white;
    flex-wrap: wrap;
    padding: 1rem;
    font-size: 14px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 1px 1px 10px #e6e6e6;
}
#about_p{
    font-size: 14px;
}
.about > a {
    text-align: center;
}
.nav_container {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}
#oneCard_MainImage{
    height: 150px;
}
.nav_links {
    display: none;
}
.nav_phone {
    display: none;
}
.home_featured_actions {
    display: none;
}
body.top_header_closed .page_properties,
body.top_header_closed .page_about,
body.top_header_closed .page_links,
body.top_header_closed .page_contact,
body.top_header_closed .page_legal { padding-top: 80px; }
body.top_header_closed .card_page { padding-top: 96px; }
.page_properties, .page_about, .page_links, .page_contact, .page_legal { padding-top: 116px; }
.card_page { padding-top: 120px; }
.header_container {
    padding: 1rem;
}
.header_container.home_hero {
    padding: 1.5rem 1rem 2rem;
}
.hero_tagline {
    font-size: 14px;
}
.hero_sub {
    font-size: 12px;
}
.home_hero .hero_cta_row {
    flex-direction: column;
}
.home_hero .hero_quick_links {
    gap: 0.5rem;
}
.hero_badge {
    font-size: 10px;
    letter-spacing: 0.08em;
}
.ADD{
    width: 100%;
}
#dscc_header_right{
    display: flex;
    width: 100%;
    height: 300px;
}
#dscc_header_left{
    display: flex;
    width: 100%;
}
.dscc_right{
    width: 90%;
}
.dscc{
    width: 90%;
}
.rooms_Container{
    display: none;
}
.oneCard_TitleCard{
    font-size: 12px;;
}
.slideshow-container{
    height: 190px;
}
#clickModalImage{
    height: 200px !important;
}
.oneCard_imgArray > img{
    width: 120px;
}
.admin_options{
    width: 100%;
}
#title_form {
    width: 100%;
    text-align: center;
    color: #992e34;
    margin: 0.8rem;
    margin-right: 3rem;
}
.section{
    width: 90%;
}
.properties_grid {
    padding: 0 1rem 2rem;
}
.property_card {
    flex: 1 1 100%;
    min-width: 0;
}
.property_card_image {
    height: 200px;
}

}

@media screen and (max-width: 480px) {
  .top_header { height: 32px; font-size: 0.6rem; }
  .top_header_text .ahref_basic { font-size: 0.65rem; }
  .nav_container { top: 32px; height: 72px; }
  body.top_header_closed .nav_container { top: 0; }
  .nav_logo img { height: 62px; }
  .burger_btn { width: 44px; height: 44px; }
  .burger_line { width: 22px; }
  .mobile_menu { width: min(280px, 88vw); }
  .mobile_menu_inner { padding-top: calc(env(safe-area-inset-top, 0px) + 3.75rem); gap: 0.1rem; }
  .mobile_menu_link { padding: 0.7rem 1rem; min-height: 42px; font-size: 0.98rem; }
  .mobile_menu_link_secondary { font-size: 0.88rem; margin-top: 0.25rem; }
  .mobile_menu_phone { margin-top: 0.75rem; padding: 0.75rem 1rem; font-size: 1.1rem; }
  .header_container { margin-top: 6.5rem; }
  body.top_header_closed .header_container { margin-top: 4.5rem; }
  .page_properties, .page_about, .page_links, .page_contact, .page_legal { padding-top: 104px; }
  body.top_header_closed .page_properties,
  body.top_header_closed .page_about,
  body.top_header_closed .page_links,
  body.top_header_closed .page_contact,
  body.top_header_closed .page_legal { padding-top: 72px; }
  /* home_search_box: compact on very narrow screens */
  .home_featured { padding: 1.25rem 0.75rem 2rem; }
  .home_featured_search { flex-direction: column; }
  .home_search_box { padding: 0.6rem 0.85rem; gap: 0.4rem; }
  .home_search_input { font-size: 0.9rem; }
  .home_search_input::placeholder { font-size: 0.85rem; }
  .cookie_consent { padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom)); }
  .cookie_consent_text { font-size: 0.8rem; }
  .cookie_consent_btn { padding: 0.55rem 1rem; font-size: 0.85rem; }
  /* Footer: ultra-compact on small phones */
  .site_footer { margin-top: 1rem; }
  .footer_top { padding: 0.75rem 0.75rem 0.5rem; gap: 0.5rem; }
  .footer_logo_text { font-size: 1rem; }
  .footer_since { font-size: 0.7rem; }
  .footer_tagline { font-size: 0.75rem; }
  .footer_links_row { max-width: 260px; gap: 0 0.5rem; }
  .footer_heading { font-size: 0.8rem; margin-bottom: 0.15rem; }
  .footer_links a { font-size: 0.75rem; }
  .footer_bottom { padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom)); gap: 0.25rem; }
  .footer_copyright, .footer_credit, .footer_legal, .footer_admin { font-size: 0.7rem; }
}

/* ========== Property pages: ForSale, ForRent, Commercial, Projects ========== */
.page_properties {
  width: 100%;
  padding-top: 160px;
  min-height: 100vh;
  animation: pageLoad 0.5s ease-out;
}

.props_hero {
  width: 100%;
  padding: 2.5rem 5vw 2rem;
  background: linear-gradient(135deg, #0e2643 0%, #1a3a5c 50%, #2d4d7f 100%);
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.props_hero_inner {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.props_title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.props_subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
}

.props_search_wrap {
  width: 100%;
  padding: 1rem 5vw 0.5rem;
  display: flex;
  justify-content: center;
}

.props_search_wrap .search_container {
  margin: 0;
}

.page_properties .main_container {
  padding: 0 1rem 2rem;
}

.props_empty_state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  animation: emptyStateFade 0.5s ease-out;
}

.props_empty_state .empty_state_cta {
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .page_properties {
    padding-top: 130px;
  }
  body.top_header_closed .page_properties { padding-top: 78px; }
  .props_hero {
    padding: 2rem 1rem 1.5rem;
  }
}

/* ========== Page layouts: About, Links, Contact, Legal ========== */
.page_about, .page_links, .page_contact, .page_legal {
  width: 100%;
  padding-top: 160px;
  min-height: 100vh;
  animation: pageLoad 0.5s ease-out;
}

/* Hero sections */
.about_hero, .links_hero, .contact_hero {
  width: 100%;
  padding: 3rem 5vw 3.5rem;
  background: linear-gradient(135deg, #0e2643 0%, #1a3a5c 50%, #2d4d7f 100%);
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.about_hero_inner, .links_hero_inner, .contact_hero_inner {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about_badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.about_title, .links_title, .contact_title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.about_subtitle, .links_subtitle, .contact_subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
}

/* About content */
.about_content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 5vw 4rem;
}

.about_intro {
  margin-bottom: 2.5rem;
}

.about_lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #1a1a1a;
  margin: 0 0 1rem;
  font-weight: 500;
}

.about_text {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
  margin: 0 0 1rem;
}

.about_pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.pillar_card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(14, 38, 67, 0.08);
  border: 1px solid #eee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14, 38, 67, 0.12);
}

.pillar_icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: #902020;
}

.pillar_icon svg {
  width: 100%;
  height: 100%;
}

.pillar_card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
}

.pillar_card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.about_thanks {
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-right: 4px solid #902020;
}

.about_thanks p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.about_cta_block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.about_email {
  color: #0e2643;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.about_email:hover {
  color: #902020;
}

.about_cta_btn {
  padding: 0.6rem 1.5rem !important;
}

/* Links page */
.links_content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 5vw 4rem;
}

.links_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.link_card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.link_card:hover {
  border-color: #902020;
  color: #902020;
  box-shadow: 0 8px 24px rgba(144, 32, 32, 0.12);
  transform: translateX(-4px);
}

.link_card_icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: #0e2643;
}

.link_card:hover .link_card_icon {
  color: #902020;
}

.link_card_icon svg {
  width: 100%;
  height: 100%;
}

.link_card_title {
  flex: 1;
  font-weight: 500;
  font-size: 1rem;
}

.link_card_arrow {
  font-size: 1.2rem;
  opacity: 0.6;
  transition: transform 0.25s;
}

.link_card:hover .link_card_arrow {
  transform: translateX(-4px);
  opacity: 1;
}

/* Contact page */
.contact_main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 5vw 3rem;
}

.contact_info_card, .contact_form_card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(14, 38, 67, 0.08);
  border: 1px solid #eee;
}

.contact_section_title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #902020;
  margin: 0 0 1.25rem;
}

.contact_info_list {
  margin-bottom: 1.5rem;
}

.contact_info_item {
  margin-bottom: 1rem;
}

.contact_info_label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact_info_value {
  font-size: 1rem;
  color: #1a1a1a;
  line-height: 1.5;
}

.contact_info_value.contact_link {
  color: #0e2643;
  text-decoration: none;
  transition: color 0.2s;
}

.contact_info_value.contact_link:hover {
  color: #902020;
}

.contact_waze_btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: #33cc66;
  color: #fff !important;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.contact_waze_btn:hover {
  background: #2ab85a;
  transform: translateY(-2px);
}

.contact_waze_btn svg {
  flex-shrink: 0;
}

.contact_form_intro {
  font-size: 0.95rem;
  color: #666;
  margin: -0.5rem 0 1.25rem;
}

.contact_form .form_group {
  margin-bottom: 1.25rem;
}

.contact_form .form_group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.4rem;
}

.contact_form .form_group .required {
  color: #902020;
}

.contact_form .input_style,
.contact_form .input_textArea,
.contact_form .select_form {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  text-align: right;
  direction: rtl;
}

.contact_form .input_style:focus,
.contact_form .input_textArea:focus,
.contact_form .select_form:focus {
  outline: none;
  border-color: #0e2643;
  box-shadow: 0 0 0 3px rgba(14, 38, 67, 0.1);
}

.contact_form .input_textArea {
  resize: vertical;
  min-height: 100px;
}

.contact_form .contact_submit_btn {
  display: block;
  width: auto;
  max-width: 200px;
  margin: 0.5rem auto 0;
  padding: 0.85rem 1.5rem !important;
  font-size: 1rem !important;
}

.contact_form .form_response {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: none;
}

.contact_form .form_response.form_response_success {
  display: block;
  background: #d4edda;
  color: #155724;
}

.contact_form .form_response.form_response_error {
  display: block;
  background: #f8d7da;
  color: #721c24;
}

.contact_form .form_group_error .input_style,
.contact_form .form_group_error .input_textArea,
.contact_form .form_group_error .select_form {
  border-color: #902020 !important;
  box-shadow: 0 0 0 2px rgba(144, 32, 32, 0.15);
}

.contact_map_wrap {
  width: 100%;
  margin: 0;
  border-top: 1px solid #eee;
}

.contact_map_wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* Legal pages (Privacy, Accessibility) */
.legal_content { max-width: 800px; margin: 0 auto; }
.legal_intro { margin-bottom: 2rem; }
.legal_section {
  margin-bottom: 2rem;
}
.legal_section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0e2643;
  margin: 0 0 0.75rem;
  padding-bottom: 0.25rem;
}
.legal_section p, .legal_section ul {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin: 0 0 0.5rem;
}
.legal_section ul {
  padding-right: 1.5rem;
  margin-bottom: 1rem;
}
.legal_section li { margin-bottom: 0.35rem; }
.legal_section a {
  color: #902020;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal_section a:hover { color: #b82828; }
.legal_contact {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.legal_contact p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

/* Cookie consent banner */
.cookie_consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  color: #e0e0e0;
  padding: 1rem 5vw 1.25rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  animation: cookieSlideUp 0.4s ease-out;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie_consent_inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie_consent_text {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.cookie_consent_text a {
  color: #f5e6d3;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie_consent_text a:hover { color: #fff; }
.cookie_consent_btn {
  flex-shrink: 0;
  padding: 0.5rem 1.5rem;
  background: #902020;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cookie_consent_btn:hover {
  background: #a82828;
  transform: translateY(-1px);
}

/* Page nav links (shared) */
.page_nav_links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 5vw 3rem;
}

.page_nav_links a {
  padding: 0.5rem 1.25rem;
  color: #0e2643;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.page_nav_links a:hover {
  background: #f0f2f5;
  color: #902020;
}

/* Responsive */
@media (max-width: 900px) {
  .contact_main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page_about, .page_links, .page_contact, .page_legal {
    padding-top: 130px;
  }
  body.top_header_closed .page_about,
  body.top_header_closed .page_links,
  body.top_header_closed .page_contact,
  body.top_header_closed .page_legal { padding-top: 78px; }
  /* Cookie consent – mobile */
  .cookie_consent {
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
  }
  .cookie_consent_inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie_consent_text {
    font-size: 0.85rem;
    line-height: 1.55;
    min-width: 0;
  }
  .cookie_consent_btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    align-self: stretch;
  }
  .about_hero, .links_hero, .contact_hero {
    padding: 2rem 1rem 2.5rem;
  }
  .about_content, .links_content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .about_pillars {
    grid-template-columns: 1fr;
  }
  .links_grid {
    grid-template-columns: 1fr;
  }
  .contact_main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .contact_info_card, .contact_form_card {
    padding: 1.5rem;
  }
}