/* ─── PAGE HERO ──────────────────────────────────────────────────────────── */
.sm-hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vw, 6rem);
  margin-top: var(--nav-h);
  overflow: hidden;
}
.sm-hero__bg {
  position: absolute;
  inset: 0;
}
.sm-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.2)  40%,
    rgba(0,0,0,0.78) 100%
  );
}
.sm-hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.sm-hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-block: 0.625rem 0.875rem;
}
.sm-hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}
.sm-hero__pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sm-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background var(--trans), color var(--trans), transform var(--trans);
}
.sm-pill:hover { background: var(--brand); color: var(--white); transform: translateY(-2px); }
.sm-pill--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.sm-pill--outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.sm-pill__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--brand);
  color: var(--white);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.sm-pill--outline:hover .sm-pill__badge { background: var(--dark); }


/* ─── BUILDING MAP ───────────────────────────────────────────────────────── */
.sm-building-map {
  padding: 4rem 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
}

.sm-bmap {
  max-width: 760px;
  margin: 0 auto;
}

/* Outer compound border — represents the land/site */
.sm-bmap__compound {
  background: #e8e6e3;
  border: 2px solid #c4c0bb;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
}

.sm-bmap__label-top {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.125rem;
}

/* Rows */
.sm-bmap__row { display: flex; gap: 0.875rem; }
.sm-bmap__row--top  { flex-direction: column; }
.sm-bmap__row--bottom { flex-direction: row; }

/* Individual building blocks */
.sm-bmap__block {
  background: var(--white);
  border: 1.5px solid #d0ccc7;
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
  position: relative;
}
.sm-bmap__block:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(163,26,0,0.12);
  transform: translateY(-2px);
  background: #fff9f8;
}

/* Full-width top block */
.sm-bmap__block--hughs { width: 100%; min-height: 110px; justify-content: center; align-items: flex-start; }

/* Bottom half blocks */
.sm-bmap__block--hughs-house,
.sm-bmap__block--hrc { flex: 1; min-height: 130px; }

/* Number badge */
.sm-bmap__block-num {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

/* Building name */
.sm-bmap__block-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

/* Type label */
.sm-bmap__block-type {
  font-size: 0.75rem;
  color: var(--text);
  margin-top: 0.125rem;
}

/* Coming Soon badge */
.sm-bmap__block-badge {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

/* Hover arrow hint */
.sm-bmap__block::after {
  content: '↓';
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  font-size: 0.75rem;
  color: var(--brand);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.sm-bmap__block:hover::after { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 600px) {
  .sm-bmap__row--bottom { flex-direction: column; }
  .sm-bmap__block--hughs { min-height: 90px; }
  .sm-bmap__block-name { font-size: 1rem; }
}


/* ─── LOCATION SECTIONS ──────────────────────────────────────────────────── */
.sm-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.sm-location--reverse { direction: rtl; }
.sm-location--reverse > * { direction: ltr; }
.sm-location--dark { background: var(--dark); color: var(--white); }

/* ─── DARK LOCATION GOLD ACCENT ─────────────────────────────────────────── */
.sm-location--dark .btn-primary            { background: var(--dark-accent); border-color: var(--dark-accent); }
.sm-location--dark .btn-primary:hover      { background: #8f7420; border-color: #8f7420; }
.sm-location--dark .btn-outline            { border-color: rgba(168,138,38,0.5); color: var(--dark-accent); }
.sm-location--dark .btn-outline:hover      { background: var(--dark-accent); color: var(--white); border-color: var(--dark-accent); }

.sm-location__media {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.sm-location__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.sm-location:hover .sm-location__media img { transform: scale(1.03); }

.sm-location__media-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-location__media-badge--light {
  background: var(--white);
  color: var(--dark);
}

.sm-location__body {
  display: flex;
  align-items: center;
}
.sm-location__inner {
  padding: clamp(2.5rem, 6vw, 5rem);
  max-width: 560px;
}

.sm-location__overline {
  display: block;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.sm-location--dark .sm-location__overline { color: var(--dark-accent) !important; }

.sm-location__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.sm-location--dark .sm-location__title { color: var(--white); }

.sm-location__desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1rem;
}
.sm-location--dark .sm-location__desc { color: rgba(255,255,255,0.6); }

.sm-location__facts {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-block: 1.75rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}
.sm-location--dark .sm-location__facts {
  border-color: rgba(255,255,255,0.1);
}

.sm-location__fact {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.sm-location__fact-label {
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  padding-top: 0.1rem;
}
.sm-location--dark .sm-location__fact-label { color: rgba(255,255,255,0.4); }
.sm-location__fact-value { color: var(--text); line-height: 1.55; }
.sm-location--dark .sm-location__fact-value { color: rgba(255,255,255,0.7); }

.sm-location__ctas {
  display: flex;
  flex-direction: row;
  gap: 0.875rem;
  flex-wrap: nowrap;
}

/* ─── COMING SOON OVERLAY ────────────────────────────────────────────────── */
.sm-coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(163,26,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-coming-soon-badge {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
}

/* ─── INTEREST BOX ───────────────────────────────────────────────────────── */
.sm-interest-box {
  background: rgba(163,26,0,0.06);
  border: 1px solid rgba(163,26,0,0.15);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}
.sm-interest-box__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.375rem;
}
.sm-interest-box__desc {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.65;
}

/* ─── MAP SECTION ────────────────────────────────────────────────────────── */
.sm-map-section {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: 4rem;
  background: var(--off-white);
}
.sm-map-embed {
  margin-top: 2.5rem;
  overflow: hidden;
  border-top: 3px solid var(--brand);
}
.sm-map-embed iframe { display: block; }

.sm-directions-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.sm-directions-info {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
  flex-wrap: wrap;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sm-location {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .sm-location__media { min-height: 300px; }
  .sm-location__body  { justify-content: flex-start; }
  .sm-location__inner { max-width: none; }
}

@media (max-width: 600px) {
  .sm-hero__pills         { flex-direction: column; align-items: flex-start; }
  .sm-location__fact      { grid-template-columns: 1fr; gap: 0.25rem; }
  .sm-directions-row      { flex-direction: column; align-items: flex-start; }
  .sm-location__ctas      { flex-direction: column; }
}
