/* ============================================================
   Housing Showcase page - custom styles
   ============================================================ */

/* ---------- Hero (photo band) ---------- */
.hs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 150px 0 122px;
  background-image:
    linear-gradient(100deg, rgba(7, 25, 43, 0.96) 0%, rgba(10, 42, 70, 0.9) 45%, rgba(13, 110, 132, 0.5) 100%),
    linear-gradient(0deg, rgba(7, 25, 43, 0.35), rgba(7, 25, 43, 0.15)),
    url("../images/storychief.jpeg");
  background-size: cover;
  background-position: center 30%;
}

.hs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(540px 380px at 88% 8%, rgba(20, 80, 168, 0.28), transparent 64%),
    radial-gradient(480px 360px at 4% 96%, rgba(78, 186, 40, 0.16), transparent 60%);
  pointer-events: none;
}

.hs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(620px 460px at 78% 26%, #000 0%, transparent 72%);
  mask-image: radial-gradient(620px 460px at 78% 26%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hs-hero-inner h2 {
  text-shadow: 0 2px 30px rgba(4, 18, 32, 0.5);
}

.hs-hero-inner .grad {
  background: linear-gradient(118deg, #ffffff 8%, #CFE8FF 45%, #9BE7DD 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--white);
}

.hs-hero-inner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.06rem;
  margin-bottom: 34px;
}

.hs-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hs-pill svg {
  width: 17px;
  height: 17px;
  color: #9BE7DD;
  transition: transform 0.3s ease;
}

.hs-pill:hover svg {
  transform: scale(1.2) rotate(-8deg);
}

.hs-hero .crumbs {
  color: rgba(255, 255, 255, 0.72);
}

.hs-hero-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hs-hero-btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Split ---------- */
.hs-split h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.55rem);
  line-height: 1.16;
  margin-bottom: 18px;
}

.hs-split h2 .grad {
  background: linear-gradient(120deg, var(--teal) 10%, var(--teal-dark) 55%, var(--green-dark) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--teal);
}

.hs-split p {
  color: var(--muted);
  margin-bottom: 16px;
}

.hs-split .check-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px 14px 48px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
  font-weight: 600;
  color: var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hs-split .check-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.hs-split .check-list li::before {
  left: 12px;
  top: 12px;
}

.hs-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  background: var(--teal-mist);
}

.hs-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
  transition: transform 0.55s ease;
}

.hs-media:hover img {
  transform: scale(1.04);
}

.hs-media-tag {
  position: absolute;
  bottom: 22px;
  left: 20px;
  font-family: var(--font-hand);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  background: linear-gradient(120deg, var(--teal), var(--teal-dark));
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 2;
}

/* ---------- Showcase cards ---------- */
.hs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.hs-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
  border-color: transparent;
}

.hs-card:hover {
  transform: translateY(-8px);
}

.hs-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.hs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hs-card:hover .hs-img img {
  transform: scale(1.06);
}

.hs-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(120deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
}

.hs-body {
  padding: 24px 26px 26px;
}

.hs-body h3 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.hs-loc {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.84rem;
  margin-bottom: 12px;
}

.hs-body > p {
  color: var(--muted);
  font-size: 0.92rem;
}

.hs-price {
  margin: 16px 0 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hs-price strong {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
}

/* ---------- Featured cards ---------- */
.hs-features .card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hs-features .card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 80, 168, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hs-features .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.hs-features .card:hover::after {
  opacity: 1;
}

.hs-features .card .icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--teal-mist);
  color: var(--teal);
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(20, 80, 168, 0.08);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hs-features .card .icon svg {
  width: 28px;
  height: 28px;
  transition: transform 0.35s ease;
}

.hs-features .card:hover .icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  transform: translateY(-3px) scale(1.05) rotate(-4deg);
  box-shadow: 0 12px 26px rgba(20, 80, 168, 0.32);
}

.hs-features .card:hover .icon svg {
  transform: scale(1.08);
}

.hs-features .card h3 {
  font-size: 1.1rem;
  position: relative;
}

.hs-features .card p {
  position: relative;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hs-hero {
    padding: 130px 0 90px;
  }

  .hs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .hs-hero {
    padding: 130px 0 72px;
  }

  .hs-grid {
    grid-template-columns: 1fr;
  }

  .hs-media-tag {
    bottom: 14px;
    left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-hero::after,
  .hs-media:hover img,
  .hs-img img,
  .hs-card,
  .hs-features .card,
  .hs-features .card::after,
  .hs-features .card .icon,
  .hs-features .card .icon svg,
  .hs-pill svg {
    transition: none;
  }
}