@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@400;500;600;700&display=swap");
/* NVHomesLV UI bundled build v1.3 */

/* ===== tokens.css ===== */
:root {
  /* Brand */
  --nv-color-black: #0a0a0a;
  --nv-color-white: #ffffff;
  --nv-color-off-white: #f7f7f8;
  --nv-color-surface: #fbfbfc;
  --nv-color-text: #151515;
  --nv-color-muted: #5f6368;
  --nv-color-border: #e3e5e8;
  --nv-color-blue: #1473e6;
  --nv-color-blue-dark: #0d5fbe;
  --nv-color-focus: rgba(20, 115, 230, 0.28);

  /* Typography */
  --nv-font-display: "Playfair Display", Georgia, serif;
  --nv-font-body: "Poppins", Arial, sans-serif;
  --nv-font-size-xs: 0.75rem;
  --nv-font-size-sm: 0.875rem;
  --nv-font-size-base: 1rem;
  --nv-font-size-md: 1.125rem;
  --nv-font-size-lg: 1.375rem;
  --nv-font-size-xl: clamp(1.75rem, 3vw, 2.5rem);
  --nv-font-size-2xl: clamp(2.35rem, 5vw, 4.75rem);
  --nv-line-height-tight: 1.08;
  --nv-line-height-heading: 1.2;
  --nv-line-height-body: 1.7;

  /* Spacing */
  --nv-space-1: 0.25rem;
  --nv-space-2: 0.5rem;
  --nv-space-3: 0.75rem;
  --nv-space-4: 1rem;
  --nv-space-5: 1.25rem;
  --nv-space-6: 1.5rem;
  --nv-space-8: 2rem;
  --nv-space-10: 2.5rem;
  --nv-space-12: 3rem;
  --nv-space-16: 4rem;
  --nv-space-20: 5rem;
  --nv-space-24: 6rem;

  /* Layout */
  --nv-container: 1180px;
  --nv-container-narrow: 820px;
  --nv-page-gutter: clamp(1rem, 4vw, 2rem);
  --nv-section-space: clamp(4rem, 8vw, 7rem);

  /* Shape */
  --nv-radius-sm: 10px;
  --nv-radius-md: 16px;
  --nv-radius-lg: 24px;
  --nv-radius-pill: 999px;

  /* Shadows */
  --nv-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
  --nv-shadow-md: 0 18px 50px rgba(0, 0, 0, 0.10);
  --nv-shadow-lg: 0 26px 80px rgba(0, 0, 0, 0.14);

  /* Motion */
  --nv-ease: cubic-bezier(.2, .8, .2, 1);
  --nv-duration-fast: 160ms;
  --nv-duration: 240ms;
  --nv-duration-slow: 420ms;

  /* Controls */
  --nv-button-height: 54px;
  --nv-field-height: 54px;
  --nv-header-height: 72px;

  /* Breakpoints are documented because CSS variables cannot be used in media queries */
  --nv-breakpoint-mobile: 640px;
  --nv-breakpoint-tablet: 900px;
  --nv-breakpoint-desktop: 1200px;
}

/* ===== base.css ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--nv-color-text);
  background: var(--nv-color-white);
  font-family: var(--nv-font-body);
  font-size: var(--nv-font-size-base);
  line-height: var(--nv-line-height-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  color: var(--nv-color-black);
  font-family: var(--nv-font-display);
  font-weight: 600;
  line-height: var(--nv-line-height-heading);
  text-wrap: balance;
}

h1 { font-size: var(--nv-font-size-2xl); }
h2 { font-size: var(--nv-font-size-xl); }
h3 { font-size: var(--nv-font-size-lg); }

p {
  color: var(--nv-color-muted);
  line-height: var(--nv-line-height-body);
}

:focus-visible {
  outline: 3px solid var(--nv-color-focus);
  outline-offset: 3px;
}

/* ===== layout.css ===== */
.nv-container {
  width: min(100% - (var(--nv-page-gutter) * 2), var(--nv-container));
  margin-inline: auto;
}

.nv-container--narrow {
  width: min(100% - (var(--nv-page-gutter) * 2), var(--nv-container-narrow));
  margin-inline: auto;
}

.nv-section {
  padding-block: var(--nv-section-space);
}

.nv-section--soft {
  background: var(--nv-color-surface);
}

.nv-stack {
  display: grid;
  gap: var(--nv-space-6);
}

.nv-stack--tight {
  gap: var(--nv-space-3);
}

.nv-grid {
  display: grid;
  gap: var(--nv-space-6);
}

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

.nv-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nv-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nv-space-4);
}

.nv-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .nv-grid--2,
  .nv-grid--3,
  .nv-split {
    grid-template-columns: 1fr;
  }
}

/* ===== typography.css ===== */
.nv-eyebrow {
  margin-bottom: var(--nv-space-3);
  color: var(--nv-color-blue);
  font-family: var(--nv-font-body);
  font-size: var(--nv-font-size-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nv-display {
  margin-bottom: var(--nv-space-6);
  font-size: var(--nv-font-size-2xl);
  line-height: var(--nv-line-height-tight);
}

.nv-heading {
  margin-bottom: var(--nv-space-4);
  font-size: var(--nv-font-size-xl);
}

.nv-lead {
  max-width: 720px;
  margin-bottom: var(--nv-space-8);
  color: #40444a;
  font-size: var(--nv-font-size-md);
}

.nv-label {
  color: var(--nv-color-black);
  font-size: var(--nv-font-size-sm);
  font-weight: 600;
}

.nv-small {
  font-size: var(--nv-font-size-sm);
}

.nv-muted {
  color: var(--nv-color-muted);
}

/* ===== buttons.css ===== */
.nv-btn {
  min-height: var(--nv-button-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--nv-space-2);
  padding: 0 var(--nv-space-6);
  border: 1px solid transparent;
  border-radius: var(--nv-radius-pill);
  cursor: pointer;
  font-family: var(--nv-font-body);
  font-size: var(--nv-font-size-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  transition:
    transform var(--nv-duration) var(--nv-ease),
    background-color var(--nv-duration) var(--nv-ease),
    border-color var(--nv-duration) var(--nv-ease),
    color var(--nv-duration) var(--nv-ease),
    box-shadow var(--nv-duration) var(--nv-ease);
}

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

.nv-btn:active {
  transform: translateY(0);
}

.nv-btn--primary {
  color: var(--nv-color-white);
  background: var(--nv-color-black);
  box-shadow: var(--nv-shadow-sm);
}

.nv-btn--primary:hover {
  background: #161616;
  border-color: var(--nv-color-blue);
  box-shadow: var(--nv-shadow-md);
}

.nv-btn--secondary {
  color: var(--nv-color-black);
  background: var(--nv-color-white);
  border-color: var(--nv-color-border);
}

.nv-btn--secondary:hover {
  color: var(--nv-color-blue-dark);
  border-color: var(--nv-color-blue);
}

.nv-btn--blue {
  color: var(--nv-color-white);
  background: var(--nv-color-blue);
}

.nv-btn--blue:hover {
  background: var(--nv-color-blue-dark);
}

.nv-btn--ghost {
  min-height: auto;
  padding: 0;
  color: var(--nv-color-black);
  background: transparent;
  border-radius: 0;
}

.nv-btn--ghost:hover {
  color: var(--nv-color-blue);
  transform: none;
}

.nv-btn--block {
  width: 100%;
}

@media (max-width: 640px) {
  .nv-btn {
    min-height: 50px;
    padding-inline: var(--nv-space-5);
  }
}

/* ===== cards.css ===== */
.nv-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--nv-color-white);
  border: 1px solid var(--nv-color-border);
  border-radius: var(--nv-radius-lg);
  box-shadow: var(--nv-shadow-sm);
  transition:
    transform var(--nv-duration) var(--nv-ease),
    box-shadow var(--nv-duration) var(--nv-ease),
    border-color var(--nv-duration) var(--nv-ease);
}

.nv-card:hover {
  transform: translateY(-4px);
  border-color: #d4d8dd;
  box-shadow: var(--nv-shadow-md);
}

.nv-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: var(--nv-space-6);
  color: var(--nv-color-white);
  background: var(--nv-color-black);
  border-radius: 50%;
}

.nv-card__title {
  margin-bottom: var(--nv-space-3);
}

.nv-card__body {
  margin-bottom: 0;
}

.nv-card--dark {
  color: var(--nv-color-white);
  background: var(--nv-color-black);
  border-color: var(--nv-color-black);
}

.nv-card--dark h1,
.nv-card--dark h2,
.nv-card--dark h3,
.nv-card--dark h4 {
  color: var(--nv-color-white);
}

.nv-card--dark p {
  color: rgba(255,255,255,.72);
}

.nv-card--flat {
  box-shadow: none;
}

.nv-card--accent {
  position: relative;
  overflow: hidden;
}

.nv-card--accent::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--nv-color-blue);
}

/* ===== forms.css ===== */
.nv-field {
  display: grid;
  gap: var(--nv-space-2);
}

.nv-input,
.nv-select,
.nv-textarea {
  width: 100%;
  min-height: var(--nv-field-height);
  padding: 0 var(--nv-space-4);
  color: var(--nv-color-text);
  background: var(--nv-color-white);
  border: 1px solid var(--nv-color-border);
  border-radius: var(--nv-radius-md);
  transition:
    border-color var(--nv-duration-fast) ease,
    box-shadow var(--nv-duration-fast) ease;
}

.nv-textarea {
  min-height: 140px;
  padding-block: var(--nv-space-4);
  resize: vertical;
}

.nv-input:focus,
.nv-select:focus,
.nv-textarea:focus {
  outline: none;
  border-color: var(--nv-color-blue);
  box-shadow: 0 0 0 4px var(--nv-color-focus);
}

.nv-help {
  color: var(--nv-color-muted);
  font-size: var(--nv-font-size-xs);
}

/* ===== animations.css ===== */
@keyframes nv-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nv-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.nv-reveal.is-visible {
  animation: nv-fade-up var(--nv-duration-slow) var(--nv-ease) forwards;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* ===== utilities.css ===== */
.nv-text-center { text-align: center; }
.nv-text-left { text-align: left; }
.nv-m-0 { margin: 0 !important; }
.nv-mt-4 { margin-top: var(--nv-space-4) !important; }
.nv-mt-6 { margin-top: var(--nv-space-6) !important; }
.nv-mt-8 { margin-top: var(--nv-space-8) !important; }
.nv-mb-0 { margin-bottom: 0 !important; }
.nv-mb-4 { margin-bottom: var(--nv-space-4) !important; }
.nv-mb-6 { margin-bottom: var(--nv-space-6) !important; }
.nv-mb-8 { margin-bottom: var(--nv-space-8) !important; }
.nv-hidden { display: none !important; }
.nv-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== property.css ===== */
/* =========================================================
   NVHomesLV PROPERTY EXPERIENCE v1.2
========================================================= */

body.nv-property-page {
  padding-bottom: 0 !important;
}

/* Replace PropertyMinder's small "Close" label with a clearer return control. */
body.nv-property-page .details-menu-wrapp .close-detail._detailsHide {
  min-width: 150px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 0 18px !important;
  color: #111 !important;
  background: #fff !important;
  border-left: 1px solid #dfe2e5 !important;
  cursor: pointer !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

body.nv-property-page .details-menu-wrapp .close-detail._detailsHide:hover {
  color: #1473e6 !important;
}

/* Hide redundant expand control. */
body.nv-property-page .expand-detail,
body.nv-property-page ._detailsExpand {
  display: none !important;
}

/* Desktop sidebar: lives inside the listing and follows the listing scroll. */
#nv-property-appointment {
  position: absolute;
  top: 118px;
  right: 22px;
  z-index: 80;
  width: 318px;
  padding: 28px 26px 24px;
  color: #151515;
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.11);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease;
}

body.nv-property-page.nv-property-ready #nv-property-appointment {
  opacity: 1;
  transform: translateY(0);
}

#nv-property-appointment .nv-property-kicker {
  display: block;
  margin: 0 0 10px;
  color: #1473e6;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

#nv-property-appointment h2 {
  margin: 0 0 12px;
  color: #0a0a0a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.08;
}

#nv-property-appointment p {
  margin: 0 0 22px;
  color: #555b62;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

#nv-property-appointment .nv-property-actions {
  display: grid;
  gap: 10px;
}

#nv-property-appointment .nv-btn {
  min-height: 50px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
}

#nv-property-appointment .nv-property-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 2px;
}

#nv-property-appointment .nv-property-contact-row .nv-btn {
  min-height: 38px;
  color: #111;
  background: #f7f7f8;
  border: 0;
  border-radius: 12px;
}

#nv-property-appointment .nv-property-contact-row .nv-btn:hover {
  color: #1473e6;
}

/* Unified mobile dock. */
#nv-property-mobile-dock {
  display: none;
}

@media (max-width: 900px) {
  body.nv-property-page {
    padding-bottom: calc(122px + env(safe-area-inset-bottom)) !important;
  }

  body.nv-property-page .details-menu-wrapp .close-detail._detailsHide {
    position: fixed !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    left: -9999px !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  #nv-property-appointment {
    display: none !important;
  }

  #nv-property-mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    display: block;
    padding:
      9px
      max(12px, env(safe-area-inset-right))
      calc(9px + env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    background: rgba(250, 250, 251, 0.98);
    border-top: 1px solid rgba(10, 10, 10, 0.10);
    box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(16px) saturate(160%);
  }

  .nv-property-dock__nav {
    min-height: 28px;
    display: flex;
    align-items: center;
    margin-bottom: 7px;
  }

  .nv-property-dock__back {
    appearance: none;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    color: #111;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
  }

  .nv-property-dock__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  #nv-property-mobile-dock .nv-btn {
    min-height: 46px;
    padding-inline: 9px;
    border-radius: 13px;
    font-size: 12px;
    white-space: nowrap;
  }
}

/* Listing photo affordance. */
body.nv-property-page img.sp-image {
  cursor: zoom-in !important;
}

/* Full-screen mobile photo viewer. */
#nv-property-viewer {
  position: fixed;
  inset: 0;
  z-index: 100000000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.97);
  touch-action: pan-y;
}

#nv-property-viewer.is-open {
  display: flex;
}

#nv-property-viewer-image {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#nv-property-viewer-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

#nv-property-viewer-counter {
  position: absolute;
  top: max(23px, env(safe-area-inset-top));
  left: 50%;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

#nv-property-viewer-help {
  position: absolute;
  right: 20px;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  text-align: center;
}
