:root {
  --ink: #16202b;
  --ink-soft: #52616f;
  --line: #dfe5ea;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --brand: #2f5fd6;
  --brand-dark: #2149b0;
  --brand-tint: #ebf1ff;
  --logo-blue: #6d95ff;
  --radius: 12px;
  --wrap: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  border-bottom: 3px solid var(--logo-blue);
  backdrop-filter: saturate(180%) blur(6px);
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand-logo { height: 58px; width: auto; }

.site-head nav { display: flex; align-items: center; gap: 1.25rem; }
.site-head nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; padding: .3rem 0; }
.site-head nav a:hover { color: var(--brand-dark); }
.site-head nav a[aria-current="page"] {
  color: var(--brand-dark); font-weight: 600; box-shadow: inset 0 -2px 0 var(--brand);
}
.menu-btn { display: none; }
.site-head nav .nav-cta {
  background: var(--brand); color: #fff; padding: .45rem 1rem;
  border: 2px solid var(--brand); border-radius: 999px; font-weight: 600; white-space: nowrap;
}
.site-head nav .nav-cta:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.site-head nav .nav-phone { background: #fff; color: var(--brand-dark); margin-right: -.5rem; }
.site-head nav .nav-phone:hover { background: var(--brand-tint); color: var(--brand-dark); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--brand-tint), #fff);
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
  font-weight: 700; color: var(--brand); margin-bottom: .75rem;
}
.hero h1 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); letter-spacing: -.02em; max-width: 30ch; }
.lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 80ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; border: 2px solid var(--brand);
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--brand-dark); }
.btn-ghost:hover { background: var(--brand-tint); }

/* Sections */
.section { padding: 2.5rem 0; }
.wrap.section { padding-left: var(--gutter); padding-right: var(--gutter); }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: 1.6rem; letter-spacing: -.01em; margin-bottom: 1rem; }

/* Listing */
.listing {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(22, 32, 43, .05);
}
.listing-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; flex-wrap: wrap; padding: 1.1rem 1.25rem .6rem;
}
.badge {
  display: inline-block; background: var(--brand-tint); color: var(--brand-dark);
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .6rem;
}
.badge-off { background: #eceff1; color: var(--ink-soft); }
.listing-head h1 { font-size: 1.5rem; letter-spacing: -.01em; }
.listing-loc { color: var(--ink-soft); margin: 0; }

.price { text-align: right; }
.rent { font-size: 1.7rem; font-weight: 700; margin: 0; line-height: 1.2; }
.rent span { font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.rent-ask { font-size: 1.1rem; }
.rent-ask span { display: block; }
.deposit { color: var(--ink-soft); font-size: .9rem; margin: .2rem 0 0; }

.facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0; padding: 0 1.5rem 1.25rem;
}
.facts li {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px;
  padding: .4rem .75rem; font-size: .92rem; color: var(--ink-soft);
}
.facts strong { color: var(--ink); }

/* Gallery */
.gallery {
  grid-area: gallery; display: grid; gap: 4px; background: var(--line);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.shot { display: block; overflow: hidden; background: var(--bg-alt); }
.shot img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3;
  transition: transform .25s ease;
}
.shot:hover img { transform: scale(1.03); }

.listing-body { padding: 1.1rem 1.25rem; }
.listing-desc { max-width: 90ch; }

.incl { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin: 1.5rem 0; align-items: start; }
.incl-card { border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem .6rem; background: var(--bg-alt); }
.incl-yes { background: var(--brand-tint); border-color: #c9d7f7; }
.incl-yes h2 { color: var(--brand-dark) !important; }
.incl h2 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-soft); margin-bottom: .6rem;
}
.ticks { list-style: none; margin: 0; padding: 0; columns: 2; }
.ticks-plain { columns: 1; }
.ticks li { padding-left: 1.4rem; position: relative; margin-bottom: .3rem; break-inside: avoid; }
.ticks li::before {
  content: ""; position: absolute; left: .25rem; top: .55rem;
  width: .45rem; height: .75rem; border: solid var(--brand);
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ticks-plain li::before {
  border-width: 0; background: var(--ink-soft); border-radius: 50%;
  width: .4rem; height: .4rem; top: .7rem; transform: none;
}

.listing-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.fineprint { color: var(--ink-soft); font-size: .9rem; margin: 1rem 0 0; }

/* Steps */
.steps {
  list-style: none; counter-reset: step; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem;
}
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: .75rem;
}
.steps h2 { font-size: 1.05rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Page header (inner pages) */
.page-head {
  background: linear-gradient(180deg, var(--brand-tint), #fff);
  padding: 2.75rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); letter-spacing: -.02em; }
.page-head .lede { margin: 0; }

.center { justify-content: center; text-align: center; }

/* Simple line icons */
.icon {
  width: 44px; height: 44px; padding: 10px; border-radius: 50%;
  background: var(--brand-tint); stroke: var(--brand); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: .75rem;
}

/* Rental cards (home + rentals page) — each links to a unit's detail page */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: .85rem; }
.card {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: stretch;
  text-decoration: none; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 32, 43, .05);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(22, 32, 43, .1); transform: translateY(-2px); }
.card img { width: 100%; height: 100%; min-height: 112px; object-fit: cover; }
.card-body { padding: .7rem .9rem; align-self: center; }
.card-body .badge { font-size: .68rem; padding: .15rem .5rem; margin-bottom: .4rem; }
.card-body h2, .card-body h3 { font-size: 1rem; margin-bottom: .15rem; }
.card-loc { color: var(--ink-soft); font-size: .88rem; margin: 0 0 .35rem; }
.card-meta { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.card-meta strong { color: var(--ink); font-size: 1.05rem; }
.see-all { margin: 1rem 0 0; font-weight: 600; }
.see-all a { text-decoration: none; }
.back-link { display: inline-block; margin-bottom: 1rem; font-weight: 600; text-decoration: none; }
.empty-note { color: var(--ink-soft); margin: 0; }
.empty-note h1 { font-size: 1.5rem; color: var(--ink); }
.card-nophoto { background: var(--brand-tint); min-height: 112px; }
.cards[aria-busy="true"] { min-height: 112px; }

/* Home: features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem;
}
.feature .icon { width: 38px; height: 38px; padding: 8px; margin-bottom: .5rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.feature p { margin: 0; color: var(--ink-soft); }

/* Home: call-to-action band */
.cta-band { background: var(--brand); color: #fff; padding: 2.25rem 0; text-align: center; }
.cta-band h2 { font-size: 1.6rem; }
.cta-band p { color: #dbe5ff; }
.cta-band .hero-actions { justify-content: center; }
.btn-light { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn-light:hover { background: var(--brand-tint); border-color: var(--brand-tint); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.about-main p { max-width: 90ch; }
.about-side { display: grid; gap: 1rem; }
.panel { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.panel h2 { font-size: 1.05rem; }
.panel p, .panel .ticks { margin: 0; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }
.contact-card {
  display: block; text-align: center; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-card:hover { border-color: var(--brand); box-shadow: 0 6px 20px rgba(22, 32, 43, .08); }
.contact-card .icon { margin-left: auto; margin-right: auto; }
.contact-card h2 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft);
}
.contact-value { font-size: 1.2rem; font-weight: 700; color: var(--brand-dark); margin: 0 0 .25rem; word-break: break-word; }
.contact-card p:last-child { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* Footer */
.site-foot { background: var(--ink); color: #c7d1da; padding: 2rem 0; font-size: .88rem; }
.site-foot p { margin: 0 0 .5rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1rem; }
.foot-nav a { color: #fff; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.eho { color: #91a0ad; max-width: 80ch; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(10, 15, 20, .92);
  display: flex; align-items: center; justify-content: center; padding: 3rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff;
  border: 0; border-radius: 50%; width: 48px; height: 48px;
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* Mobile menu: links collapse behind a Menu button (shown stacked if JavaScript is off) */
@media (max-width: 1000px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
    padding: .45rem 1rem; font: inherit; font-weight: 600; cursor: pointer;
  }
  .menu-btn::before {
    content: ""; width: 16px; height: 2px; background: currentColor;
    box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  }
  .site-head nav {
    width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: .25rem 0 1rem;
  }
  html:not(.js) .menu-btn { display: none; }
  .js .site-head nav { display: none; }
  .js .site-head nav.open { display: flex; }
  .site-head nav a {
    font-size: 1.05rem; padding: .8rem .25rem; border-bottom: 1px solid var(--line);
  }
  .site-head nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); padding-left: .75rem; }
  .site-head nav .nav-cta { margin-top: .75rem; text-align: center; padding: .7rem; border-bottom: 2px solid var(--brand); }
  .site-head nav .nav-phone { margin-right: 0; margin-top: 1rem; }
}

@media (max-width: 760px) {
  .head-inner { min-height: 56px; padding-top: .5rem; padding-bottom: .5rem; }
  .brand-logo { height: 46px; }
  .hero { padding: 2.5rem 0 2rem; }
  .page-head { padding: 2rem 0 1.25rem; }
  .section { padding: 2rem 0; }
  .feature { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: start; }
  .feature .icon { grid-row: span 2; margin: 0; }
  .features, .contact-cards, .about-grid { grid-template-columns: 1fr; }
  .listing-head h1 { font-size: 1.3rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .incl { grid-template-columns: 1fr; gap: 1rem; }
  .ticks { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .listing-head { padding: 1.25rem 1.25rem .5rem; }
  .price { text-align: left; }
  .facts { padding: 0 1.25rem 1rem; }
  .listing-body { padding: 1.25rem; }
  .btn { width: 100%; text-align: center; }
  .lightbox { padding: 1rem; }
  .lb-prev, .lb-next { bottom: 1rem; top: auto; }
}

/* Wide screens: unit detail puts photos left, details right so nothing sits in empty space */
@media (min-width: 1100px) {
  .listing {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    grid-template-areas: "head head" "facts facts" "gallery body";
  }
  .listing-head { grid-area: head; }
  .facts { grid-area: facts; }
  .listing-body { grid-area: body; border-top: 1px solid var(--line); }
  .gallery { border-bottom: 0; }
  .incl { grid-template-columns: 1fr 1fr; }
  .ticks { columns: 1; }
}
