/* SV San Luis: shared public presentation. Loaded after the legacy portal styles. */
:root {
  --sv2-paper: #ffffff;
  --sv2-paper-soft: #f5f8f8;
  --sv2-paper-deep: #eaf1f2;
  --sv2-surface: #ffffff;
  --sv2-ink: #203034;
  --sv2-ink-soft: #485f65;
  --sv2-muted: #64787e;
  --sv2-forest: #08757c;
  --sv2-forest-deep: #13393e;
  --sv2-forest-soft: #e5f4f3;
  --sv2-aqua: #08757c;
  --sv2-copper: #08757c;
  --sv2-line: #dde7e9;
  --sv2-success: #247364;
  --sv2-shadow-sm: 0 6px 24px rgb(26 63 70 / 6%);
  --sv2-shadow-md: 0 18px 50px rgb(26 63 70 / 12%);
  --sv2-serif: "Poppins", sans-serif;
  --sv2-sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
body.sv2-site { background: var(--sv2-paper); }
.sv2-site .sv2-header { border-bottom: 1px solid var(--sv2-line); background: rgb(255 255 255 / 97%); box-shadow: none; }
.sv2-site .sv2-brand-copy strong { font-size: 1.55rem; font-weight: 700; letter-spacing: -.055em; color: var(--sv2-aqua); }
.sv2-site .sv2-brand-copy span { font-size: .92rem; font-weight: 800; color: var(--sv2-ink); }
.sv2-site .sv2-nav > a { font-weight: 750; }
.sv2-site .sv2-nav > a[aria-current="page"] { color: var(--sv2-aqua); }
.sv2-site .sv2-nav > a::after { background: var(--sv2-aqua); height: 2px; }
.sv2-site .button { min-height: 46px; border-radius: 12px; font-weight: 800; letter-spacing: 0; }
.sv2-site .button-primary { background: var(--sv2-forest); border-color: var(--sv2-forest); color: white; box-shadow: none; }
.sv2-site .button-primary:hover { background: #065e65; border-color: #065e65; }
.sv2-site .button-ghost { background: white; border: 1px solid var(--sv2-line); box-shadow: none; }
.sv2-site .button-ghost:hover { background: var(--sv2-paper-soft); border-color: #a8c8cd; }
.sv2-site :is(input, select, textarea) { accent-color: var(--sv2-aqua); }
.sv2-site :is(input, select, textarea):focus-visible { outline: 2px solid var(--sv2-aqua); outline-offset: 2px; }
.sv2-site .sv2-overline { font-weight: 800; letter-spacing: .13em; }
.sv2-site .sv2-overline-light { color: #cde9e8; }
.sv2-site :is(.sv2-section-heading h2, .sv2-intention-copy h2, .sv2-development-copy h2, .sv2-agency-cta-copy h2) {
  font-size: clamp(1.8rem, 3.2vw, 2.65rem); font-weight: 600; line-height: 1.2; letter-spacing: -.04em;
}
.sv2-site .sv2-hero { min-height: 720px; }
.sv2-site .sv2-hero-content { padding: 74px 0 205px; }
.sv2-site .sv2-hero-copy { width: min(660px, 70vw); }
.sv2-site .sv2-hero-copy :is(h1,h2) { font-size: clamp(2.8rem, 4.5vw, 4.1rem); line-height: 1.13; font-weight: 600; letter-spacing: -.05em; }
.sv2-site .sv2-hero-lede { max-width: 540px; margin-top: 22px; font-size: 1.12rem; line-height: 1.6; color: #eff7f6; }
.sv2-site .sv2-hero-scrim { background: linear-gradient(90deg, rgb(15 39 45 / 80%), rgb(15 39 45 / 42%) 54%, rgb(15 39 45 / 5%)), linear-gradient(0deg, rgb(15 39 45 / 60%), transparent 55%); }
.sv2-site .sv2-hero-media img { filter: saturate(.95); }
.sv2-site .sv2-search-dock { background: white; border: 1px solid white; border-radius: 18px; box-shadow: 0 16px 44px rgb(5 35 42 / 22%); backdrop-filter: none; }
.sv2-site .sv2-search-mode input:checked + span { background: var(--sv2-forest-soft); color: #065c62; box-shadow: none; }
.sv2-site .sv2-search-mode input:focus-visible + span { outline: 2px solid var(--sv2-aqua); outline-offset: 1px; }
.sv2-site .sv2-search-field > span { color: var(--sv2-ink-soft); font-size: .68rem; letter-spacing: .075em; }
.sv2-site .sv2-search-field select { color: var(--sv2-ink); font-weight: 800; }
.sv2-site .sv2-trust-strip { background: var(--sv2-forest-deep); }
.sv2-site .sv2-trust-grid { min-height: 150px; padding-block: 26px; }
.sv2-site .sv2-trust-grid > p { font-family: var(--sv2-serif); font-size: 1.55rem; line-height: 1.25; letter-spacing: -.04em; }
.sv2-site .sv2-market-ticker { border-top-color: rgb(255 255 255 / 18%); }
.sv2-site .sv2-collection-tabs { border: 1px solid var(--sv2-line); border-radius: 14px; background: var(--sv2-paper-soft); padding: 5px; }
.sv2-site .sv2-collection-tabs button { min-height: 42px; border-radius: 10px; font-weight: 800; }
.sv2-site .sv2-property-grid { gap: 24px; align-items: stretch; }
.sv2-site .sv2-property-card { border: 1px solid var(--sv2-line); border-radius: 18px; background: white; box-shadow: var(--sv2-shadow-sm); }
.sv2-site .sv2-property-card:hover { border-color: #a7cace; box-shadow: 0 12px 30px rgb(26 63 70 / 10%); transform: translateY(-3px); }
.sv2-site .sv2-property-card-media { height: auto; min-height: 0; aspect-ratio: 4 / 3; border: 0; }
.sv2-site .sv2-property-card-media > img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.sv2-site .sv2-property-card-body { padding: 22px; gap: 15px; }
.sv2-site .sv2-property-card-head { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.sv2-site .sv2-property-card-head > div { min-width: 0; width: 100%; }
.sv2-site .sv2-property-card h3 { max-width: none; font-family: var(--sv2-serif); font-size: 1.17rem; font-weight: 600; line-height: 1.45; letter-spacing: -.03em; text-wrap: pretty; overflow-wrap: anywhere; }
.sv2-site .sv2-property-card .estate-card-type { color: var(--sv2-aqua); font-size: .68rem; letter-spacing: .14em; font-weight: 800; margin-bottom: 7px; }
.sv2-site .sv2-property-card-price { display: block; text-align: left; padding: 0; border: 0; background: none; border-radius: 0; }
.sv2-site .sv2-property-card-price strong { display: block; width: auto; padding: 0; border-radius: 0; background: none; color: var(--sv2-ink); font-family: var(--sv2-sans); font-size: 1.38rem; font-weight: 900; line-height: 1.3; letter-spacing: -.025em; }
.sv2-site .sv2-property-card-price span { display: block; margin-top: 5px; padding: 0; max-width: none; background: none; border: 0; color: var(--sv2-ink-soft); font-size: .78rem; line-height: 1.5; text-align: left; }
.sv2-site .sv2-property-card-summary { font-size: .84rem; line-height: 1.6; color: var(--sv2-ink-soft); }
.sv2-site .sv2-property-card-facts { display: flex; flex-wrap: wrap; gap: 7px; }
.sv2-site .sv2-property-card .estate-spec-chip { padding: 7px 9px; background: var(--sv2-paper-soft); border: 1px solid #edf2f3; border-radius: 7px; color: #405c62; font-size: .69rem; font-weight: 800; }
.sv2-site .sv2-property-card-foot { padding-top: 18px; border-top: 1px solid var(--sv2-line); gap: 10px; }
.sv2-site .sv2-property-card .estate-card-source { font-size: .75rem; }
.sv2-site .sv2-property-card .estate-card-source-meta { font-size: .65rem; }
.sv2-site .sv2-property-card .estate-card-cta { font-size: .76rem; }
.sv2-site .sv2-search-hero { padding-top: 46px; padding-bottom: 32px; }
.sv2-site .sv2-search-hero h1 { max-width: 850px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.2; letter-spacing: -.045em; }
.sv2-site .sv2-search-hero p { max-width: 720px; font-size: 1rem; line-height: 1.65; }
.sv2-site :is(.sv2-agency-hero h1,.sv2-development-hero-copy h1) { font-size: clamp(2.2rem,4.2vw,3.5rem); line-height: 1.16; font-weight: 600; letter-spacing: -.045em; }
.sv2-site :is(.sv2-agency-information h2,.sv2-agency-listing h2) { font-size: clamp(1.65rem,2.8vw,2.4rem); line-height: 1.25; font-weight: 600; letter-spacing: -.035em; }
.sv2-site .sv2-filter-panel { background: white; border-color: var(--sv2-line); box-shadow: none; border-radius: 16px; }
.sv2-site .sv2-filter-heading { background: var(--sv2-paper-soft); color: var(--sv2-ink); border-bottom-color: var(--sv2-line); }
.sv2-site .sv2-filter-heading h2 { font-size: 1.3rem; font-weight: 600; color: var(--sv2-ink); }
.sv2-site .sv2-filter-heading .sv2-overline { color: var(--sv2-aqua); }
.sv2-site .sv2-filter-heading .sv2-filter-heading-note { color: var(--sv2-ink-soft); }
.sv2-site .sv2-filter-count-badge.is-empty { background: var(--sv2-paper-deep); color: var(--sv2-ink-soft); }
.sv2-site .sv2-filter-heading .sv2-filter-close { background: white; color: var(--sv2-ink); border-color: var(--sv2-line); }
.sv2-site .sv2-filter-section { border-color: var(--sv2-line); }
.sv2-site .sv2-filter-section-number { background: var(--sv2-forest-soft); color: var(--sv2-aqua); }
.sv2-site .sv2-filter-form :is(input,select) { background: white; border: 1px solid #cfdde0; color: var(--sv2-ink); }
.sv2-site .sv2-filter-operation input:checked + span { background: var(--sv2-forest-soft); color: var(--sv2-aqua); border-color: #a6cfd1; }
.sv2-site .sv2-filter-price-grid label { background: transparent; }
.sv2-site .sv2-active-filters { background: var(--sv2-paper-soft); border-color: var(--sv2-line); }
.sv2-site .sv2-pagination a { border-color: var(--sv2-line); }
.sv2-site .sv2-footer { background: var(--sv2-forest-deep); color: #f3fafa; margin-top: 72px; }
.sv2-site .sv2-footer-brand strong { font-size: 1.4rem; font-weight: 600; }
.sv2-site .sv2-footer-brand span { font-family: var(--sv2-sans); font-size: 1rem; }
.sv2-site .sv2-footer-column a { min-height: 30px; }
.sv2-site .sv2-illustrative-label { display: inline-flex !important; }
.sv2-site .sv2-hero-illustrative { position: absolute; right: max(24px,calc((100vw - 1240px)/2)); top: 24px; z-index: 3; padding: 6px 10px; border-radius: 7px; color: white; background: rgb(15 39 45 / 65%); font-size: .68rem; letter-spacing: .03em; }
.sv2-site .portal-copy-status { display: inline-block; font-size: .8rem; color: var(--sv2-aqua); }
@media (max-width: 1040px) {
 .sv2-site .sv2-nav { background: white; }
 .sv2-site .sv2-hero-copy { width: min(620px,80vw); }
 .sv2-site .sv2-hero { min-height: 760px; }
 .sv2-site .sv2-property-card-body { padding: 19px; }
}
@media (max-width: 700px) {
 .sv2-site .sv2-brand-copy span { display: inline; font-size: .8rem; }
 .sv2-site .sv2-brand-copy strong { font-size: 1.35rem; }
 .sv2-site .sv2-hero { min-height: 800px; }
 .sv2-site .sv2-hero-content { align-items: flex-start; padding: 72px 0 360px; }
 .sv2-site .sv2-hero-copy { width: 100%; }
 .sv2-site .sv2-hero-copy :is(h1,h2) { font-size: clamp(2.05rem,8.8vw,2.7rem); max-width: 440px; line-height: 1.16; }
 .sv2-site .sv2-hero-lede { margin: 20px 0 24px; font-size: 1rem; max-width: 350px; }
 .sv2-site .sv2-hero-controls { bottom: 307px; }
 .sv2-site .sv2-search-dock { bottom: 24px; padding: 15px; grid-template-columns: 1fr 1fr; gap: 14px; width: calc(100% - 28px); }
 .sv2-site .sv2-search-mode { grid-column: 1/-1; min-width: 0; padding: 0; border: 0; }
 .sv2-site .sv2-search-mode span { min-height: 44px; padding: 0 8px; font-size: .78rem; }
 .sv2-site .sv2-search-field { padding: 0; border: 0; }
 .sv2-site .sv2-search-field > span { font-size: .62rem; min-height: 28px; letter-spacing: .045em; }
 .sv2-site .sv2-search-field select { min-height: 40px; font-size: 1rem; }
 .sv2-site .sv2-search-submit { grid-column: 1/-1; width: 100%; height: 48px; min-height: 48px; margin: 0; display: flex; gap: 8px; }
 .sv2-site .sv2-search-submit span:last-child { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
 .sv2-site .sv2-hero-illustrative { top: 18px; right: 14px; font-size: .6rem; }
 .sv2-site :is(.sv2-section-heading h2,.sv2-intention-copy h2,.sv2-agency-cta-copy h2) { font-size: 1.8rem; }
 .sv2-site .sv2-property-grid { gap: 22px; }
 .sv2-site .sv2-property-card h3 { font-size: 1.17rem; }
 .sv2-site .sv2-search-hero { padding-top: 32px; }
 .sv2-site .sv2-search-hero h1 { font-size: 2rem; line-height: 1.25; }
 .sv2-site .sv2-mobile-filter-button { min-height: 46px; }
 .sv2-site .sv2-filter-panel { border-radius: 20px 20px 0 0; }
 .sv2-site .sv2-filter-form :is(input,select) { font-size: 16px; }
 .sv2-site .sv2-footer { margin-top: 52px; }
}
.sv2-site .sv2-property-card-placeholder { display: flex; height: 100%; width: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--sv2-paper-deep); color: var(--sv2-ink-soft); font-size: .85rem; }
.sv2-site .sv2-property-card-placeholder > span:first-child { font-size: 3rem; }

/* Explicit opportunities are controlled by the agency's editor. */
.sv2-site .sv-opportunities { padding: 54px 0 60px; background: var(--sv2-forest-soft); border-block: 1px solid var(--sv2-line); }
.sv-opportunities-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.sv-opportunities-heading .eyebrow { color: var(--sv2-forest); margin: 0 0 9px; }
.sv-opportunities-heading h2 { color: var(--sv2-ink); font-family: var(--sv2-serif); font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.15; margin: 0; }
.sv-opportunities-heading > p { color: var(--sv2-ink-soft); line-height: 1.5; margin: 0; }
.sv2-site .sv-opportunities-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sv2-site .sv-opportunity-badge { position: relative; inset: auto; isolation: isolate; overflow: hidden; background: var(--sv2-forest); color: white; font-weight: 850; border: 1px solid rgb(255 255 255 / 36%); box-shadow: none; }
.sv-opportunity-badge::after { content: ''; position: absolute; inset: -60% -35%; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / 24%) 50%, transparent 65%); transform: translateX(-90%); animation: sv-opportunity-light 7s ease-in-out infinite; pointer-events: none; }
.sv2-site .sv2-property-card.is-opportunity { border-color: #a5ceca; }
.sv2-site .sv-property-page .sv2-property-labels .sv-opportunity-badge { margin: 0; background: var(--sv2-forest); color: white; }
.sv2-site .sv-opportunity-card { background: var(--sv2-surface); }
@keyframes sv-opportunity-light { 0%, 65% { transform: translateX(-90%); } 85%, 100% { transform: translateX(90%); } }
@media (max-width: 900px) {
  .sv-opportunities-heading { align-items: start; flex-direction: column; gap: 12px; }
  .sv2-site .sv-opportunities-grid { gap: 16px; }
}
@media (max-width: 700px) {
  .sv2-site .sv-opportunities { padding: 36px 0; }
  .sv2-site .sv-opportunities-grid { grid-template-columns: minmax(0, 1fr); }
  .sv-opportunities-heading > p br { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sv-opportunity-badge::after { animation: none; display: none; } }

/* Match the black canvas of Martínez Mora's current mark in public avatars. */
.sv2-site :is(.sv2-agency-logo, .estate-card-agent-logo, .sv2-agency-avatar):has(> img[src*="/agencies/agency-logo-69df89f0537004.74400055.jpg"]) {
  padding: 0;
  background: #000;
  border-color: #000;
}
.sv2-site :is(.sv2-agency-logo, .estate-card-agent-logo, .sv2-agency-avatar) > img[src*="/agencies/agency-logo-69df89f0537004.74400055.jpg"] {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

/* Distinguish owner resales while preserving the managing agency's identity. */
.sv2-site .sv2-motion-card .sv-particular-badge,
.sv2-site .sv2-property-flow-card .sv-particular-badge,
.sv2-site .property-badge.sv-particular-badge,
.sv2-site .sv-property-page .property-badge.sv-particular-badge {
    background: #f5e5ce;
    color: #69431d;
    border: 1px solid #d9bb91;
    box-shadow: none;
}
.sv2-site .estate-card-badges { flex-wrap: wrap; }
.sv2-site .sv-opportunities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1180px) {
    .sv2-site .sv-opportunities-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .sv2-site .sv-opportunities-grid:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .sv2-site .sv-opportunities-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
    .sv2-site .sv-property-page .sv2-detail-facts:has(> :nth-child(4)):not(:has(> :nth-child(5))) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
