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

html {
    scroll-behavior: smooth;
  }

  body {
    min-height: 100vh;
    background:
      radial-gradient(circle at top left, var(--page-glow-1), transparent 38%),
      radial-gradient(circle at 88% 10%, var(--page-glow-2), transparent 26%),
      radial-gradient(circle at bottom right, var(--page-glow-3), transparent 40%),
      linear-gradient(135deg, var(--bg), var(--bg-2));
    color: var(--text);
    font-family: "Manrope", system-ui, sans-serif;
    padding: 22px 0 0;
    overflow-x: hidden;
  }

  body.modal-open {
    overflow: hidden;
  }

  .page {
    width: min(1220px, calc(100% - 44px));
    margin: 0 auto;
  }

  .site-navbar {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    width: min(1220px, calc(100% - 44px));
    margin-bottom: 28px;
  }

  .nav-inner {
    width: 100%;
    min-height: 78px;
    padding: 12px 14px;
    border-radius: 28px;
    background: rgba(var(--surface-rgb), 0.78);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    min-width: max-content;
  }

  .logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: rgba(var(--accent-rgb), 0.10);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.18);
    flex-shrink: 0;
    transition: transform .25s ease, box-shadow .25s ease;
  }

  .nav-logo:hover .logo-mark {
    transform: translateY(-2px) rotate(-3deg);
    box-shadow: 0 18px 40px rgba(var(--accent-rgb), 0.30);
  }
	
	.logo-mark img {
    width: 74%;
    height: 74%;
    object-fit: contain;
    display: block;
  }	  
	  
  .nav-brand {
    font-family: "Geologica", sans-serif;
    font-weight: 950;
    letter-spacing: -0.05em;
    font-size: 1.05rem;
  }

  .nav-logo small {
    display: block;
    color: var(--muted);
    font-weight: 850;
    font-size: 0.75rem;
    margin-top: 2px;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 1;
  }

  .nav-item {
    position: relative;
  }

  .nav-link,
  .nav-cta {
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 900;
    color: var(--text);
    background: transparent;
    padding: 12px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s ease;
    white-space: nowrap;
  }

  .nav-link:hover {
    background: rgba(var(--accent-rgb), 0.09);
    color: var(--accent-dark);
  }

  .nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--on-accent);
    padding: 12px 16px;
    box-shadow: 0 16px 34px rgba(var(--accent-rgb), 0.28);
  }

  .nav-cta:hover {
    transform: translateY(-2px);
  }

  .chevron {
    font-size: 0.9rem;
    line-height: 1;
    opacity: 0.8;
  }

  .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(var(--surface-rgb), 0.94);
    border: 1px solid var(--border);
    box-shadow: 0 24px 70px rgba(var(--shadow-rgb), 0.16);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
  }

  .dropdown a {
    display: block;
    padding: 12px 13px;
    border-radius: 14px;
    color: var(--text);
    text-decoration: none;
    font-weight: 850;
    font-size: 0.86rem;
    transition: 0.2s ease;
  }

  .dropdown a:hover {
    background: rgba(var(--accent-rgb), 0.09);
    color: var(--accent-dark);
  }

  /* Desktop dropdown: keep a hover bridge between the trigger and menu.
     This removes the dead zone that used to close the menu before it could be clicked. */
  @media (min-width: 1081px) {
    .has-dropdown::after {
      content: "";
      position: absolute;
      left: -10px;
      top: 100%;
      width: calc(100% + 20px);
      height: 14px;
      z-index: 40;
    }

    .dropdown {
      z-index: 50;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
  }

  .lang-btn {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(var(--surface-rgb), 0.68);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    color: var(--accent-dark);
    font-weight: 900;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.2s ease;
    font-family: inherit;
  }

  .lang-btn:hover {
    transform: translateY(-2px);
    background: rgba(var(--surface-rgb), 0.9);
  }

  .nav-lang {
    box-shadow: none;
    padding: 11px 14px;
    background: rgba(var(--accent-rgb), 0.08);
  }

  .nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 16px;
    background: rgba(var(--accent-rgb), 0.1);
    cursor: pointer;
    position: relative;
    padding: 0;
    flex-shrink: 0;
  }

  .nav-toggle span {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background: var(--accent-dark);
    border-radius: 999px;
    transition: 0.25s ease;
    transform-origin: center;
  }

  .nav-toggle span:nth-child(1) {
    top: 16px;
    transform: translateX(-50%);
  }

  .nav-toggle span:nth-child(2) {
    top: 23px;
    transform: translateX(-50%);
  }

  .nav-toggle span:nth-child(3) {
    top: 30px;
    transform: translateX(-50%);
  }

  .nav-toggle.active span:nth-child(1) {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
  }

  .hero {
    position: relative;
    overflow: hidden;
    border-radius: 42px;
    min-height: 520px;
    padding: 34px;
    background:
      linear-gradient(90deg, rgba(var(--shadow-rgb), 0.84), rgba(var(--shadow-rgb), 0.38), rgba(var(--shadow-rgb), 0.12)),
      url("https://images.unsplash.com/photo-1580587771525-78b9dba3b914?q=80&w=1074&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(var(--surface-rgb), 0.35);
    display: flex;
    align-items: flex-end;
    margin-top: 120px;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 22% 20%, rgba(var(--accent-rgb), 0.25), transparent 28%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 45%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: var(--on-media);
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(var(--surface-rgb), 0.16);
    border: 1px solid rgba(var(--surface-rgb), 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-weight: 900;
    margin-bottom: 18px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    font-family: "Geologica", sans-serif;
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: -0.09em;
    font-weight: 900;
    margin-bottom: 18px;
  }

  .hero p {
    max-width: 620px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-btn {
    border: none;
    cursor: pointer;
    padding: 15px 18px;
    border-radius: 18px;
    font-weight: 900;
    font-size: 0.95rem;
    transition: 0.2s ease;
    font-family: inherit;
  }

  .hero-btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--on-accent);
    box-shadow: 0 18px 38px rgba(var(--accent-rgb), 0.35);
  }

  .hero-btn.secondary {
    background: rgba(var(--surface-rgb), 0.18);
    color: var(--on-media);
    border: 1px solid rgba(var(--surface-rgb), 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .hero-btn:hover {
    transform: translateY(-2px);
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: -42px 28px 34px;
    position: relative;
    z-index: 4;
  }

  .stat {
    padding: 20px;
    border-radius: 26px;
    background: rgba(var(--surface-rgb), 0.78);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .stat strong {
    display: block;
    font-family: "Geologica", sans-serif;
    font-size: 2rem;
    letter-spacing: -0.06em;
    color: var(--accent-dark);
    margin-bottom: 4px;
  }

  .stat span {
    color: var(--muted);
    font-weight: 800;
    font-size: 0.86rem;
  }

  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin: 34px 0 18px;
    scroll-margin-top: 120px;
  }

  .section-head h2 {
    font-family: "Geologica", sans-serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
    font-weight: 900;
  }

  .section-head p {
    color: var(--muted);
    line-height: 1.6;
    max-width: 470px;
    font-weight: 600;
  }

  .featured-showcase {
    margin-bottom: 34px;
  }

  .featured-card {
    overflow: hidden;
    border-radius: 34px;
    background: rgba(var(--surface-rgb), 0.72);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 420px;
  }

  .featured-image {
    min-height: 420px;
    background: linear-gradient(135deg, var(--accent-soft), var(--surface));
    position: relative;
    overflow: hidden;
  }

  .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.35s ease;
  }

  .featured-card:hover .featured-image img {
    transform: scale(1.04);
  }

  .featured-content {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .featured-label {
    width: fit-content;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(200, 149, 66, 0.14);
    color: var(--gold);
    font-weight: 950;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
  }

  .featured-content h3 {
    font-family: "Geologica", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.08em;
    margin-bottom: 12px;
  }

  .featured-price {
    color: var(--accent-dark);
    font-size: 1.7rem;
    font-weight: 950;
    letter-spacing: -0.05em;
    margin-bottom: 12px;
  }

  .featured-location {
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 16px;
  }

  .featured-desc {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 20px;
  }

  .featured-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .controls {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  .control {
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(var(--surface-rgb), 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    padding: 15px 16px;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    box-shadow: 0 14px 36px rgba(var(--shadow-rgb), 0.08);
    font-weight: 700;
    font-family: inherit;
  }

  .status-text {
    margin-bottom: 22px;
    color: var(--muted);
    font-weight: 800;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 34px;
  }

  .card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: 0.25s ease;
  }

  .card:hover {
    transform: translateY(-7px);
    box-shadow: 0 34px 95px rgba(var(--shadow-rgb), 0.22);
  }

  .image-wrap {
    height: 235px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  }

  .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.35s ease;
  }

  .gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: rgba(var(--surface-rgb), 0.86);
    color: var(--accent-dark);
    font-size: 1.25rem;
    font-weight: 950;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    transform: translateY(-50%);
    transition: 0.2s ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .gallery-arrow:hover {
    background: var(--surface);
    transform: translateY(-50%) scale(1.06);
  }

  .gallery-arrow.prev {
    left: 12px;
  }

  .gallery-arrow.next {
    right: 12px;
  }

  .gallery-count {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 4;
    transform: translateX(-50%);
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(var(--shadow-rgb), 0.66);
    color: var(--on-media);
    font-size: 0.75rem;
    font-weight: 950;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .modal-image {
    position: relative;
  }

  .modal-image .gallery-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
  }

  .modal-image .gallery-count {
    bottom: 18px;
  }

  .card:hover .image-wrap img {
    transform: scale(1.06);
  }

  .badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    z-index: 2;
  }

  .badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(var(--surface-rgb), 0.88);
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }

  .badge.sold {
    color: var(--danger);
  }

  .badge.rented {
    color: var(--gold);
  }

  .content {
    padding: 22px;
  }

  .price {
    font-size: 1.65rem;
    font-weight: 950;
    letter-spacing: -0.05em;
    color: var(--accent-dark);
    margin-bottom: 8px;
  }

  .title {
    font-family: "Geologica", sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.04em;
  }

  .location {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 15px;
    font-weight: 700;
  }

  .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px;
  }

  .meta span {
    padding: 8px 11px;
    border-radius: 14px;
    background: rgba(var(--surface-rgb), 0.78);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 850;
  }

  .description {
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.91rem;
    margin-bottom: 18px;
  }

  .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--on-accent);
    font-size: 0.95rem;
    font-weight: 950;
    box-shadow: 0 16px 38px rgba(var(--accent-rgb), 0.28);
    transition: 0.2s ease;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .btn:hover {
    transform: translateY(-2px);
  }

  .btn.secondary-btn {
    background: rgba(var(--surface-rgb), 0.78);
    color: var(--accent-dark);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(var(--shadow-rgb), 0.1);
  }

  .btn.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--on-media);
    box-shadow: 0 16px 38px rgba(18, 140, 126, 0.24);
  }

  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .message {
    grid-column: 1 / -1;
    padding: 46px 24px;
    text-align: center;
    border-radius: 28px;
    background: rgba(var(--surface-rgb), 0.64);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 850;
    box-shadow: var(--shadow);
  }

  .map-showcase {
    margin-bottom: 70px;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(var(--surface-rgb), 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px;
  }

  #propertiesMap {
    width: 100%;
    height: 520px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-soft), var(--surface));
    z-index: 1;
  }

  .leaflet-popup-content-wrapper {
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(var(--shadow-rgb), 0.18);
  }

  .map-popup {
    width: 230px;
    font-family: "Manrope", sans-serif;
  }

  .map-popup img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 10px;
  }

  .map-popup h4 {
    font-family: "Geologica", sans-serif;
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 6px;
    color: #171717;
  }

  .map-popup-price {
    font-weight: 950;
    color: var(--accent-dark);
    margin-bottom: 6px;
  }

  .map-popup-location {
    font-size: 0.82rem;
    color: #5e6470;
    font-weight: 750;
    margin-bottom: 10px;
  }

  .map-popup button {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--on-accent);
    font-weight: 900;
    font-family: "Manrope", sans-serif;
  }

  .modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 22px;
    background: rgba(var(--shadow-rgb), 0.56);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .modal-overlay.active {
    display: grid;
  }

  .property-modal {
    width: min(1080px, 100%);
    max-height: min(900px, 92vh);
    overflow: auto;
    border-radius: 34px;
    background:
      radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.12), transparent 32%),
      rgba(var(--surface-rgb), 0.92);
    border: 1px solid rgba(var(--surface-rgb), 0.76);
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.28);
    position: relative;
    animation: modalIn 0.22s ease;
  }

  @keyframes modalIn {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.98);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 1px solid rgba(var(--surface-rgb), 0.75);
    background: rgba(var(--surface-rgb), 0.86);
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 950;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: 0.2s ease;
  }

  .modal-close:hover {
    transform: translateY(-2px);
    background: var(--surface);
  }

  .modal-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 540px;
  }

  .modal-image {
    min-height: 540px;
    background: linear-gradient(135deg, var(--accent-soft), var(--surface));
    overflow: hidden;
  }

  .modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .modal-content {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .modal-label {
    width: fit-content;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.11);
    color: var(--accent-dark);
    font-weight: 950;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
  }

  .modal-content h3 {
    font-family: "Geologica", sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 0.96;
    letter-spacing: -0.08em;
    margin-bottom: 12px;
  }

  .modal-price {
    color: var(--accent-dark);
    font-size: 1.8rem;
    font-weight: 950;
    letter-spacing: -0.05em;
    margin-bottom: 12px;
  }

  .modal-location {
    color: var(--muted);
    font-weight: 850;
    margin-bottom: 16px;
  }

  .modal-description {
    color: var(--muted);
    line-height: 1.75;
    margin: 2px 0 20px;
    font-weight: 650;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
  }

  .modal-map-section {
    padding: 0 34px 34px;
  }

  .map-title {
    font-family: "Geologica", sans-serif;
    font-size: 1.45rem;
    font-weight: 950;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
    color: var(--text);
  }

  .map-frame {
    width: 100%;
    height: 330px;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(var(--shadow-rgb), 0.14);
    background: linear-gradient(135deg, var(--accent-soft), var(--surface));
    display: block;
  }

  .map-actions {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
  }

  @media (max-width: 1180px) {
    .nav-link,
    .nav-cta {
      font-size: 0.8rem;
      padding: 11px 9px;
    }

    .nav-cta {
      padding-inline: 13px;
    }
  }

  @media (max-width: 1080px) {
    .nav-toggle {
      display: block;
    }

    .nav-inner {
      align-items: center;
      position: relative;
    }

    .nav-menu {
      position: absolute;
      top: calc(100% + 12px);
      left: 0;
      right: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
      padding: 14px;
      border-radius: 26px;
      background: rgba(var(--surface-rgb), 0.96);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-10px) scale(0.98);
      transform-origin: top center;
      max-height: 0;
      overflow: hidden;
      transition:
        opacity 0.24s ease,
        transform 0.24s ease,
        visibility 0.24s ease,
        max-height 0.28s ease;
    }

    .nav-menu.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0) scale(1);
      max-height: calc(100vh - 110px);
      overflow-y: auto;
    }

    .nav-menu > * {
      opacity: 0;
      transform: translateY(-6px);
      transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .nav-menu.active > * {
      opacity: 1;
      transform: translateY(0);
    }

    .nav-menu.active > *:nth-child(1) { transition-delay: 0.03s; }
    .nav-menu.active > *:nth-child(2) { transition-delay: 0.06s; }
    .nav-menu.active > *:nth-child(3) { transition-delay: 0.09s; }
    .nav-menu.active > *:nth-child(4) { transition-delay: 0.12s; }
    .nav-menu.active > *:nth-child(5) { transition-delay: 0.15s; }
    .nav-menu.active > *:nth-child(6) { transition-delay: 0.18s; }
    .nav-menu.active > *:nth-child(7) { transition-delay: 0.21s; }
    .nav-menu.active > *:nth-child(8) { transition-delay: 0.24s; }

    .nav-link,
    .nav-cta,
    .nav-lang {
      width: 100%;
      justify-content: space-between;
      border-radius: 18px;
      padding: 14px 15px;
      font-size: 0.95rem;
    }

    .nav-cta,
    .nav-lang {
      justify-content: center;
    }

    .dropdown {
      position: static;
      min-width: 100%;
      box-shadow: none;
      background: rgba(var(--accent-rgb), 0.06);
      opacity: 1;
      visibility: visible;
      transform: none;
      margin-top: 8px;
      display: none;
    }

    .has-dropdown.open .dropdown {
      display: block;
    }
  }

  @media (max-width: 960px) {
    .hero {
      min-height: 560px;
      padding: 24px;
      margin-top: 120px;
    }

    .stats {
      grid-template-columns: 1fr;
      margin: 18px 0 34px;
    }

    .section-head {
      flex-direction: column;
      align-items: flex-start;
    }

    .featured-card,
    .modal-grid {
      grid-template-columns: 1fr;
    }

    .featured-image,
    .modal-image {
      min-height: 320px;
    }

    .controls {
      grid-template-columns: 1fr;
    }

    .grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
      padding: 26px;
    }

    .modal-map-section {
      padding: 0 26px 26px;
    }

    #propertiesMap {
      height: 440px;
    }
  }

  @media (max-width: 640px) {
    .site-navbar {
      top: 10px;
      width: min(1220px, calc(100% - 28px));
    }

    .gallery-arrow {
      width: 36px;
      height: 36px;
      font-size: 1.05rem;
    }

    .modal-image .gallery-arrow {
      width: 40px;
      height: 40px;
    }

    body {
      padding: 14px 0 0;
      overflow-x: hidden;
    }

    .page {
      width: min(1220px, calc(100% - 28px));
    }

    .nav-inner {
      border-radius: 22px;
      min-height: 70px;
      padding: 10px;
    }

    .nav-brand {
      font-size: 0.95rem;
    }

    .nav-logo small {
      font-size: 0.68rem;
    }

    .logo-mark {
      width: 42px;
      height: 42px;
      border-radius: 14px;
    }

    .hero {
      border-radius: 30px;
      min-height: 590px;
      margin-top: 110px;
    }

    .hero h1 {
      font-size: 3.25rem;
    }

    .hero-buttons {
      flex-direction: column;
    }

    .hero-btn {
      width: 100%;
    }

    .grid {
      grid-template-columns: 1fr;
    }

    .image-wrap {
      height: 255px;
    }

    .featured-content {
      padding: 24px;
    }

    .featured-actions,
    .modal-actions {
      grid-template-columns: 1fr;
    }

    .modal-overlay {
      padding: 12px;
    }

    .property-modal {
      border-radius: 26px;
      max-height: 94vh;
    }

    .modal-close {
      top: 10px;
      right: 10px;
    }

    .map-frame {
      height: 260px;
      border-radius: 20px;
    }

    #propertiesMap {
      height: 360px;
      border-radius: 20px;
    }

    .map-showcase {
      border-radius: 26px;
      padding: 10px;
    }
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-footer {
    width: 100%;
    max-width: 100%;
    margin-top: 70px;
    padding: 54px clamp(18px, 5vw, 82px) 28px;
    background: rgba(var(--surface-rgb), 0.78);
    border-top: 1px solid var(--border);
    box-shadow: 0 -18px 55px rgba(var(--shadow-rgb), 0.08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    overflow: hidden;
  }

  .footer-inner {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(170px, 0.65fr) minmax(180px, 0.55fr) minmax(270px, 1fr);
    column-gap: clamp(34px, 6vw, 96px);
    row-gap: 28px;
    align-items: start;
  }

  .footer-brand {
    justify-self: start;
    align-self: start;
    text-align: left;
    font-family: "Geologica", sans-serif;
    font-size: clamp(2.15rem, 4.7vw, 4.7rem);
    line-height: 0.9;
    letter-spacing: -0.075em;
    font-weight: 950;
    color: var(--text);
    text-transform: uppercase;
    max-width: 240px;
  }

  .footer-nav {
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    width: min(230px, 100%);
    min-width: 0;
    padding-left: 0;
  }

  .footer-contact {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: min(330px, 100%);
    min-width: 0;
  }

  .footer-nav a {
    width: auto;
    max-width: 100%;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.86rem;
    line-height: 1.15;
    font-weight: 850;
    color: var(--text);
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    transition: 0.2s ease;
    white-space: nowrap;
    box-shadow: none;
  }

  .footer-contact a {
    width: 100%;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    color: var(--text);
    background: rgba(var(--surface-rgb), 0.56);
    border: 1px solid var(--border);
    padding: 12px 15px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    transition: 0.2s ease;
    white-space: nowrap;
    max-width: 100%;
    box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.05);
  }

  .footer-contact a:hover,
  .footer-nav a:hover {
    color: var(--accent-dark);
    transform: translateX(3px);
  }

  .footer-contact a:hover {
    background: rgba(var(--accent-rgb), 0.09);
  }

  .footer-nav .footer-contact-btn {
    background: transparent;
    color: var(--text);
    box-shadow: none;
    border: 0;
  }

  .footer-bottom {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(var(--surface-rgb), 0.7);
    display: flex;
    justify-content: center;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
  }

  @media (max-width: 920px) {
    .footer-inner {
      grid-template-columns: minmax(150px, 0.8fr) minmax(170px, 1fr);
    }

    .footer-brand {
      grid-column: 1;
      width: 100%;
    }

    .footer-nav {
      grid-column: 2;
      justify-self: start;
    }

    .footer-contact {
      grid-column: 1 / -1;
      justify-self: start;
      width: min(520px, 100%);
    }
  }

  @media (max-width: 640px) {
    .site-footer {
      margin-top: 50px;
      padding: 40px 16px 28px;
    }

    .footer-inner {
      grid-template-columns: 1fr;
      row-gap: 22px;
    }

    .footer-brand,
    .footer-contact,
    .footer-nav,
    .footer-bottom {
      grid-column: 1;
      grid-row: auto;
    }

    .footer-brand {
      justify-self: start;
      text-align: left;
      width: 100%;
      font-size: clamp(2.2rem, 12vw, 3.4rem);
      max-width: 100%;
    }

    .footer-contact,
    .footer-nav {
      justify-self: start;
      width: min(360px, 100%);
    }

    .footer-nav a {
      white-space: normal;
      text-align: left;
    }

    .footer-contact a {
      white-space: normal;
      text-align: left;
      padding: 11px 14px;
    }
  }
	.footer-bottom a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 950;
  margin-left: 4px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

  /* ===================== ΠΟΙΟΙ ΕΙΜΑΣΤΕ / About us ===================== */
  .about {
    margin-top: 26px;
    padding: clamp(28px, 4vw, 56px);
    border-radius: 34px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(28px, 4vw, 54px);
    align-items: start;
    position: relative;
    overflow: hidden;
  }

  .about::before {
    content: "";
    position: absolute;
    inset: auto -12% -55% auto;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.16), transparent 68%);
    pointer-events: none;
  }

  .about-copy { position: relative; z-index: 1; }

  .about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .about-copy h2 {
    margin: 18px 0 16px;
    font-family: "Geologica", sans-serif;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.02;
    font-size: clamp(2rem, 4vw, 3.1rem);
    color: var(--text);
  }

  .about-lead {
    color: var(--text);
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
    line-height: 1.65;
    font-weight: 600;
    margin-bottom: 14px;
  }

  .about-body {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 12px;
  }

  .about-points {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 22px 0 26px;
  }

  .about-points li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    color: var(--text);
    font-weight: 600;
    font-size: 0.97rem;
    line-height: 1.55;
  }

  .about-points li::before {
    content: "";
    flex: 0 0 auto;
    margin-top: 7px;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.16);
  }

  .about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .about-btn {
    border: none;
    cursor: pointer;
    border-radius: 16px;
    padding: 14px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }

  .about-btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--on-accent);
    box-shadow: 0 16px 36px rgba(var(--accent-rgb), 0.30);
  }

  .about-btn.secondary {
    background: rgba(var(--surface-rgb), 0.62);
    color: var(--text);
    border: 1px solid var(--border);
  }

  .about-btn:hover { transform: translateY(-3px); }

  .about-panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    align-content: start;
  }

  .about-badge {
    display: grid;
    place-items: center;
    padding: 30px;
    border-radius: 26px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.22);
  }

  .about-badge img {
    width: 132px;
    max-width: 60%;
    height: auto;
    display: block;
  }

  .about-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .about-metric {
    padding: 20px 18px;
    border-radius: 20px;
    background: rgba(var(--surface-rgb), 0.62);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
  }

  .about-metric strong {
    display: block;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent-dark);
    line-height: 1;
  }

  .about-metric span {
    display: block;
    margin-top: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .about-note {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(var(--surface-rgb), 0.5);
    border: 1px dashed rgba(var(--accent-rgb), 0.34);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
  }

  @media (max-width: 900px) {
    .about { grid-template-columns: 1fr; padding: 26px; border-radius: 28px; }
    .about-btn { flex: 1 1 auto; justify-content: center; }
  }

  @media (max-width: 520px) {
    .about-metrics { grid-template-columns: 1fr; }
  }


  /* ===================== SERVICES ===================== */
  .services-section {
    margin-top: clamp(76px, 8vw, 112px);
    padding: clamp(30px, 4.5vw, 58px);
    border-radius: 34px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
  }

  .services-head {
    max-width: 820px;
    margin-bottom: clamp(30px, 4vw, 48px);
  }

  .services-eyebrow {
    display: inline-flex;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .services-head h2 {
    margin: 18px 0 14px;
    max-width: 760px;
    font-family: "Geologica", sans-serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--text);
  }

  .services-head p {
    max-width: 700px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.2vw, 28px);
  }

  .service-card {
    min-height: 230px;
    padding: 26px;
    border-radius: 24px;
    background: rgba(var(--surface-rgb), 0.58);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-rgb), 0.38);
    box-shadow: var(--shadow-soft);
  }

  .service-number {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .service-card h3 {
    margin: 28px 0 10px;
    font-family: "Geologica", sans-serif;
    font-size: 1.22rem;
    line-height: 1.2;
    color: var(--text);
  }

  .service-card p {
    margin-top: auto;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.7;
  }

  @media (max-width: 960px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 620px) {
    .services-section { padding: 24px; border-radius: 28px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 205px; }
  }

  .sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .nav-theme { --tt-size: 44px; }

  @media (max-width: 1080px) {
    .nav-theme {
      --tt-size: auto;
      width: 100%;
      height: 52px;
      border-radius: 18px;
      padding: 0 15px;
      justify-content: center;
    }
    .nav-theme .sr-only {
      position: static;
      width: auto; height: auto;
      margin: 0; clip: auto;
      overflow: visible;
      font: 800 0.95rem/1 "Manrope", sans-serif;
      padding-left: 30px;
    }
  }

  .dropdown a.active-category {
    color: var(--accent-dark);
    background: rgba(var(--accent-rgb), 0.12);
  }

  /* Anchor targets must clear the fixed navbar */
  #aboutSection,
  #servicesSection,
  #featuredSection,
  #listingsSection,
  #mapSection { scroll-margin-top: 120px; }

  /* ===================== Premium vertical rhythm =====================
     Give major content blocks room to breathe and keep cards from feeling
     stacked on top of each other. */
  .stats {
    gap: 22px;
    margin-bottom: clamp(54px, 6vw, 82px);
  }

  .about {
    margin-top: 0;
  }

  .section-head {
    margin-top: clamp(76px, 8vw, 112px);
    margin-bottom: clamp(24px, 3vw, 36px);
    gap: clamp(24px, 4vw, 54px);
  }

  .section-head p {
    max-width: 520px;
  }

  .featured-showcase {
    margin-bottom: clamp(88px, 9vw, 126px);
  }

  .featured-card {
    min-height: 440px;
  }

  .featured-content {
    padding: clamp(32px, 4vw, 52px);
  }

  .controls {
    gap: 18px;
    margin-bottom: 28px;
  }

  .status-text {
    margin-bottom: 28px;
  }

  .grid {
    gap: clamp(26px, 3vw, 36px);
    row-gap: clamp(30px, 4vw, 44px);
    padding-bottom: clamp(84px, 9vw, 124px);
  }

  .card .content {
    padding: 26px;
  }

  .map-showcase {
    margin-bottom: clamp(86px, 9vw, 124px);
  }

  @media (max-width: 960px) {
    .stats { margin-bottom: 58px; }
    .section-head {
      margin-top: 72px;
      margin-bottom: 26px;
      gap: 12px;
    }
    .featured-showcase { margin-bottom: 78px; }
    .grid {
      gap: 26px;
      padding-bottom: 78px;
    }
  }

  @media (max-width: 640px) {
    .stats {
      gap: 14px;
      margin-bottom: 52px;
    }
    .section-head {
      margin-top: 62px;
      margin-bottom: 22px;
    }
    .featured-showcase { margin-bottom: 66px; }
    .grid {
      gap: 24px;
      padding-bottom: 66px;
    }
    .card .content { padding: 22px; }
    .map-showcase { margin-bottom: 70px; }
  }
  
/* Property modal interaction upgrade — 2026-09-10 */
.property-card-clickable {
  cursor: pointer;
}

.property-card-clickable:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.5);
  outline-offset: 5px;
}

.property-modal {
  overflow: hidden;
  overscroll-behavior: contain;
}

#modalContent {
  max-height: min(900px, 92vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.modal-close {
  position: absolute;
  z-index: 1005;
}

.modal-map-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.modal-map-heading .map-title {
  margin-bottom: 8px;
}

.map-coordinate-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.map-coordinate-label,
.map-zoom-hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.map-coordinate-row code {
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(var(--surface-rgb), 0.72);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.map-zoom-hint {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(var(--surface-rgb), 0.7);
  text-align: right;
}

.modal-interactive-map {
  width: 100%;
  height: 380px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(var(--shadow-rgb), 0.14);
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  overflow: hidden;
  z-index: 1;
}

.modal-interactive-map:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.48);
  outline-offset: 3px;
}

.modal-interactive-map .leaflet-control-zoom a {
  color: #111;
}

.modal-interactive-map .leaflet-popup-content-wrapper,
.modal-interactive-map .leaflet-popup-tip {
  color: #111;
}

@media (max-width: 760px) {
  .modal-map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .map-zoom-hint {
    text-align: left;
  }

  .modal-interactive-map {
    height: 300px;
    border-radius: 20px;
  }

  #modalContent {
    max-height: 94vh;
  }
}

/* Homepage interactive property map */
.home-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 16px;
}

.home-map-help {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-map-help strong {
  color: var(--text);
  font-family: "Geologica", sans-serif;
  font-size: 0.94rem;
  letter-spacing: -0.025em;
}

.home-map-help span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.45;
}

.home-map-reset {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(var(--surface-rgb), 0.78);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(var(--shadow-rgb), 0.08);
  font: 850 0.78rem/1 "Manrope", sans-serif;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-map-reset:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.09);
}

#propertiesMap:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.48);
  outline-offset: 3px;
}

#propertiesMap .leaflet-control-zoom a {
  color: #111;
}

.map-popup-coordinates {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 10px;
}

.map-popup-coordinates span {
  color: #6a6a6a;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.map-popup-coordinates code {
  color: #202020;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .home-map-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 14px;
  }

  .home-map-reset {
    width: 100%;
  }
}

/* ===== Residence / land catalog separation ===== */
.catalog-specific-controls {
  align-items: stretch;
}

.residence-controls {
  grid-template-columns: minmax(260px, 1.45fr) minmax(170px, .75fr) minmax(170px, .72fr) minmax(190px, .78fr);
}

.land-controls {
  grid-template-columns: minmax(240px, 1.35fr) minmax(190px, .8fr) minmax(180px, .72fr) minmax(165px, .7fr) minmax(190px, .78fr);
}

.land-meta span,
.residence-meta span {
  white-space: nowrap;
}

.catalog-empty-state {
  grid-column: 1 / -1;
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
  border: 1px dashed var(--border);
  border-radius: 26px;
  background: rgba(var(--surface-rgb), .42);
  color: var(--muted);
}

.catalog-empty-state strong {
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

@media (max-width: 1180px) {
  .residence-controls,
  .land-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .residence-controls,
  .land-controls {
    grid-template-columns: 1fr;
  }
}
