/* TriStar Realty - Version 26.0.0 */
:root {
  --black: #000;
  --gold: #d4af37;
  --ink: #111;
  --muted: #666;
  --paper: #fff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #fff;
  color: #111;
}

a {
  color: #111;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  background: #000;
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 8px;
  z-index: 60;
}

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  z-index: 50;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 0;
}

.brand-text {
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--ink);
  font-size: 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  flex-wrap: wrap;
}

.nav a {
  margin: 0;
  font-weight: 600;
  opacity: .9;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  opacity: 1;
}

.site-header .brand-text,
.site-header .nav a {
  color: #111;
}

.logo {
  width: 140px;
  height: auto;
  max-width: 100%;
}

@media (max-width: 600px) {
  .logo {
    width: 90px;
  }
}

@media (max-width: 400px) {
  .logo {
    width: 75px;
  }
}

.hero {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem 0;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, .45)),
    url('https://upload.wikimedia.org/wikipedia/commons/4/47/Mountain-sunset_view_from_Telluride_%28highsm.35833%29.jpg') center/cover no-repeat;
  filter: brightness(1.24) saturate(1.18) contrast(1.05);
}

.hero > * {
  position: relative;
}

.hero .kicker,
.hero h1,
.hero .lede {
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.kicker {
  color: #d1d5db;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .8rem;
}

.kicker:empty {
  display: none;
}

h1 {
  font-size: clamp(2.2rem, 3.6vw + 1rem, 3.4rem);
  margin: .25rem 0 1rem;
  color: #fff;
}

.lede {
  font-size: 1.1rem;
  color: #e5e7eb;
  max-width: 56ch;
  margin-inline: auto;
}

.actions {
  margin-top: 2.35rem;
  display: flex;
  gap: 1.35rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  font-weight: 800;
  color: #fff;
  background: #000;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
}

.store-badges {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
}

.store-badges a {
  display: inline-block;
}

.store-badges img {
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .store-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  .store-badges img {
    height: 44px;
  }
}

@media (max-width: 380px) {
  .store-badges img {
    height: 40px;
  }
}

.portal-icon {
  line-height: 1;
  color: #000;
  position: relative;
  display: inline-block;
}

.portal-icon svg {
  width: 36px;
  height: 36px;
  display: block;
  fill: currentColor;
}

.portal-icon::after {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  color: currentColor;
}

.section {
  padding: 3rem 0;
}

.card {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.card h3 {
  margin-top: 0;
}

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

.links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.links li {
  margin: .4rem 0;
}

.site-footer {
  background: #000;
  color: #d6d6d6;
  padding: 2.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 .6rem;
}

.site-footer a {
  color: #fff;
}

.site-footer .addr div {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: .9rem;
  color: #bfbfbf;
  text-align: center;
}

.footer-bottom .eho {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .35rem;
  color: #bfbfbf;
}

.footer-bottom .eho svg {
  width: 26px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -.15em;
  fill: currentColor;
  margin-right: .35rem;
}

.icon-phone {
  color: #d4af37;
}

.icon-house {
  color: #d4af37;
  width: 1.2em;
  height: 1.2em;
}

.icon-house:hover {
  color: #fff;
}

.icon-mail {
  color: #d4af37;
  width: 1.2em;
  height: 1.2em;
}

.icon-mail:hover {
  color: #fff;
}

.icon-fax {
  color: #d4af37;
  width: 1.35em;
  height: 1.35em;
}

.icon-fax * {
  stroke-width: 2.75px;
}

.icon-fax:hover {
  color: #fff;
}

.addr {
  display: grid;
  grid-template-columns: 1.9em 1fr;
  align-items: start;
  column-gap: .7rem;
}

.addr .icon-house {
  grid-row: 1 / span 3;
}

.card address {
  display: grid;
  grid-template-columns: 1.9em 1fr;
  column-gap: .7rem;
  font-style: normal;
}

.card address .icon-house {
  grid-row: 1 / span 3;
}

.iconlist {
  display: grid;
  grid-template-columns: 1.9em 1fr;
  column-gap: .7rem;
  row-gap: .5rem;
  align-items: center;
}

.iconlist .icon {
  margin-right: 0;
  vertical-align: middle;
}

.icontext-pad {
  padding-left: calc(1.9em + .7rem);
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* Form styles */
input, select, textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}

label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
}

.form-row {
  margin-bottom: 1rem;
}

/* Filter controls */
.filter-controls {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-controls input[type="search"] {
  max-width: 360px;
}

.filter-controls select {
  width: auto;
  min-width: 100px;
}
/* Mobile menu styles */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 100;
  }
  
  .nav.mobile-open {
    right: 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    position: relative;
  }
  
  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #111;
    transition: all 0.3s;
    display: block;
  }
  
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
  }

  .nav a {
    padding: 0.75rem 0;
    width: 100%;
  }
}

/* Button styles - missing variants */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
}

.btn-light {
  background: #f9fafb;
  color: #374151;
  border-color: #e5e7eb;
}

.btn-light:hover {
  background: #f3f4f6;
}

/* Unit card styles (for listings display) - Added for consistency */
.unit-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.unit-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}

.unit-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 8px;
}

.unit-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.unit-address {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
}

.unit-meta {
  color: #374151;
  font-size: 0.9rem;
}

.unit-price {
  font-weight: 800;
  font-size: 1.25rem;
  color: #111827;
  margin-top: 4px;
}

.unit-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.unit-actions .btn {
  flex: 1;
  min-width: fit-content;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  justify-content: center;
}

/* v26 header/footer size normalization */
header{padding:12px 0;}footer{padding:16px 0;}
header img.logo{max-height:48px;height:auto;width:auto;}
