/* Solaris Bonhooghly Phase 1 - Special Features page */

/* ---------- Banner (same as the location banner) ---------- */
.sf-hero svg, .sf-details svg, .sf-cards svg{fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;}
.sf-hero{position: relative; overflow: hidden; isolation: isolate; display: flex; min-height: 640px; background: rgb(18, 22, 26); color: #ffffff;}
.sf-hero-bg{position: absolute; inset: 0; z-index: -2;}
.sf-hero-bg img{width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; display: block; transform: scale(1.08); animation: lcKen 14s cubic-bezier(0.22, 1, 0.36, 1) forwards;}
@keyframes lcKen{to{transform: scale(1);}}
.sf-hero-shade{position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(12, 14, 16, 0.75) 0%, rgba(12, 14, 16, 0.42) 42%, rgba(12, 14, 16, 0.05) 75%),
  linear-gradient(180deg, rgba(12, 14, 16, 0.15) 0%, rgba(12, 14, 16, 0) 40%, rgba(12, 14, 16, 0.5) 100%);}
.sf-hero-inner{flex: 1; display: flex; align-items: center; width: 100%; max-width: 1400px; margin: 0 auto; padding: clamp(28px, 5vh, 64px) clamp(16px, 4vw, 56px);}
.sf-hero-copy{max-width: 640px; animation: sol-rise 900ms ease both;}
.sf-hero .pj-badge{margin-bottom: 22px;}
.sf-hero .pj-hero2-title{font-size: clamp(46px, 5.2vw, 84px);}
.sf-hero .pj-hero2-title em{display: block; margin-top: 0.1em; font-size: 0.55em; letter-spacing: -0.02em;}
.sf-hero .pj-hero2-lead{max-width: 480px;}
@media (max-width: 720px){
  .sf-hero{min-height: 0;}
  .sf-hero-shade{background: linear-gradient(180deg, rgba(12, 14, 16, 0.2) 0%, rgba(12, 14, 16, 0.1) 25%, rgba(12, 14, 16, 0.6) 50%, rgba(12, 14, 16, 0.9) 100%);}
  .sf-hero-inner{align-items: flex-end; padding: 18px 16px 18px;}
  .sf-hero .pj-hero2-crumb{gap: 6px; margin-bottom: 14px; font-size: 12px;}
  .sf-hero .pj-badge{margin-bottom: 12px; padding: 5px 11px; font-size: 10.5px; letter-spacing: 0.05em;}
  .sf-hero .pj-hero2-title{font-size: clamp(38px, 11vw, 48px); line-height: 0.95; letter-spacing: -0.04em;}
  .sf-hero .pj-hero2-lead{max-width: none; margin-top: 12px; font-size: 14.5px; line-height: 1.55;}
  .sf-hero .pj-hero2-cta{gap: 10px; margin-top: 18px;}
  .sf-hero .pj-hero2-btn{flex: 1 1 0; justify-content: center; min-height: 46px; padding: 0 12px; gap: 8px; font-size: 14px; white-space: nowrap;}
  .sf-hero .pj-hero2-btn svg{width: 16px; height: 16px;}
}
@media (prefers-reduced-motion: reduce){
  .sf-hero-bg img{animation: none; transform: none;}
  .sf-hero-copy{animation: none;}
}

/* ---------- Your space under the sun + feature index ---------- */
.sf-h2{font-size: clamp(34px, 3.8vw, 56px); font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; color: rgb(26, 20, 16);}
.sf-h2 em{display: block; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 400; color: rgb(240, 90, 40);}
.sf-intro-head{display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(30px, 3.6vw, 52px);}
.sf-intro-text{padding-left: clamp(18px, 2vw, 26px); border-left: 2px solid rgb(240, 90, 40);}
.sf-intro-text p{font-family: "Source Serif 4", Georgia, serif; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: rgb(74, 70, 64);}
.sf-intro-text p + p{margin-top: 10px;}
.sf-intro-text .sf-quote{font-style: italic; color: rgb(240, 90, 40);}
.sf-cards{display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px);}
.sf-card{position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 1.8vw, 26px); padding-bottom: 64px; border-radius: 22px; background: #ffffff; box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.06), 0 26px 50px -40px rgba(26, 20, 16, 0.45); color: rgb(26, 20, 16); transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms ease;}
.sf-card:hover{transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(240, 90, 40, 0.28), 0 32px 60px -36px rgba(240, 90, 40, 0.5);}
.sf-card-ico{margin-bottom: 6px; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 18px; background: #fff5f0;}
.sf-card-ico img{width: 32px; height: 32px; object-fit: contain;}
.sf-card h3{font-size: 18px; font-weight: 600; letter-spacing: -0.01em;}
.sf-card p{font-size: 13.5px; line-height: 1.5; color: rgb(110, 98, 90);}
.sf-card-go{position: absolute; left: clamp(20px, 1.8vw, 26px); bottom: 18px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(26, 20, 16, 0.12); transform: rotate(90deg); transition: background 300ms ease, border-color 300ms ease, color 300ms ease;}
.sf-card-go svg{width: 15px; height: 15px;}
.sf-card:hover .sf-card-go{background: rgb(240, 90, 40); border-color: rgb(240, 90, 40); color: #ffffff;}

/* ---------- Feature navigator ---------- */
/* the page wrapper clips sideways overflow without becoming a scroll box, so the navigator can stick */
.ic1{overflow-x: clip; overflow-y: visible;}
.sf-nav{position: sticky; top: var(--sf-nav-h, 76px); z-index: 40; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(26, 20, 16, 0.07);}
.sf-nav-inner{position: relative; display: flex; justify-content: center; gap: 4px; max-width: 1320px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 56px); overflow-x: auto; scrollbar-width: none;}
.sf-nav-inner::-webkit-scrollbar{display: none;}
.sf-nav-link{flex: 0 0 auto; padding: 9px 16px; border-radius: 99px; font-size: 13.5px; font-weight: 500; color: rgb(61, 49, 41); white-space: nowrap; transition: background 240ms ease, color 240ms ease;}
.sf-nav-link:hover{background: #fff5f0; color: rgb(26, 20, 16);}
.sf-nav-link.is-on{background: rgb(26, 20, 16); color: #ffffff;}
.sf-nav-bar{position: absolute; left: 0; right: 0; bottom: 0; height: 2px;}
.sf-nav-bar i{display: block; height: 100%; width: 100%; background: linear-gradient(90deg, rgb(240, 90, 40), rgb(255, 150, 100)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%;}

/* ---------- Every feature in full: alternating rows ---------- */
.sf-row{display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; padding: clamp(36px, 4.5vw, 64px) 0; scroll-margin-top: calc(var(--sf-nav-h, 76px) + 50px);}
.sf-row + .sf-row{border-top: 1px solid rgba(26, 20, 16, 0.07);}
.sf-row--flip .sf-media{order: 2;}
.sf-media{position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 30px; box-shadow: 0 40px 80px -50px rgba(26, 20, 16, 0.55);}
.sf-media > img{width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 1.4s cubic-bezier(0.16, 0.84, 0.44, 1);}
.sf-media.is-in > img{transform: none;}
.sf-media-ico{position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.45);}
.sf-media-ico img{width: 36px; height: 36px; object-fit: contain;}
.sf-title{margin: 4px 0 18px; font-size: clamp(28px, 2.8vw, 42px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; color: rgb(26, 20, 16);}
.sf-text{display: grid; gap: 14px;}
.sf-text p{font-size: 15px; line-height: 1.7; color: rgb(74, 70, 64);}
.sf-text .sf-lead{font-family: "Source Serif 4", Georgia, serif; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: rgb(61, 49, 41);}
.sf-text h4{font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(240, 90, 40);}
.sf-text .sf-note{font-size: 12.5px; font-style: italic; color: rgb(140, 122, 110);}
.sf-btn{justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 99px; background: rgb(240, 90, 40); color: #ffffff; font: 600 14.5px/1 Outfit, system-ui, sans-serif; cursor: pointer; transition: background 260ms ease, transform 260ms ease;}
.sf-btn svg{width: 17px; height: 17px;}
.sf-btn:hover{background: rgb(26, 20, 16); color: #ffffff; transform: translateY(-2px);}
.sf-prices{display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;}
.sf-price{display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; background: #ffffff; box-shadow: 0 0 0 1.5px rgba(240, 90, 40, 0.4), 0 20px 40px -30px rgba(240, 90, 40, 0.6);}
.sf-price span{font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; color: rgb(110, 98, 90);}
.sf-price b{font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: rgb(26, 20, 16);}
.sf-price em{justify-self: start; margin-top: 4px; padding: 4px 10px; border-radius: 99px; background: rgba(46, 158, 91, 0.12); font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(30, 120, 66);}
.sf-price.is-sold{box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.08);}
.sf-price.is-sold b{text-decoration: line-through; text-decoration-color: rgba(240, 90, 40, 0.6); color: rgb(140, 122, 110);}
.sf-price.is-sold em{background: rgba(26, 20, 16, 0.08); color: rgb(110, 98, 90);}
.sf-stats{display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none;}
.sf-stats li{padding: 16px; border-radius: 18px; background: #ffffff; box-shadow: 0 0 0 1px rgba(240, 90, 40, 0.14);}
.sf-stats b{display: block; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; line-height: 1; color: rgb(240, 90, 40);}
.sf-stats span{display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.4; color: rgb(110, 98, 90);}
.sf-blocks{display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;}
.sf-blocks > div{display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 18px; background: #ffffff; box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.06);}
.sf-blocks p{font-size: 14px;}
.sf-dist{display: grid; margin: 0; padding: 0; list-style: none;}
.sf-dist li{display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(26, 20, 16, 0.08); font-size: 15px; color: rgb(26, 20, 16);}
.sf-dist i{display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: #fff5f0; color: rgb(240, 90, 40);}
.sf-dist svg{width: 18px; height: 18px;}
.sf-dist b{font-family: "Source Serif 4", Georgia, serif; font-size: 18px; font-weight: 400; color: rgb(240, 90, 40);}
.sf-list{display: grid; gap: 8px; margin: 0;}
.sf-list div{display: grid; grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: #ffffff; box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.06);}
.sf-list dt{font-size: 14.5px; font-weight: 600; color: rgb(26, 20, 16);}
.sf-list dd{margin: 0; font-size: 14px; color: rgb(110, 98, 90);}
.sf-checks{display: grid; gap: 10px; margin: 0; padding: 0; list-style: none;}
.sf-checks li{position: relative; padding: 14px 16px 14px 46px; border-radius: 14px; background: #ffffff; box-shadow: 0 0 0 1px rgba(26, 20, 16, 0.06); font-size: 14.5px; line-height: 1.55; color: rgb(61, 49, 41);}
.sf-checks li::before{content: "\2713"; position: absolute; left: 16px; top: 15px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgb(240, 90, 40); font-size: 11px; font-weight: 700; color: #ffffff;}

/* ---------- Closing card ---------- */
.sf-cta-card{display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: clamp(28px, 4vw, 54px); border-radius: 30px; background: radial-gradient(520px 260px at 100% 0%, rgba(240, 90, 40, 0.3), transparent 70%), linear-gradient(150deg, rgb(36, 30, 26), rgb(18, 15, 13)); color: #ffffff; box-shadow: 0 40px 80px -50px rgba(16, 12, 10, 0.8);}
.sf-cta-k{font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255, 150, 112);}
.sf-cta-t{margin-top: 10px; font-size: clamp(28px, 3vw, 44px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em;}
.sf-cta-t em{display: block; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 400; color: rgb(255, 150, 112);}
.sf-cta-actions{display: flex; flex-wrap: wrap; gap: 12px;}

@media (max-width: 1000px){
  .sf-intro-head{grid-template-columns: minmax(0, 1fr);}
  .sf-cards{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .sf-row{grid-template-columns: minmax(0, 1fr);}
  .sf-row--flip .sf-media{order: 0;}
  .sf-media{aspect-ratio: 16 / 10;}
  .sf-nav-inner{justify-content: flex-start;}
}
@media (max-width: 600px){
  .sf-cards{grid-template-columns: minmax(0, 1fr);}
  .sf-prices, .sf-blocks, .sf-stats{grid-template-columns: minmax(0, 1fr);}
  .sf-list div{grid-template-columns: minmax(0, 1fr); gap: 2px;}
  .sf-media{aspect-ratio: 4 / 3; border-radius: 22px;}
  .sf-nav-link{padding: 8px 13px; font-size: 13px;}
  .sf-cta-actions{width: 100%;}
  .sf-cta-actions .pj-hero2-btn{flex: 1 1 auto; justify-content: center;}
}
@media (prefers-reduced-motion: reduce){
  .sf-media > img, .sf-card{transition: none; transform: none;}
}

/* ---------- scroll parallax (values fed by special-features.js) ---------- */
.sf-hero-bg{translate: 0 var(--hb, 0px); will-change: translate;}
.sf-hero-inner{translate: 0 var(--hc, 0px); opacity: var(--ho, 1); will-change: translate, opacity;}
.sf-media > img{height: 118%; margin-top: -9%; transform: none; scale: 1.06; translate: 0 var(--py, 0px); transition: scale 1.4s cubic-bezier(0.16, 0.84, 0.44, 1); will-change: translate;}
.sf-media.is-in > img{transform: none; scale: 1;}
.sf-media-ico{translate: 0 var(--pi, 0px); transition: box-shadow 300ms ease;}
.sf-body{translate: 0 var(--pb, 0px);}
@media (prefers-reduced-motion: reduce){
  .sf-hero-bg, .sf-hero-inner, .sf-media > img, .sf-media-ico, .sf-body{translate: none; opacity: 1;}
}

/* scroll mask: the frame opens from an inset window as the photo enters */
.sf-media{will-change: clip-path;}
.sf-media > img{transition: none;}
.sf-media > img{scale: calc(1 + var(--pm, 0) * 0.22);}
.sf-media.is-in > img{scale: calc(1 + var(--pm, 0) * 0.22);}
.sf-media-ico{opacity: calc(1 - var(--pm, 0) * 3); scale: calc(1 - var(--pm, 0) * 0.6);}
@media (prefers-reduced-motion: reduce){
  .sf-media > img, .sf-media.is-in > img, .sf-media-ico{scale: none; opacity: 1;}
}

/* index cards slide up one by one; the slide rides on `translate` so the hover lift (transform) stays instant */
.sf-cards .sf-card.reveal{--d: 0ms; opacity: 0; transform: none; translate: 0 80px; transition: opacity 800ms ease var(--d), translate 1000ms cubic-bezier(0.22, 1, 0.36, 1) var(--d), transform 400ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms ease;}
.sf-cards .sf-card.reveal:nth-child(2){--d: 160ms;}
.sf-cards .sf-card.reveal:nth-child(3){--d: 320ms;}
.sf-cards .sf-card.reveal:nth-child(4){--d: 480ms;}
.sf-cards .sf-card.reveal.is-in{opacity: 1; translate: none;}
.sf-cards .sf-card.reveal.is-in:hover{transform: translateY(-5px);}
@media (max-width: 720px){
  .sf-cards .sf-card.reveal{--d: 0ms; translate: 0 50px;}
}
@media (prefers-reduced-motion: reduce){
  .sf-cards .sf-card.reveal{opacity: 1; translate: none; transition: none;}
}

/* banner: buttons sit under the lead (Joka inner-page banner), not in a side column */
#top.pj-hc.sf-hero .pj-hc-copy{max-width: 760px; grid-template-columns: minmax(0, 1fr);}
#top.pj-hc.sf-hero .pj-hc-copy > .pj-hero2-cta{grid-column: 1; grid-row: auto; align-self: start; margin-top: 28px;}
@media (max-width: 720px){
  #top.pj-hc.sf-hero .pj-hc-copy > .pj-hero2-cta{margin-top: 20px;}
}

/* space above the first feature (under the sticky feature menu): half of the section + row top padding */
.sf-details.pj-section{padding-top: clamp(28px, 3.5vw, 42px);}
.sf-details .sf-row:first-child{padding-top: clamp(18px, 2.25vw, 32px);}
