/* ViHome — one stylesheet. Accent is the red from the ViHome logo (#d50000).
   Layout cues: fsresidential.com/ontario and propertymanagementto.com. */

:root {
  --red: #d50000;
  --red-deep: #a80000;
  --red-tint: #fdecec;
  --ink: #17181a;
  --ink-soft: #55585e;
  --line: #e8e5e1;
  --paper: #ffffff;
  --tint: #f7f5f2;
  --dark: #1b1c1f;
  --dark-2: #26282c;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.07);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.05), 0 18px 40px rgba(0,0,0,.12);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }
.h2 { font: 400 clamp(2.2rem, 4.4vw, 3.4rem)/1.08 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.h2 em { font-style: normal; color: var(--red); }
.lead { font-size: 1.12rem; color: var(--ink-soft); margin: 18px 0 0; max-width: 54ch; }
.section__head { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head .eyebrow { justify-content: center; }

/* ---------- icons ---------- */
.icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; flex: none; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 36px; height: 36px; background: var(--red-tint); color: var(--red); }
.icon--sm svg { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 15px/1 var(--sans); padding: 15px 26px; border-radius: 999px; transition: background .2s, color .2s, box-shadow .2s;
}
.btn:has(.btn__arrow) { padding: 7px 7px 7px 24px; }
.btn__arrow { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; }
.btn__arrow::before {
  content: ''; width: 15px; height: 15px; transition: transform .2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d50000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn:hover .btn__arrow::before { transform: rotate(45deg); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--tint); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- header: utility bar + nav. Transparent over the hero, solid white once scrolled ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background .25s, box-shadow .25s, color .25s; }
.site-header.is-solid { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 28px rgba(0,0,0,.07); }
.site-header.is-static { position: sticky; }

.util { background: rgba(8,8,10,.5); border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.82); font-size: 13px; max-height: 44px; overflow: hidden; transition: max-height .25s, border-color .25s; }
.is-solid .util { max-height: 0; border-bottom-color: transparent; }
.util__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.util p { margin: 0; display: flex; align-items: center; gap: 24px; }
.util__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
a.util__item:hover { color: #fff; }
.util__item svg { width: 15px; height: 15px; fill: none; stroke: #ff4545; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.util__item--strong { color: #fff; font-weight: 600; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); }

.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding .25s; }
.is-solid .nav__inner { padding-top: 8px; padding-bottom: 8px; }
.nav__logo { display: block; }
.nav__logo img { height: 72px; width: auto; transition: height .25s; }
.is-solid .nav__logo img { height: 54px; }
.logo--dark, .is-solid .logo--light { display: none; }
.is-solid .logo--dark { display: block; }
.nav__menu { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav__menu > a:not(.btn), .nav__drop-btn {
  font: 500 15px/1 var(--sans); color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 10px 0; position: relative;
}
.site-header:not(.is-solid) .nav__menu > a:not(.btn), .site-header:not(.is-solid) .nav__drop-btn { text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.nav__menu > a:not(.btn)::after, .nav__drop-btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.nav__menu > a:not(.btn):hover::after, .nav__drop-btn:hover::after, .nav__menu .is-active::after { transform: scaleX(1); }
.chev { display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: translateY(-3px) rotate(45deg); margin-left: 6px; }
.site-header:not(.is-solid) .chev { border-color: #fff; }
.nav__drop { position: relative; }
.nav__drop-list {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 10px 10px; box-shadow: var(--shadow-lift); padding: 8px; min-width: 230px; display: none;
}
.nav__drop-list a { display: block; padding: 10px 14px; border-radius: 6px; text-decoration: none; font: 500 15px/1.3 var(--sans); color: var(--ink); text-shadow: none; }
.nav__drop-list a:hover { background: var(--red-tint); color: var(--red-deep); }
.nav__drop.open .nav__drop-list { display: block; }
@media (hover: hover) and (min-width: 901px) {
  .nav__drop:hover .nav__drop-list, .nav__drop:focus-within .nav__drop-list { display: block; }
  .nav__drop::before { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
}

.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: inherit; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__logo img { height: 56px; }
  .is-solid .nav__logo img { height: 46px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 20px; box-shadow: 0 14px 24px rgba(0,0,0,.08); display: none;
  }
  .nav__menu.open { display: flex; }
  .nav__menu > a:not(.btn), .nav__drop-btn { padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; font-size: 16px; text-shadow: none !important; }
  .nav__menu > a:not(.btn)::after, .nav__drop-btn::after { display: none; }
  .site-header .chev { border-color: var(--red); }
  .nav__drop-list { position: static; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .nav__drop.open .nav__drop-list { display: block; }
  .nav__cta { margin-top: 18px; justify-content: space-between; }
}
@media (max-width: 760px) {
  .util__left { display: none !important; }
  .util__inner { justify-content: center; }
}
@media (max-width: 380px) { .util__item--strong { display: none; } }

/* ---------- hero: copy on the left, home finder on the right ---------- */
.hero { position: relative; min-height: clamp(660px, 94vh, 880px); display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,14,.86) 0%, rgba(12,12,14,.62) 50%, rgba(12,12,14,.3) 100%), linear-gradient(0deg, rgba(12,12,14,.5), transparent 45%), linear-gradient(180deg, rgba(12,12,14,.55), transparent 28%); }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 196px; padding-bottom: 150px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 400px); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero h1 { font: 400 clamp(2.5rem, 4.5vw, 3.9rem)/1.06 var(--serif); letter-spacing: -.015em; max-width: 16.5ch; }
.hero h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: .09em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: rgba(255,255,255,.86); max-width: 50ch; margin: 22px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--ink); }

.finder { background: #fff; color: var(--ink); border-radius: 18px; border-top: 4px solid var(--red); padding: 26px 24px 20px; box-shadow: 0 30px 70px rgba(0,0,0,.4); display: grid; gap: 10px; }
.finder__title { margin: 0 0 6px; font: 400 1.65rem/1.15 var(--serif); }
.finder__field { position: relative; display: grid; gap: 3px; padding: 10px 14px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.finder__field span { font: 600 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.finder__field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0 24px 0 0; margin: 0; width: 100%; font: 500 16px/1.4 var(--sans); color: var(--ink); cursor: pointer; }
.finder__field select:focus-visible { outline: none; }
.finder__field::after { content: ''; position: absolute; right: 16px; bottom: 18px; width: 7px; height: 7px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); pointer-events: none; }
.finder__field:hover { border-color: #d8d2cb; }
.finder__field:focus-within { border-color: var(--red); background: #fff; }
.finder__go { justify-content: space-between; margin-top: 6px; }
.finder__count { margin: 2px 0 0; text-align: center; font-size: .92rem; color: var(--ink-soft); }
.finder__count strong { color: var(--red); font-size: 1.05rem; }
.finder__owner { display: block; text-align: center; padding-top: 12px; border-top: 1px solid var(--line); font: 600 14px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.finder__owner:hover { color: var(--red); }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 170px; }
  .finder { max-width: 460px; }
}
@media (max-width: 700px) {
  .hero__inner { padding-top: 150px; padding-bottom: 110px; }
  .hero::after { background: linear-gradient(180deg, rgba(12,12,14,.7), rgba(12,12,14,.75)); }
}

.hero--home .hero__inner { grid-template-columns: minmax(0, 800px); }
.hero--home h1 { max-width: 19ch; }
.hero--rent .hero__inner { padding-bottom: 80px; }

/* inner pages: a shorter photo banner under the transparent header */
.page-hero { position: relative; min-height: clamp(380px, 52vh, 500px); display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); color: #fff; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,14,.84) 0%, rgba(12,12,14,.55) 60%, rgba(12,12,14,.35) 100%), linear-gradient(180deg, rgba(12,12,14,.6), transparent 40%); }
.page-hero__inner { position: relative; z-index: 1; width: 100%; padding-top: 180px; padding-bottom: 64px; }
.page-hero h1 { font: 400 clamp(2.6rem, 5.2vw, 4.2rem)/1.05 var(--serif); letter-spacing: -.015em; }
.page-hero h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: .09em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.page-hero .hero__sub { max-width: 56ch; }
@media (max-width: 700px) { .page-hero__inner { padding-top: 150px; padding-bottom: 48px; } }

/* ---------- audience cards (overlap the hero) ---------- */
.paths { position: relative; z-index: 2; margin-top: -88px; }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.path {
  display: block; text-decoration: none; background: #fff; padding: 30px 30px 28px; box-shadow: var(--shadow-lift);
  border-top: 4px solid transparent; transition: border-color .2s, transform .2s;
}
.path + .path { border-left: 1px solid var(--line); }
.path:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.path:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.path:hover { border-top-color: var(--red); transform: translateY(-3px); }
.path h2 { font: 400 1.7rem/1.15 var(--serif); margin: 18px 0 8px; }
.path p { margin: 0; color: var(--ink-soft); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 600 14px/1 var(--sans); color: var(--red); }
.link::after { content: ''; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
a:hover .link::after, .prop--link:hover .link::after { transform: translateX(3px) rotate(45deg); }
@media (max-width: 860px) {
  .paths { margin-top: -56px; }
  .paths__grid { grid-template-columns: 1fr; gap: 12px; }
  .path, .path:first-child, .path:last-child { border-radius: var(--radius); }
  .path + .path { border-left: 0; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .h2 { color: #fff; }

/* who we are */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.checks strong { color: var(--ink); font-weight: 600; }
.check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin-top: 1px; }
.check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__grid .photo { max-width: 520px; aspect-ratio: 4 / 3; } }

.body { margin: 16px 0 0; color: var(--ink-soft); max-width: 60ch; }
.link--lg { margin-top: 26px; font-size: 15px; }
.about__grid--story { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 860px) { .about__grid--story { grid-template-columns: 1fr; } }
.stats--inline { margin-top: 30px; }
.stats--band { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats--band div { padding: 6px 28px; }
@media (max-width: 760px) { .stats--band { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } .stats--band div:nth-child(3) { padding-left: 0; border-left: 0; } }

.cta-band { background: var(--dark); color: #fff; padding: clamp(48px, 7vw, 80px) 0; border-top: 4px solid var(--red); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band .h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.cta-band p { margin: 10px 0 0; color: rgba(255,255,255,.75); max-width: 52ch; }
body:has(main > .cta-band:last-child) .footer { border-top: 1px solid rgba(255,255,255,.1); }

.svc-rows { display: grid; gap: clamp(56px, 8vw, 96px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; scroll-margin-top: 90px; }
.svc-row:nth-child(even) > .photo { order: 2; }
.svc-row .photo { aspect-ratio: 4 / 3; }
.svc-row__title { margin: 18px 0 0; font: 400 clamp(1.9rem, 3vw, 2.4rem)/1.1 var(--serif); }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) > .photo { order: 0; } }

.contact__notes { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; color: var(--ink-soft); }
.contact__notes p { margin: 0; }
.contact__notes strong { color: var(--ink); }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.svc:hover { box-shadow: var(--shadow); border-color: transparent; }
.svc h3 { font: 600 1.12rem/1.3 var(--sans); margin: 20px 0 8px; }
.svc p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 1020px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.cards { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards--3 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: #ece8e3; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card__none { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; color: #8d8780; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.card__none svg { width: 64px; height: auto; margin: 0 auto; fill: none; stroke: currentColor; stroke-width: 2.5; }
.card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.more { margin-top: clamp(30px, 4vw, 44px); }

/* properties: totals + compact tiles (most properties have no photo yet) */
.props__head { display: grid; grid-template-columns: 1fr auto; gap: 28px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.props__head .lead { max-width: 46ch; }
.stats { display: flex; margin: 0; }
.stats div { display: flex; flex-direction: column; gap: 8px; padding: 4px 36px; border-left: 1px solid #d9d3cc; }
.stats dd { order: 1; }
.stats dt { order: 2; }
.stats dd.stats__sub { order: 3; margin-top: -2px; font: 500 13px/1.3 var(--sans); color: var(--ink-soft); }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats dd { margin: 0; font: 400 3.6rem/1 var(--serif); color: var(--red); }
.stats dt { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

.prop__area { margin: 0; font: 600 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

.dir { border-top: 2px solid var(--ink); }
.dir__group { display: grid; grid-template-columns: 220px 1fr; gap: 0 40px; padding: 26px 0 30px; border-bottom: 1px solid #d9d3cc; }
.dir__area { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 0; font: 600 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.dir__n { font: 400 13px/1 var(--sans); letter-spacing: 0; color: var(--ink-soft); }
.dir__list { list-style: none; margin: 0; padding: 0; }
.dir__list > li { display: block; }
.dir__row { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(110px, .7fr) minmax(0, 1.4fr) 130px; align-items: baseline; gap: 6px 24px; padding: 14px 12px; margin: 0 -12px; transition: background .2s; }
.dir__list > li + li { border-top: 1px solid #e6e1db; }
a.dir__row { color: inherit; text-decoration: none; }
.dir__name { font: 400 1.4rem/1.2 var(--serif); color: var(--ink); transition: color .2s; }
.dir__meta { font-size: .92rem; color: var(--ink-soft); }
.dir__mix { font-size: .92rem; color: var(--ink); }
.dir__go { margin: 0; justify-self: end; white-space: nowrap; }
.dir__go--none { font-size: .85rem; color: #9a948d; }
.dir__row.prop--link { cursor: pointer; }
.dir__row.prop--link:hover { background: #fff; }
.dir__row.prop--link:hover .dir__name { color: var(--red); }
.dir__row:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (max-width: 960px) {
  .dir__group { grid-template-columns: 1fr; }
  .dir__area { margin: 0 0 8px; }
}
@media (max-width: 760px) {
  .props__head { grid-template-columns: 1fr; }
  .dir__row { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .dir__name { grid-column: 1; }
  .dir__go { grid-column: 2; grid-row: 1; }
  .dir__meta, .dir__mix { grid-column: 1 / -1; }
  .stats div { padding: 4px 24px; }
}

/* rentals */
.filters {
  display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: stretch;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; overflow: hidden;
}
.filter { display: grid; gap: 2px; padding: 14px 22px; border-right: 1px solid var(--line); position: relative; cursor: pointer; }
.filter__label { font: 600 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.filter select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 2px 24px 2px 0; margin: 0;
  font: 500 16px/1.4 var(--sans); color: var(--ink); cursor: pointer; width: 100%;
}
.filter::after { content: ''; position: absolute; right: 24px; bottom: 22px; width: 7px; height: 7px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); pointer-events: none; }
.filter select:focus-visible { outline: none; }
.filter:focus-within { background: var(--red-tint); }
.filters__count { margin: 0; display: grid; place-items: center; padding: 0 26px; background: var(--red); color: #fff; font: 600 15px/1.2 var(--sans); white-space: nowrap; }
@media (max-width: 760px) {
  .filters { grid-template-columns: 1fr; }
  .filter { border-right: 0; border-bottom: 1px solid var(--line); }
  .filters__count { padding: 14px; }
}
.rentals__status { text-align: center; margin: 0 0 22px; min-height: 1.6em; font-size: .95rem; color: var(--ink-soft); }
.rentals__status button { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 4px 12px; margin-left: 8px; cursor: pointer; font: 500 13px/1.2 var(--sans); }
.rentals__status button:hover { border-color: var(--red); color: var(--red); }

.rental .card__body { padding: 18px 22px 22px; }
.rental__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rental__price { margin: 0; font: 700 1.5rem/1.2 var(--sans); letter-spacing: -.01em; }
.rental__price small { font-size: .8rem; color: var(--ink-soft); font-weight: 500; }
.rental__avail { font: 600 12px/1 var(--sans); color: var(--red-deep); background: var(--red-tint); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.rental__unit { margin: 8px 0 0; font-weight: 600; }
.rental__spec { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-soft); font-size: .92rem; }
.rental__ask { align-self: flex-start; margin-top: 16px; font: 600 14px/1 var(--sans); color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.rental__ask::after { content: ''; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.rental__ask:hover { color: var(--red-deep); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); opacity: .9; transition: opacity .2s;
}
.carousel__btn:hover { opacity: 1; color: var(--red); }
.carousel__btn::before { content: ''; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.carousel__btn--prev { left: 10px; } .carousel__btn--prev::before { transform: translateX(2px) rotate(45deg); }
.carousel__btn--next { right: 10px; } .carousel__btn--next::before { transform: translateX(-2px) rotate(-135deg); }
.carousel__dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.carousel__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); }
.carousel__dots span.on { background: #fff; }
.section__lead { margin: 16px auto 0; text-align: center; }
.rental { cursor: pointer; transition: box-shadow .25s, transform .25s; }
.rental:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.rental:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.rental .prop__area { margin-bottom: 8px; }
.rental__onreq { font: 600 1rem/1.4 var(--sans); color: var(--ink-soft); }
.rental__avail--tbc { background: #eeeae5; color: var(--ink-soft); }
.rental__more { margin: 10px 0 0; font-size: .86rem; color: var(--red-deep); }
.rental__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.rental__actions .rental__ask { margin-top: 0; }
.rental__details { font: 600 14px/1 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: #cfc8c0; text-underline-offset: 4px; }
.rental:hover .rental__details { text-decoration-color: var(--red); }
.badge--count { left: auto; right: 12px; top: auto; bottom: 12px; background: rgba(23,24,26,.72); }
.rental .carousel__dots { display: none; }

/* listing details */
body:has(.ld[open]) { overflow: hidden; }
.ld { width: min(1120px, calc(100vw - 32px)); height: min(720px, calc(100vh - 48px)); max-height: none; padding: 0; border: 0; border-radius: 18px; box-shadow: 0 40px 100px rgba(0,0,0,.45); overflow: hidden; color: var(--ink); }
.ld[open] { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); }
.ld::backdrop { background: rgba(12,12,14,.72); backdrop-filter: blur(3px); }
.ld__close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.2); font: 400 26px/1 var(--sans); color: var(--ink); cursor: pointer; }
.ld__close:hover { color: var(--red); }
.ld__gallery { display: flex; flex-direction: column; min-height: 0; background: #111; }
.ld__main { position: relative; flex: 1; min-height: 0; background: #ece8e3; }
.ld__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ld__count { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font: 600 12px/1 var(--sans); }
.ld__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; background: #111; }
.ld__thumbs button { flex: none; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .2s; }
.ld__thumbs button:hover, .ld__thumbs button.on { opacity: 1; }
.ld__thumbs button.on { border-color: var(--red); }
.ld__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ld__body { padding: 34px 32px 30px; overflow-y: auto; }
.ld__title { margin: 6px 48px 0 0; font: 400 2rem/1.12 var(--serif); }
.ld__avail { display: inline-block; margin: 16px 0 0; font-size: 13px; padding: 8px 12px; }
.ld__price { margin: 16px 0 0; }
.ld__desc { margin: 16px 0 0; color: var(--ink-soft); }
.ld__features { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.ld__features li { position: relative; padding-left: 26px; font-size: .95rem; }
.ld__features li::before { content: ''; position: absolute; left: 2px; top: 4px; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.ld__actions { margin-top: 26px; }
@media (max-width: 860px) {
  .ld { height: auto; max-height: calc(100vh - 32px); overflow-y: auto; }
  .ld[open] { display: block; }
  .ld__main { flex: none; aspect-ratio: 4 / 3; }
  .ld__body { overflow: visible; padding: 26px 22px 26px; }
}
.rentals__empty { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 40px 0; }
.rentals__empty a { color: var(--red); }

/* testimonials */
.quote { margin: 0; background: var(--dark-2); border-radius: var(--radius); padding: 30px 28px; border-top: 3px solid var(--red); }
.quote::before { content: '\201C'; display: block; font: 400 64px/0.6 var(--serif); color: var(--red); height: 28px; }
.quote p { font: 400 1.3rem/1.4 var(--serif); margin: 0; color: #fff; }
.quote-note { margin: 14px auto 0; color: rgba(255,255,255,.7); text-align: center; }
.quote footer { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.65); }
.quote--placeholder { background: transparent; border: 1.5px dashed rgba(255,255,255,.25); border-top: 3px solid var(--red); }
.quote--placeholder p { color: rgba(255,255,255,.6); font-style: italic; }

/* contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; font: 600 13px/1.2 var(--sans); color: var(--ink); }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 0; background: #fff; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { justify-self: start; }
.form__note { margin: 0; font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 800px) { .contact__grid, .form__row { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 56px 0 28px; font-size: .94rem; border-top: 4px solid var(--red); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 6px; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { height: 64px; width: auto; background: #fff; border-radius: 10px; padding: 4px 10px; }
.footer__brand p { margin: 0; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; } .footer nav a:hover { color: #fff; }
.footer__legal { padding-top: 22px; font-size: .85rem; color: rgba(255,255,255,.5); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
