@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary:   #0a0f1e;
  --bg-secondary: #0d1528;
  --bg-card:      #111c35;
  --accent-cyan:  #00d4d4;
  --accent-blue:  #0066ff;
  --text-primary: #ffffff;
  --text-muted:   #8899aa;
  --glass-bg:     rgba(255, 255, 255, 0.04);
  --glass-border: rgba(0, 212, 212, 0.20);
  --radius-lg:    16px;
  --radius-md:    10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #070c18;
  background-image:
    linear-gradient(rgba(25, 65, 115, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 65, 115, 0.22) 1px, transparent 1px);
  background-size: 55px 55px;
  color: var(--text-primary);
  overflow-x: hidden;
}


/* ─── 2-D NAVIGATION WRAPPER ─────────────────────────── */
/* Lock native scroll; all scrolling is handled by JS  */
html, body { overflow: hidden; height: 100%; width: 100%; }

#h-wrapper {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Each section is an absolute layer inside #h-wrapper.
   JS sets translateX/Y to slide them in and out.        */
section {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

/* ─── DOT INDICATORS ─────────────────────────────────── */
#h-dots {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 999;
}
.h-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.h-dot.active {
  background: var(--accent-cyan);
  transform: scale(1.4);
}

/* ─── GLASSMORPHISM BASE ─────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ─── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── NAVBAR ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.32);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease;
}
nav.scrolled { background: rgba(10, 15, 30, 0.95); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.logo-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.82em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  transition: color 0.4s ease, background 0.4s ease, text-shadow 0.4s ease;
  cursor: pointer;
}
.nav-links a:hover {
  color: var(--bg-secondary);
  background: rgba(255,255,255,0.03);
  text-shadow: 0 0 12px rgba(255,255,255,0.22);
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(136, 153, 170, 0.35);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 4px 16px rgba(0,0,0,0.3);
}
.nav-badge:hover {
  border-color: rgba(136,153,170,0.6);
  color: #dde4ec;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10,15,30,0.98);
  border-top: 1px solid var(--glass-border);
  padding: 12px 0 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--bg-secondary);
  text-shadow: 0 0 12px rgba(255,255,255,0.22);
}

/* ─── HERO ───────────────────────────────────────────── */
#hero {
  --smoke-h: 35%;
  /* position/height/width come from the section rule above */
  min-height: unset;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}


/* Bottom-edge fade — always active (--smoke-h no longer driven by scroll) */
#hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  height: calc(var(--smoke-h, 35%) + 80px);
  background: linear-gradient(
    to top,
    var(--bg-secondary)   0%,
    rgba(13,21,40,0.92)  18%,
    rgba(13,21,40,0.65)  40%,
    rgba(13,21,40,0.28)  65%,
    rgba(13,21,40,0.06)  85%,
    transparent          100%
  );
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transform-origin: center center;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0f1e 0%, #0d2060 50%, #0a0f1e 100%);
  background-size: 400% 400%;
  animation: gradShift 8s ease infinite;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0);
  will-change: background;
}
.hero-content {
  will-change: opacity, transform;
  z-index: 4;
}

#particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  transition: transform 0.1s ease;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--bg-secondary);
  text-shadow:
    0 0 14px rgba(255,255,255,0.5),
    0 0 32px rgba(220,228,240,0.3);
  border: 1px solid rgba(13, 21, 40, 0.35);
  box-shadow:
    0 0 10px rgba(255,255,255,0.3),
    0 0 22px rgba(220,228,240,0.18);
  border-radius: 20px;
  padding: 6px 18px;
  margin-bottom: 28px;
  background: var(--glass-bg);
}
.hero-title {
  font-size: clamp(36px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.outline-svg {
  display: inline-block;
  height: 1em;
  width: auto;
  overflow: visible;
  vertical-align: -0.185em;
  margin-right: 0.12em;
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.18))
    drop-shadow(0 0 40px rgba(255, 255, 255, 0.08));
}
.hero-title .line-cyan {
  color: var(--bg-secondary);
  text-shadow:
    0 0 18px rgba(255,255,255,0.55),
    0 0 40px rgba(220,228,240,0.35),
    0 2px 8px rgba(255,255,255,0.2);
}
.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid rgba(136, 153, 170, 0.35);
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.4);
  transition: border-color 0.3s, box-shadow 0.3s, color 0.3s, transform 0.2s;
}
.hero-cta:hover {
  border-color: rgba(136, 153, 170, 0.6);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 40px rgba(200,210,220,0.12);
  color: #dde4ec;
  text-shadow: 0 0 12px rgba(255,255,255,0.35), 0 0 24px rgba(200,215,230,0.2);
  transform: translateY(-2px) scale(1.04);
}
.cta-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.hero-cta:hover .cta-arrow { transform: translateX(4px); }

/* ─── SECTION COMMON ─────────────────────────────────── */
/* position/size/transition live in the 2-D nav block above */
section { padding: 100px 24px; }
.section-inner { max-width: 1160px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border: 1px solid rgba(136, 153, 170, 0.35);
  border-radius: var(--radius-lg);
  padding: 6px 14px;
  margin-bottom: 10px;
  background: var(--bg-card);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 4px 16px rgba(0,0,0,0.3);
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
}
.section-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 56px;
}

/* ─── ABOUT ──────────────────────────────────────────── */
#about {
  background-color: #080e1c;
  background-image:
    linear-gradient(rgba(30, 50, 90, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 50, 90, 0.18) 1px, transparent 1px);
  background-size: 75px 75px;
  position: relative;
  z-index: 1;
  padding: 78px 24px 20px;
  overflow: hidden;
  justify-content: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.about-photo-wrap {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  max-height: min(380px, calc(100vh - 200px));
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--glass-border);
  display: block;
}
.about-photo-fallback {
  width: 100%;
  aspect-ratio: 4/5;
  max-height: min(380px, calc(100vh - 200px));
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-card) 0%, #0d2060 100%);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-cyan);
  box-shadow: 0 0 32px rgba(0,212,212,0.25);
}
.about-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
}
.about-badge-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.about-badge-value {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(220,228,240,0.5), 0 0 32px rgba(200,210,225,0.25);
}
.about-badge {
  background: #070c18 !important;
  border-color: rgba(180, 190, 210, 0.15) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

.about-content {}
#about-title {
  color: var(--text-primary);
}

.about-quote {
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.5;
}
.about-text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat-card {
  padding: 14px 16px;
  text-align: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0d1528 0%, #111e3a 50%, #0a1220 100%);
  border: 1px solid rgba(180, 190, 210, 0.2);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.5);
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── TESTIMONIALS ───────────────────────────────────── */
#testimonials {
  background-color: #080e1c;
  background-image:
    linear-gradient(rgba(30, 50, 90, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 50, 90, 0.18) 1px, transparent 1px);
  background-size: 75px 75px;
  padding: 78px 24px 16px;
  overflow-x: hidden;
}
.testimonials-carousel-wrap {
  position: relative;
  padding: 0 56px;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}
.tc-viewport {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}
.tc-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tc-track .testimonial-card {
  flex-shrink: 0;
}
.tc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-calc(50% + 20px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  z-index: 2;
}
.tc-btn:hover {
  background: rgba(0, 212, 212, 0.15);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.tc-btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.tc-prev { left: 0; }
.tc-next { right: 0; }
.tc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.tc-dot.active {
  background: var(--accent-cyan);
  transform: scale(1.35);
}
.testimonial-card {
  position: relative;
  transition: box-shadow 0.3s ease;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(135deg, #0d1528 0%, #111e3a 50%, #0a1220 100%);
  border: 1px solid rgba(180, 190, 210, 0.2);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card.tc-focused {
  box-shadow: 0 0 0 1px rgba(0,212,212,0.35), 0 24px 56px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.1);
  z-index: 3;
}
.testimonial-card.tc-focused .testimonial-quote {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.testimonial-card.tc-dimmed {
  opacity: 0.35;
  filter: brightness(0.45);
}
.testimonial-stars { display: flex; gap: 4px; }
.star {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}
.testimonial-quote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ─── LISTINGS ───────────────────────────────────────── */
#listings {
  background-color: #080e1c;
  background-image:
    linear-gradient(rgba(30, 50, 90, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 50, 90, 0.18) 1px, transparent 1px);
  background-size: 75px 75px;
  padding: 78px 24px 16px;
  overflow: hidden;
}
/* Rotating tagline — only one phrase visible at a time */
@keyframes tagline-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.listings-tagline {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  min-height: 1.4em;
}
.listings-find-easy {
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.ls-easy-word {
  color: var(--bg-secondary);
  text-shadow:
    0 0 18px rgba(255,255,255,0.55),
    0 0 40px rgba(220,228,240,0.35),
    0 2px 8px rgba(255,255,255,0.2);
}
.listings-tagline-text {
  display: none;
}
.listings-tagline-text.active {
  display: block;
  animation: tagline-fade-in 0.5s ease forwards;
}

.listings-grid {
  display: grid;
  max-width: 540px;
  margin: 0 auto;
}
.listing-card {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.listing-card.lc-active {
  opacity: 1;
  pointer-events: auto;
}
.listing-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.listing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(136, 153, 170, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.listing-dot.lc-dot-active {
  background: var(--accent-cyan);
  transform: scale(1.3);
}
.listings-cta-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.listings-cta-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding-right: 4px;
  white-space: nowrap;
}
.listing-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.listing-card.lc-active:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 212, 212, 0.1);
}
.listing-image-wrap {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
  background: var(--bg-card);
}
.listing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.listing-card:hover .listing-image { transform: scale(1.05); }
.listing-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, #0d2060 100%);
}
.listing-price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 14px;
  background: var(--accent-cyan);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
}
.listing-body { padding: 14px 18px; background: var(--bg-card); }
.listing-cta-wrap {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: var(--bg-card);
}
.listing-contact-btn {
  width: 100%;
  justify-content: center;
  margin: 0;
}
.listing-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.listing-location { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.listing-details { display: flex; gap: 16px; }
.listing-detail { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.listing-detail svg { flex-shrink: 0; }

/* ─── CONTACT ────────────────────────────────────────── */
#contact {
  background-color: #080e1c;
  background-image:
    linear-gradient(rgba(30, 50, 90, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 50, 90, 0.18) 1px, transparent 1px);
  background-size: 75px 75px;
}
#contact .section-inner {
  max-width: 1160px;
}
.contact-card {
  background: linear-gradient(135deg, #0d1528 0%, #111e3a 50%, #0a1220 100%);
  border: 1px solid rgba(180, 190, 210, 0.2);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 8px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 48px 56px;
  width: 100%;
}
.contact-card-header {
  text-align: center;
  margin-bottom: 48px;
}
.contact-card-header .section-desc {
  max-width: 520px;
  margin: 0 auto;
}
.form-wrap {
  width: 100%;
}
.form-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  margin-top: 36px;
}
.form-section-header:first-child { margin-top: 0; }
.form-section-line {
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}
.form-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #9aaabb;
}
.req-star { color: #9aaabb; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  min-width: 0;
}
.form-row.single  { grid-template-columns: minmax(0,1fr); }
.form-row.double  { grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-row.triple  { grid-template-columns: repeat(3, minmax(0,1fr)); }
.form-row.quad    { grid-template-columns: repeat(4, minmax(0,1fr)); }
.form-row.five    { grid-template-columns: repeat(5, minmax(0,1fr)); }
.form-row.six     { grid-template-columns: repeat(6, minmax(0,1fr)); }
.form-row.pets-inline-row { grid-template-columns: minmax(0,200px); align-items: end; transition: grid-template-columns 0.2s; }
.form-row.pets-inline-row.pets-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-row.pets-inline-row.pets-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.form-row.pets-inline-row.pets-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.form-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238899aa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select[multiple] {
  background-image: none;
  padding-right: 16px;
  height: 130px;
}
.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 8px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 212, 0.1);
}

/* ── Filled state checkmark ── */
.form-group select.filled {
  border-color: rgba(0,212,212,0.45);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Ccircle cx='7.5' cy='7.5' r='7' stroke='%2300d4d4' stroke-opacity='0.7' fill='none'/%3E%3Cpath d='M4.5 7.5l2 2 4-4' stroke='%2300d4d4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238899aa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: right 38px center, right 14px center;
  background-repeat: no-repeat, no-repeat;
  padding-right: 62px;
}
.form-group input.filled {
  border-color: rgba(0,212,212,0.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Ccircle cx='7.5' cy='7.5' r='7' stroke='%2300d4d4' stroke-opacity='0.7' fill='none'/%3E%3Cpath d='M4.5 7.5l2 2 4-4' stroke='%2300d4d4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-group input:disabled,
.form-group select:disabled { opacity: 0.5; cursor: not-allowed; }

.phone-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.phone-row > * { min-width: 0; }

/* Flag picker */
.flag-picker { position: relative; height: 100%; min-width: 0; }
.flag-btn {
  width: 100%;
  height: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s;
}
.flag-btn:hover           { border-color: rgba(136,153,170,0.6); }
.flag-btn svg             { flex-shrink: 0; }
#flag-btn-iso             { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
#flag-btn-code            { font-size: 13px; font-weight: 700; color: var(--accent-cyan); }
.flag-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 260px;
  max-height: 260px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  z-index: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.flag-dropdown.open { display: block; }
.flag-search {
  position: sticky;
  top: 0;
  display: block;
  width: calc(100% - 20px);
  margin: 8px 10px 4px;
  padding: 7px 10px;
  background: var(--bg-card);
  border: 1px solid rgba(136,153,170,0.3);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  z-index: 1;
}
.flag-search:focus { border-color: rgba(136,153,170,0.6); }
.flag-search::placeholder { color: var(--text-muted); }
.flag-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  transition: background 0.15s;
  white-space: nowrap;
}
.flag-option:hover          { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.flag-option-emoji          { font-size: 18px; flex-shrink: 0; }
.flag-option-name           { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.flag-option-code           { font-size: 11px; color: var(--accent-cyan); flex-shrink: 0; }

/* ── Searchable combobox (Nationality) ── */
.combo-wrap { position: relative; }
.combo-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.combo-input:focus { outline: none; border-color: var(--accent-cyan); }
.combo-input.filled { border-color: rgba(0,212,212,0.45); }
.combo-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #0d1528;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 200;
  padding: 4px 0;
  list-style: none;
  margin: 0;
  display: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.combo-list.open { display: block; }
.combo-list li {
  padding: 9px 16px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.combo-list li:hover,
.combo-list li.combo-active { background: rgba(0,212,212,0.1); color: #fff; }
.combo-list li.combo-selected { color: var(--accent-cyan); }
.combo-no-results { padding: 9px 16px; font-size: 13px; color: var(--text-muted); font-style: italic; }

/* ── Locations search input ── */
.multiselect-search {
  width: 100%;
  padding: 9px 12px 9px 32px;
  background: rgba(0,212,212,0.05);
  border: none;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
  border-radius: 8px 8px 0 0;
  outline: none;
  position: relative;
}
.multiselect-search::placeholder { color: #6b7f93; }
.multiselect-search-wrap {
  position: relative;
}
.multiselect-search-wrap svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7f93;
}

/* ── Multi-select (Preferred Locations) ── */
.multiselect { position: relative; }
.multiselect-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 46px;
}
.multiselect-btn:hover { border-color: rgba(136,153,170,0.5); }
.multiselect-btn svg   { flex-shrink: 0; margin-left: 8px; }
.multiselect-btn.has-value { color: var(--text-primary); }
.multiselect-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 220px;
  max-height: 260px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  z-index: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.multiselect-panel.open { display: block; }
.multiselect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 0;
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}
.multiselect-all-row {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary) !important;
}
.multiselect-clear {
  background: none;
  border: none;
  color: #f87171;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.multiselect-clear:hover { color: #ef4444; }
.multiselect-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  transition: background 0.15s;
  user-select: none;
}
.multiselect-option:hover   { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.multiselect-option.checked { background: rgba(0,212,212,0.06); color: var(--text-primary); }

/* hide native checkbox, draw custom 18px box via ::before */
.multiselect-option input[type="checkbox"] { display: none; }
.multiselect-option::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(136,153,170,0.35);
  border-radius: 4px;
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.multiselect-option:hover::before { border-color: rgba(0,212,212,0.5); }
.multiselect-option.checked::before {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1.5 4l2.5 2.5 4.5-5' stroke='%2304081a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Custom Date Picker ── */
.datepicker-wrap { position: relative; }
.datepicker-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px 16px; min-height: 46px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-muted); font-size: 14px; font-family: 'Inter', sans-serif;
  cursor: pointer; text-align: left; transition: border-color 0.2s;
}
.datepicker-trigger:hover   { border-color: rgba(136,153,170,0.5); }
.datepicker-trigger.has-value { color: var(--text-primary); }
.dp-panel {
  display: none; position: absolute;
  top: calc(100% + 8px); left: 0; width: 300px;
  background: var(--bg-card);
  border: 1px solid rgba(136,153,170,0.3);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(136,153,170,0.08), 0 0 24px rgba(136,153,170,0.08), 0 12px 48px rgba(0,0,0,0.6);
  z-index: 600; padding: 20px;
}
.dp-panel.open { display: block; }
.dp-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.dp-nav-btn {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(136,153,170,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.dp-nav-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(136,153,170,0.55); }
.dp-title { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.dp-title #dp-month-text { font-size: 17px; font-weight: 600; color: var(--text-primary); }
.dp-title #dp-year-text  { font-size: 12px; color: rgba(136,153,170,0.75); letter-spacing: 0.06em; }
.dp-weekdays {
  display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 6px;
}
.dp-weekdays span {
  text-align: center; font-size: 11px; font-weight: 600;
  color: rgba(136,153,170,0.65); padding: 3px 0; text-transform: uppercase; letter-spacing: 0.04em;
}
.dp-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.dp-day {
  aspect-ratio: 1; border-radius: 50%; background: none; border: none;
  color: var(--text-primary); font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.12s; font-family: 'Inter', sans-serif; width: 100%;
}
.dp-day:hover:not(.dp-day-other):not(.dp-selected) { background: rgba(255,255,255,0.07); }
.dp-day-other { color: rgba(136,153,170,0.3); cursor: default; pointer-events: none; }
.dp-today-cell { border: 1.5px solid var(--accent-cyan); color: var(--accent-cyan); font-weight: 600; }
.dp-selected   { background: var(--accent-cyan) !important; color: #080e1c !important; font-weight: 700; }
.dp-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(136,153,170,0.12);
}
.dp-clear-btn {
  background: none; border: none; cursor: pointer; padding: 6px 2px;
  color: rgba(136,153,170,0.65); font-size: 13px; font-family: 'Inter', sans-serif;
  transition: color 0.15s;
}
.dp-clear-btn:hover { color: var(--text-primary); }
.dp-today-btn {
  padding: 8px 20px; border-radius: 20px; cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(136,153,170,0.35);
  color: var(--text-primary); font-size: 13px; font-weight: 500;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 0 10px rgba(136,153,170,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 0.15s, border-color 0.15s;
}
.dp-today-btn:hover { background: rgba(255,255,255,0.09); border-color: rgba(136,153,170,0.6); }

/* ── Euro prefix input ── */
.euro-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.euro-sign {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
.euro-wrap input {
  padding-left: 28px !important;
  width: 100%;
}

.toggle-group { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.toggle-btn.active {
  background: rgba(0, 212, 212, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ─── FIELD VALIDATION ERROR STATE ─── */
input.field-error,
select.field-error,
textarea.field-error {
  border-color: rgba(248, 113, 113, 0.85) !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.12) !important;
}
button.field-error,
.multiselect-btn.field-error,
.datepicker-trigger.field-error,
.multichk-btn.field-error,
.combo-input.field-error {
  border-color: rgba(248, 113, 113, 0.85) !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.12) !important;
}
.let-sale-toggle.field-error {
  outline: 2px solid rgba(248, 113, 113, 0.5);
  border-radius: 8px;
  padding: 4px;
}

.submit-btn {
  width: 100%;
  margin-top: 32px;
  padding: 18px;
  background: linear-gradient(135deg, #0d1528 0%, #111e3a 50%, #0a1220 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(180, 190, 210, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  text-shadow: 0 0 16px rgba(255,255,255,0.2);
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
}
.submit-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(180,190,210,0.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.07), 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.09), 0 0 20px rgba(255,255,255,0.06);
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.visible { display: block; }
.form-success svg { margin-bottom: 16px; }
.form-success h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ─── MODALS ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  display: flex;
  max-width: 860px;
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-card {
  transform: translateY(0);
  opacity: 1;
}
.modal-image-panel {
  width: 280px;
  flex-shrink: 0;
  background: linear-gradient(160deg, var(--bg-card) 0%, #0d2060 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.modal-image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.modal-image-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #111c35 0%, #0d2060 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-image-meta {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(10px);
  width: 100%;
}
.modal-meta-item { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.modal-meta-value { font-size: 16px; font-weight: 700; color: var(--accent-cyan); }

.modal-content-panel { padding: 36px; flex: 1; }
.modal-close {
  float: right;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }
.modal-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}
.modal-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.modal-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  line-height: 1.5;
}
.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.modal-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.modal-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.modal-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  flex-shrink: 0;
}
.modal-footer {
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── ABOUT SOCIALS ──────────────────────────────────── */
.about-socials {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 24px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.about-socials:hover { opacity: 1; }
.about-social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(7, 12, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.about-social-icon svg { width: 18px; height: 18px; }
.about-social-icon:hover {
  color: #00d4d4;
  border-color: rgba(0, 212, 212, 0.5);
  background: rgba(0, 212, 212, 0.08);
}

/* ─── FIXED SOCIAL SIDEBAR ──────────────────────────────── */
.social-float {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  padding: 8px;
  background: rgba(10, 15, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0.6;
  transition: opacity 0.25s;
}
.social-float:hover { opacity: 1; }
@media (max-width: 900px) { .social-float { display: none; } }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background-color: #080e1c;
  background-image:
    linear-gradient(rgba(30, 50, 90, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 50, 90, 0.18) 1px, transparent 1px);
  background-size: 75px 75px;
  border-top: 1px solid var(--glass-border);
  padding: 40px 24px;
  text-align: center;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-logo { justify-content: center; margin-bottom: 12px; }
.footer-text { font-size: 13px; color: var(--text-muted); }
.footer-cyan { color: var(--accent-cyan); }

/* ─── SECTION INTRO (reemplaza inline margin-bottom:56px) */
.section-intro {
  text-align: center;
  margin-bottom: 28px;
}

/* ─── COMMERCIAL MODE TOGGLE ────────────────────────── */
.comm-mode-toggle {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin: 20px 0 24px;
}
.comm-mode-btn {
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.comm-mode-btn.active {
  background: var(--accent-cyan);
  color: #04081a;
  font-weight: 600;
}
.comm-mode-btn:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* ─── COMMERCIAL MODE SECTIONS ───────────────────────── */
.comm-mode-section { transition: opacity 0.2s; }

/* ─── LET / SALE TOGGLE ──────────────────────────────── */
.let-sale-toggle { display: flex; gap: 8px; }
.let-sale-option { cursor: pointer; }
.let-sale-option input[type="radio"] { display: none; }
.let-sale-option span {
  display: inline-block;
  padding: 9px 36px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  user-select: none;
}
.let-sale-option input[type="radio"]:checked + span {
  background: rgba(0,212,212,0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}
.let-sale-option span:hover {
  border-color: rgba(0,212,212,0.4);
  color: var(--text-primary);
}

/* ─── MULTI-CHECKBOX DROPDOWN ────────────────────────── */
.multichk { position: relative; }
.multichk-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s;
}
.multichk-btn:hover,
.multichk-btn[aria-expanded="true"] { border-color: rgba(136,153,170,0.45); }
.multichk-btn svg { flex-shrink: 0; transition: transform 0.2s; }
.multichk-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.multichk-display {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.multichk-display.has-value { color: var(--text-primary); }
.multichk-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 6px 0;
  z-index: 300;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.multichk-panel.open { display: block; }

/* Sticky "All / Clear" header — mirrors .multiselect-header */
.multichk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 0;
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}
.multichk-all-row {
  flex: 1;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
}
.multichk-clear {
  background: none;
  border: none;
  color: #f87171;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
  transition: color 0.15s;
}
.multichk-clear:hover { color: #ef4444; }

.multichk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  transition: background 0.12s;
}
.multichk-item:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.multichk-item.checked { color: var(--text-primary); background: rgba(0,212,212,0.06); }

/* Hide native checkbox, draw custom box via ::before */
.multichk-item input[type="checkbox"] { display: none; }
.multichk-item::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(136,153,170,0.35);
  border-radius: 4px;
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.multichk-item:hover::before { border-color: rgba(0,212,212,0.5); }
.multichk-item.checked::before {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1.5 4l2.5 2.5 4.5-5' stroke='%2304081a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */

/* ── Tablet grande (≤1200px) ─────────────────────────── */
@media (max-width: 1200px) {
  .about-grid           { gap: 48px; }
}

/* ── Tablet (≤1024px) ────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-inner            { padding: 0 20px; }

  .listings-grid        { max-width: 100%; }

  .about-grid           { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-wrap     { max-width: 480px; margin: 0 auto; }
  .about-badge          { left: 0; }

  .modal-image-panel    { width: 220px; }
}

/* ── Tablet pequeña (≤900px) ─────────────────────────── */
@media (max-width: 900px) {
  .modal-card           { flex-direction: column; }
  .modal-image-panel    { width: 100%; height: 220px; }
  .modal-content-panel  { padding: 28px 24px; }
  .modal-title          { font-size: 24px; }
}

/* ── Mobile (≤768px) ─────────────────────────────────── */
@media (max-width: 768px) {
  /* ── Nav ── */
  .nav-links            { display: none; }
  .nav-badge            { display: none; }
  .hamburger            { display: flex; }
  .nav-inner            { padding: 0 16px; height: 60px; }
  .mobile-menu a        { min-height: 44px; display: flex; align-items: center; padding: 0 20px; }

  /* ── Sections ── */
  section               { padding: 60px 16px; }
  #about, #testimonials, #listings { padding: 70px 16px 16px; }
  .section-intro        { margin-bottom: 24px; }
  .section-desc         { max-width: 100%; }

  /* ── Hero ── */
  .hero-content         { padding: 0 20px; max-width: 100%; }
  .hero-eyebrow         { font-size: 10px; letter-spacing: 0.12em; padding: 5px 14px; margin-bottom: 20px; }
  .hero-sub             { font-size: 15px; margin-bottom: 28px; max-width: 100%; }
  .hero-cta             { width: 100%; justify-content: center; }

  /* ── About ── */
  .about-grid           { gap: 28px; }
  .about-photo-wrap     { max-width: 100%; }
  .about-photo,
  .about-photo-fallback { aspect-ratio: 16/9; max-height: 280px; }
  .about-badge          { position: relative; left: 0; bottom: 0; margin-top: 16px; display: inline-flex; }
  .about-quote          { font-size: 16px; }
  .about-text           { font-size: 14px; }
  .about-stats          { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card            { padding: 16px 12px; }
  .stat-value           { font-size: 26px; }

  /* ── Testimonials / Listings ── */
  .testimonials-carousel-wrap { padding: 0 40px; max-width: 100%; overflow: hidden; }
  .tc-viewport          { max-width: 100%; overflow: hidden; }
  .listings-grid        { max-width: 100%; }
  .listing-details      { flex-wrap: wrap; gap: 10px; }

  /* ── Contact form ── */
  .contact-card         { padding: 28px 20px; border-radius: 16px; }
  .contact-card-header  { margin-bottom: 32px; }
  .form-row,
  .form-row.double,
  .form-row.triple,
  .form-row.quad,
  .form-row.five,
  .form-row.six,
  .form-row.pets-notes-row { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
  .phone-row            { grid-template-columns: 100px 1fr; gap: 8px; }
  .form-section-header  { margin-top: 28px; }
  .toggle-btn           { min-width: 40px; height: 44px; }

  /* Touch targets — previene zoom en iOS con font-size 16px */
  .form-group input,
  .form-group select,
  .form-group textarea  { min-height: 44px; font-size: 16px; }

  /* ── Modals ── */
  .modal-overlay        { padding: 0; align-items: flex-end; }
  .modal-card           {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-image-panel    { width: 100%; height: 180px; }
  .modal-content-panel  { padding: 24px 20px; }

  /* ── Footer ── */
  footer                { padding: 32px 16px; }
}

/* ── Mobile pequeño (≤480px) ─────────────────────────── */
@media (max-width: 480px) {
  section               { padding: 52px 14px; }
  #about, #testimonials, #listings { padding: 62px 14px 14px; }
  .section-intro        { margin-bottom: 20px; }
  .section-title        { font-size: clamp(22px, 6.5vw, 34px); }

  .hero-eyebrow         { font-size: 9px; letter-spacing: 0.1em; }
  .hero-sub             { font-size: 14px; }
  .hero-cta             { font-size: 13px; padding: 13px 20px; }

  .about-photo,
  .about-photo-fallback { aspect-ratio: 4/3; max-height: 240px; }
  .about-stats          { grid-template-columns: 1fr; gap: 10px; }
  .stat-value           { font-size: 30px; }

  /* Teléfono: mantiene dos columnas siempre */
  .phone-row            { grid-template-columns: 90px 1fr; gap: 8px; }

  .modal-image-panel    { height: 150px; }
  .modal-title          { font-size: 20px; }
  .modal-content-panel  { padding: 20px 16px; }

  .nav-inner            { height: 56px; }
  .logo-text            { font-size: 13px; letter-spacing: 0.08em; }
  .logo-icon svg        { width: 36px; height: 36px; }

  .testimonial-card,
  .listing-card         { border-radius: 14px; }
}

/* ── Muy pequeño (≤360px) ────────────────────────────── */
@media (max-width: 360px) {
  section               { padding: 48px 12px; }
  .hero-title           { font-size: clamp(28px, 10vw, 44px); }
  .hero-eyebrow         { display: none; }
  .hero-sub             { font-size: 13px; }
  .hero-cta             { padding: 12px 16px; font-size: 13px; }

  .stat-card            { padding: 14px 8px; }
  .stat-value           { font-size: 26px; }
  .stat-label           { font-size: 11px; }

  .toggle-btn           { min-width: 36px; height: 40px; font-size: 13px; padding: 0 6px; }
  .listing-details      { gap: 8px; }
  .listing-detail       { font-size: 12px; }

  .modal-content-panel  { padding: 16px 14px; }
  .logo-text            { display: none; }
}

/* ── Form Modal Overlay ──────────────────────────── */
.form-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9000;
  overflow-y: auto;
  padding: 32px 16px 60px;
}
.form-modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.form-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.form-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.form-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

/* ── Commercial 6-col row ───────────────────────────── */
.comm-fields-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

/* ── Contact standalone page ───────────────────────── */
.contact-page-main .section-title {
  font-size: clamp(28px, 6vw, 64px);
}

/* ─────────────────────────────────────────────────────
   RESPONSIVE — additions & overrides
───────────────────────────────────────────────────── */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .comm-fields-row { grid-template-columns: repeat(3, 1fr); }

  /* Contact page */
  .contact-page-main { padding: 90px 20px 48px; }
  .contact-page-main .form-wrap { padding: 32px 32px 40px; }
}

/* Tablet pequeña (≤768px) */
@media (max-width: 768px) {
  /* Commercial row → 2 columns */
  .comm-fields-row { grid-template-columns: repeat(2, 1fr); }

  /* Pets inline row always stacks */
  .form-row.pets-inline-row { grid-template-columns: 1fr 1fr; }

  /* Contact page header */
  .contact-page-main { padding: 80px 16px 40px; }
  .contact-page-main .form-wrap { padding: 24px 20px 32px; }
  .contact-page-main .contact-card-header { margin-bottom: 28px; }

  /* Form modal bottom safe area on mobile */
  .form-modal-overlay { padding-bottom: max(60px, env(safe-area-inset-bottom, 60px)); }

  /* Testimonials arrows — bigger touch target */
  .tc-prev, .tc-next { width: 40px; height: 40px; }

  /* Nav h-dots */
  .h-dot { width: 10px; height: 10px; }

  /* Section nav dots */
  .section-nav { bottom: 16px; gap: 8px; }

  /* Listings tagline smaller */
  .listings-tagline { font-size: clamp(22px, 5vw, 36px); }

  /* Let/sale toggle full width on mobile */
  .let-sale-toggle { flex-wrap: wrap; gap: 8px; }
  .let-sale-option { flex: 1; min-width: 120px; }

  /* Mobile form modal scrolling smooth */
  .form-modal-overlay { -webkit-overflow-scrolling: touch; }
}

/* Mobile pequeño (≤480px) */
@media (max-width: 480px) {
  /* Commercial → 1 column */
  .comm-fields-row { grid-template-columns: 1fr; }

  /* Pets inline → 1 column */
  .form-row.pets-inline-row { grid-template-columns: 1fr; }

  /* Contact page compact */
  .contact-page-main { padding: 72px 12px 32px; }
  .contact-page-main .form-wrap { padding: 20px 16px 28px; }

  /* Form section headers smaller */
  .form-section-label { font-size: 10px; letter-spacing: 0.14em; }

  /* Carousel arrows closer to edge */
  .testimonials-carousel-wrap { padding: 0 28px; max-width: 100%; overflow: hidden; }
  .tc-viewport          { max-width: 100%; overflow: hidden; }
  .tc-prev, .tc-next { width: 36px; height: 36px; }

  /* Hero nav dots smaller */
  .h-nav-dots { gap: 6px; }
  .h-dot { width: 8px; height: 8px; }

  /* Footer stacked */
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* Muy pequeño (≤360px) */
@media (max-width: 360px) {
  .comm-fields-row { grid-template-columns: 1fr; }
  .contact-page-main .form-wrap { padding: 16px 12px 24px; }
  .form-row.pets-inline-row { grid-template-columns: 1fr; }
}

/* ── Safe area insets (iPhone notch / home bar) ─────── */
@supports (padding: env(safe-area-inset-bottom)) {
  nav { padding-top: env(safe-area-inset-top); }
  .form-modal-overlay { padding-bottom: max(60px, env(safe-area-inset-bottom)); }
  .contact-page-main { padding-bottom: max(60px, env(safe-area-inset-bottom)); }
}

/* ── Prevent 300ms tap delay on all tappable elements ── */
a, button, [role="button"], select, input, textarea, label {
  touch-action: manipulation;
}
