/* ===========================================================================
   PAGE SECTIONS — uses design tokens from global.css (8px grid)
=========================================================================== */

/* ===========================================================================
   HERO
=========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-sizing: border-box;
  /* Full viewport height */
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + var(--space-5)) 0 var(--space-16);
  color: var(--color-white);
}

.hero-shell-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-shell-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Slight scroll parallax (JS sets --py). Oversized scale hides vertical crawl edge. */
img.is-parallax {
  --py: 0px;
  will-change: transform;
  transform: translate3d(0, var(--py), 0) scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  img.is-parallax {
    transform: none;
    will-change: auto;
  }
}

.hero-shell-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 60%,
    var(--color-black) 100%
  );
  pointer-events: none;
	z-index: 1;
}

.hero-shell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 90%,
    var(--color-white) 100%
  );
  pointer-events: none;
	z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1 1 auto;
  color: var(--color-white);
}

.hero-badge {
	height: var(--space-4);
	padding: 0 var(--space-2);
	border: 1px solid rgba(255,255,255,0.24);
	border-radius: var(--radius-pill);
	background: rgba(255,255,255,0.2);
	width: fit-content;
	margin-top: var(--space-1);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	line-height: 0;
	color: var(--color-white);
	display: block;
	align-content: center;
}

.hero-title {
  max-width: 624px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-display);
  line-height: var(--space-7);
  color: var(--color-white);
  text-transform: none;
}

.hero-lead {
  max-width: 504px;
  margin-top: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: var(--color-white);
}

.hero-actions {
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
}

.hero-stats {
  display: flex;
  gap: var(--space-1);
  width: min(480px, 100%);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.5);
}

.hero-stat {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
}

.hero-stat-value {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-80);
  line-height: 1;
  letter-spacing: -1.6px;
}

.hero-stat-label {
  margin-top: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 16px;
}

.hero-rics {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.55);
}

.hero-rics-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: rgba(255,255,255,0.64);
}

.hero-rics-logo {
  width: 136px;
  height: var(--space-6);
  object-fit: contain;
}

/* ===========================================================================
   ABOUT
=========================================================================== */
.about {
  position: relative;
  z-index: 2;
  padding: 0 0 var(--space-10);
  background: transparent;
}

.about::after {
  content: "";
  position: absolute;
  inset: var(--space-5) 0 0;
  z-index: -1;
  opacity: 0.3;
  background: linear-gradient(180deg, var(--color-white) 20%, #7f90e9 50%, var(--color-white) 100%);
  pointer-events: none;
}

.about-stack {
  position: absolute;
  top: calc(var(--space-6) * -1);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

:root {
  --about-card-width: 100%;
}

.about-layer {
  display: block;
  height: var(--space-2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.about-layer--1 {
  width: calc(var(--about-card-width) - 120px - var(--space-3));
  background: rgba(255, 255, 255, 0.25);
}

.about-layer--2 {
  width: calc(var(--about-card-width) - var(--space-12));
  background: rgba(255, 255, 255, 0.5);
}

.about-layer--3 {
  width: calc(var(--about-card-width) - var(--space-6));
  background: rgba(255, 255, 255, 0.75);
}

.about-card {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: calc(var(--space-5) * -1);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 24px 64px rgba(11, 11, 11, 0.06);
}

.about-card-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.about-label {
  flex: 0 0 432px;
  max-width: 432px;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: var(--color-ink);
}

.about-icon-wrap {
	position: absolute;
	left: 0;
	bottom: 0;
	opacity: 1;
}

.about-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.about-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: var(--space-5);
  letter-spacing: -0.64px;
  color: var(--color-black);
  text-wrap: pretty;
}

.about-sub {
  margin: 0;
  max-width: 640px;
  font-size: var(--text-md);
  line-height: 1.6;
  color: #475569;
  text-wrap: pretty;
}

.about-watermark {
  position: absolute;
  left: 0;
  top: var(--space-12);
  width: 152px;
  height: 200px;
  opacity: 0.08;
  pointer-events: none;
  object-fit: contain;
}

/* ===========================================================================
   SERVICES — sticky pin + scroll-linked horizontal track
=========================================================================== */
.services {
  --services-gap: var(--space-4);
  --services-card-w: 360px;
  background: var(--color-white);
}

.services-pin {
  position: relative;
}

.services-sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  height: auto;
  min-height: 100dvh;
  padding: var(--space-8) 0 var(--space-6);
  overflow-x: hidden;
  overflow-y: visible;
  background: var(--color-white);
}

/* Keep Bootstrap .container from expanding with the wide card track */
.services-sticky > .container {
  width: 100%;
  min-width: 0;
}

.services .section-head {
  margin-bottom: var(--space-6);
}

.services-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
}

/* Track starts on the container content edge and bleeds right */
.services-stage {
  position: relative;
  min-width: 0;
}

.services-viewport {
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.services-track {
  display: flex;
  align-items: stretch;
  gap: var(--services-gap);
  width: max-content;
  max-width: none;
  padding-right: var(--space-3);
}

.service-card {
  flex: 0 0 var(--services-card-w);
  width: var(--services-card-w);
  box-sizing: border-box;
}

.service-card-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card-link {
  transform: translateY(-4px);
}

.service-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(360px, 38dvh);
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #e8eef5;
  flex-shrink: 0;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.service-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-26);
  line-height: 1.25;
  letter-spacing: var(--tracking-tight);
  color: var(--color-ink);
  flex-shrink: 0;
}

.service-card-text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-subtle);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}

.services-hint {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: #64748b;
}

.services-hint i {
  font-size: var(--text-md);
  color: var(--color-navy);
  animation: services-hint-nudge 1.4s ease-in-out infinite;
}

@keyframes services-hint-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* All cards fit: no pin stretch — normal stacked section */
.services--static .services-pin {
  height: auto !important;
}

.services--static .services-sticky {
  position: relative;
  height: auto;
  min-height: 0;
  justify-content: flex-start;
}

/* Reduced motion: native horizontal pan instead of scroll-jacking */
.services--native .services-pin {
  height: auto !important;
}

.services--native .services-sticky {
  position: relative;
  height: auto;
  min-height: 0;
  justify-content: flex-start;
  overflow: visible;
}

.services--native .services-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.services--native .service-card {
  scroll-snap-align: start;
}

.services--native .services-track {
  transform: none !important;
  will-change: auto;
}

@media (max-width: 992px) {
  .services {
    --services-gap: var(--space-2);
  }

  .services-sticky {
    min-height: 0;
    padding: var(--space-5) 0;
  }

  .services-hint {
    display: inline-flex;
  }
}

/* Mobile — vertical list */
@media (max-width: 768px) {
  .services {
    --services-gap: 0;
    --services-card-w: 100%;
  }

  .services-sticky {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    overflow: visible;
    padding: var(--space-4) 0;
  }

  .services-track {
    flex-direction: column;
    width: 100%;
    padding-right: 0;
    transform: none !important;
    will-change: auto;
  }

  .service-card {
    flex: none;
    width: 100%;
    border-bottom: 1px solid #e8edf3;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-card-link {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: var(--space-2);
    row-gap: var(--space-0-5);
    align-items: start;
    padding: var(--space-2) 0;
    transform: none;
  }

  .service-card:hover .service-card-link {
    transform: none;
  }

  .service-card-media {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: 72px;
    height: 72px;
    aspect-ratio: auto;
    border-radius: var(--radius-sm);
  }

  .service-card-media img {
    transition: none;
  }

  .service-card:hover .service-card-media img {
    transform: none;
  }

  .service-card-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: var(--text-18);
    line-height: var(--space-3);
    margin: 0;
  }

  .service-card-text {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0;
    font-size: var(--text-sm);
    line-height: var(--space-2);
    -webkit-line-clamp: 2;
  }

  .services-hint {
    display: none;
  }

  .services-head-actions {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .service-card-link {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .service-card-media {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hint i {
    animation: none;
  }

  .service-card-link,
  .service-card-media img {
    transition: none;
  }

  .service-card:hover .service-card-link {
    transform: none;
  }

  .service-card:hover .service-card-media img {
    transform: none;
  }
}

/* ===========================================================================
   WHY / RICS
=========================================================================== */
.why {
  background: var(--color-dark);
  color: #e9e9e9;
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 504px) minmax(0, 672px);
  gap: var(--space-15);
  align-items: center;
  justify-content: space-between;
}

.why-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.why-label {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: #e9e9e9;
}

.why-title {
  max-width: 456px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: var(--space-5);
  letter-spacing: -0.64px;
  color: var(--color-white);
}

.why-rule {
  display: block;
  width: 152px;
  height: 2px;
  margin: var(--space-1) 0;
  background: rgba(255,255,255,0.2);
}

.why-rics {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.why-rics-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: rgba(255,255,255,0.64);
}

.why-rics-logo {
  width: 136px;
  height: var(--space-6);
  object-fit: contain;
}

.why-text {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: #e9e9e9;
}

.why-media {
  min-height: 424px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-ink);
}

.why-media img {
  width: 100%;
  height: 100%;
  min-height: 424px;
  object-fit: cover;
}

/* ===========================================================================
   STORY
=========================================================================== */
.story {
  overflow: hidden;
  color: #e9e9e9;
  background: var(--gradient-story);
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.story-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  max-width: 896px;
  margin: 0 auto;
}

.story-media {
  position: relative;
  width: 100%;
  max-width: 896px;
  height: 448px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.story-credit {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-0.5);
}

.story-credit-name {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-white);
}

.story-credit-role {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
}

.story-label {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: #e9e9e9;
}

.story-title {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: var(--space-5);
  letter-spacing: -0.64px;
  color: var(--color-white);
}

.story-rule {
  display: block;
  width: 152px;
  height: 2px;
  background: rgba(255,255,255,0.2);
}

.story-text-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 544px;
  font-family: var(--font-ui);
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: #e9e9e9;
}

/* ===========================================================================
   PROPERTIES
=========================================================================== */
.properties {
  background: var(--color-white);
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.property-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.property-card-media {
  position: relative;
  width: 100%;
  height: 272px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--gradient-blue);
  display: block;
  contain: layout paint;
}

.property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.property-card:hover .property-card-media img,
.property-card-media:hover img,
.property-card-media:focus-visible img,
.property-card-hit:hover .property-card-media img,
.property-card-hit:focus-visible .property-card-media img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .property-card-media img {
    transition: none;
  }

  .property-card:hover .property-card-media img,
  .property-card-media:hover img,
  .property-card-media:focus-visible img,
  .property-card-hit:hover .property-card-media img,
  .property-card-hit:focus-visible .property-card-media img {
    transform: none;
  }
}

.property-card-media-shade {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 68%;
  background: radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.85) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.property-card-status {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
	right: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: var(--space-3);
  padding: 0 var(--space-1);
  border: 1px solid rgba(27,41,120,0.24);
  border-radius: 0 var(--radius-pill) var(--radius-pill) var(--radius-pill);
  background: var(--color-white);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--color-navy);
}

.property-card-price {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-2xl);
  line-height: 1;
  color: var(--color-white);
}

/* Corner “go” cue on card image */
.property-card-go {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: var(--text-20);
  box-shadow: 0 4px 14px rgba(11, 11, 11, 0.12);
  opacity: 0;
  transform: translate(-4px, -4px) scale(0.92);
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.property-card:hover .property-card-go,
.property-card-hit:hover .property-card-go,
.property-card-hit:focus-visible .property-card-go,
.property-card-media:hover .property-card-go,
.property-card-media:focus-visible .property-card-go {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@media (hover: none) {
  .property-card-go {
    opacity: 0.95;
    transform: none;
  }
}

.property-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: var(--space-4);
  letter-spacing: -0.48px;
  color: var(--color-ink);
  text-wrap-style: pretty;
}

.property-card-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.property-card-title a:hover {
  color: var(--color-navy);
}

.property-card-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.property-card-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: var(--text-13);
  font-weight: 500;
  color: #475569;
}

.property-card-facts i {
  font-size: var(--text-md);
  color: var(--color-navy);
}

.property-card-text {
  min-height: var(--space-6);
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: var(--color-subtle);
  text-wrap-style: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Full card hit used on home + listing + similar */
.property-card-hit {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.property-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  min-width: 0;
}

.property-card-hit .property-card-title {
  margin: 0;
  transition: color 0.2s ease;
}

.property-card-hit:hover .property-card-title,
.property-card-hit:focus-visible .property-card-title {
  color: var(--color-navy);
}

.property-card-hit:focus-visible .property-card-media {
  box-shadow: 0 0 0 3px rgba(27, 41, 120, 0.35);
  outline: none;
}
.reviews {
  background: var(--color-light-blue);
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.reviews-grid {
  --review-h: 320px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: var(--review-h);
  gap: var(--space-2);
  align-items: stretch;
}

.review-media,
.review-card,
.review-more {
  height: var(--review-h);
  min-height: var(--review-h);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.review-media {
  overflow: hidden;
}

.review-media--wide {
  grid-column: span 2;
}

.review-media img,
.review-more-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3);
	padding-bottom: 0;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27, 41, 120, 0.12);
  }
}

.review-head {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 0 0 auto;
}

.review-avatar {
  flex: 0 0 var(--space-5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-5);
  height: var(--space-5);
  border-radius: 50%;
  background: rgba(27,41,120,0.5);
  color: var(--color-white);
  font-size: var(--text-sm);
}

.review-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-md);
  color: var(--color-ink);
}

.review-when {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  font-size: var(--text-lg);
  line-height: 1;
  color: #f4b400;
}

.review-stars i {
  display: block;
  flex-shrink: 0;
}

/* Truncated at rest; hover auto-scrolls full text into view (JS) */
.review-text {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: var(--color-ink);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  transition: mask-image 0.35s ease, -webkit-mask-image 0.35s ease;
}

.review-text::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.review-card.is-scrolling-text .review-text,
.review-card:hover .review-text {
  mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
}

.review-card.is-text-end .review-text {
  mask-image: none;
  -webkit-mask-image: none;
}

@media (prefers-reduced-motion: reduce) {
  .review-card {
    transition: none;
  }

  .review-card:hover {
    transform: none;
  }
}

.review-more {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: transparent;
}

.review-more-media {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-ink);
}

.review-more-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================================================================
   CTA / VISIT
=========================================================================== */
.cta {
  background: var(--color-white);
  content-visibility: auto;
  contain-intrinsic-size: 1px 560px;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 384px);
  gap: var(--space-7);
  align-items: stretch;
}

.cta-media {
	aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-black);
}

.cta-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.cta-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
}

.cta-label {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: var(--color-body);
}

.cta-title {
  margin-top: var(--space-2);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: var(--space-5);
  letter-spacing: -0.64px;
  color: var(--color-black);
}

.cta-rule {
  display: block;
  width: var(--space-14);
  height: 2px;
  margin: var(--space-2) 0;
  background: rgba(0,0,0,0.2);
}

.cta-text {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  line-height: var(--space-3);
  color: var(--color-subtle);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ===========================================================================
   INSIGHTS (dark default + light listing)
=========================================================================== */
.insights {
  background: var(--color-dark);
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.article-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.article-card-media {
  height: 224px;
  overflow: hidden;
  background: var(--color-navy);
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-media img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .article-card,
  .article-card-media img {
    transition: none;
  }

  .article-card:hover {
    transform: none;
  }

  .article-card:hover .article-card-media img {
    transform: none;
  }
}

.article-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 176px;
  padding: var(--space-2);
  flex: 1 1 auto;
}

.article-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: var(--space-4);
  letter-spacing: -0.48px;
  color: var(--color-white);
  text-wrap: pretty;
}

.article-card-excerpt {
  margin: 0;
  font-size: var(--text-14-5);
  line-height: 1.5;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--color-muted);
}

/* Light variant — blog listing on soft canvas */
.insights--light {
  background: #f7f9fc;
  padding-top: var(--space-8);
  padding-bottom: var(--space-12);
}

.insights--light .section-head-sub {
  color: var(--color-subtle);
}

.insights--light .article-card {
  background: var(--color-white);
  border: 1px solid rgba(27, 41, 120, 0.07);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.insights--light .article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.insights--light .article-card-media {
  background: #e8eef5;
}

.insights--light .article-card-title {
  color: var(--color-charcoal);
  font-size: var(--text-20);
  line-height: 1.3;
}

.insights--light .article-card-excerpt {
  color: #64748b;
}

.insights--light .article-card-meta {
  color: #64748b;
  font-size: var(--text-sm);
}

.insights--light .article-card-meta span:first-child {
  color: var(--color-navy);
  font-weight: 600;
}

/* Related on article detail: keep home spacing/rhythm */
.insights--related {
  padding-top: var(--space-10);
  padding-bottom: var(--space-12);
}

/* ===========================================================================
   PARTNERS
=========================================================================== */
.partners {
  background: var(--color-white);
  content-visibility: auto;
  contain-intrinsic-size: 1px 280px;
}

.partners .section-head--row {
  margin-bottom: var(--space-4);
}

.partners-swiper {
  width: 100%;
  overflow: hidden;
}

.partners-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--space-12);
  width: auto !important;
}

.partners-slide img {
  width: auto;
  max-width: 176px;
  max-height: var(--space-10);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partners-slide:hover img,
.partners-slide:focus-within img {
  filter: grayscale(0);
  opacity: 1;
}

/* Continuous marquee feel */
.partners-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* ===========================================================================
   RESPONSIVE
=========================================================================== */
@media (max-width: 1200px) {
  .about-label {
    flex-basis: 200px;
    max-width: 200px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

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

  .review-media--wide {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--header-h) + var(--space-3)) 0 var(--space-6);
  }

  .hero-content {
    gap: var(--space-2);
  }

  .hero-title {
    font-size: var(--text-3xl);
    line-height: var(--space-6);
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .hero-stats {
    width: 100%;
  }

  .about-card {
    padding: var(--space-5) var(--space-3);
  }

  .about-card-inner {
    flex-direction: column;
  }

  .about-label {
    flex-basis: auto;
    max-width: none;
  }

  .about-title,
  .why-title,
  .story-title,
  .cta-title {
    font-size: var(--text-36);
    line-height: var(--leading-tight);
  }

  .properties-grid,
  .insights-grid,
  .why-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .why-media {
    order: -1;
    max-width: 520px;
    width: 100%;
  }

  .story-media {
    height: 360px;
    min-height: 240px;
  }

  .story-text-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-media {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
    --review-h: 300px;
  }

  .review-media--wide {
    grid-column: span 2;
  }

  .review-card {
    padding: var(--space-2);
    gap: var(--space-2);
  }

  .partners .section-head--row .btn-pill {
    align-self: flex-start;
  }

  .article-card-title {
    font-size: var(--text-lg);
    line-height: 1.35;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    padding: calc(var(--header-h) + var(--space-2)) 0 var(--space-16);
  }

  .hero-title {
    font-size: var(--text-2xl);
    line-height: var(--space-5);
    max-width: none;
  }

  .hero-lead {
    font-size: var(--text-md);
    max-width: none;
  }

  .hero-rics {
    width: 100%;
  }

  .hero-bottom .btn-cta {
    width: 100%;
    justify-content: center;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    --review-h: auto;
    grid-auto-rows: auto;
  }

  .review-media,
  .review-card,
  .review-more {
    height: auto;
    min-height: 0;
  }

  .review-media {
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }

  .review-media--wide {
    grid-column: auto;
    aspect-ratio: 16 / 9;
  }

  .review-card {
    min-height: 260px;
    padding: 18px;
  }

  .review-text {
    max-height: 152px;
  }

  .review-more {
    min-height: 220px;
  }

  .property-card-text {
    min-height: 0;
  }

  .story-body {
    padding: var(--space-4) 0;
  }

  .cta-grid {
    gap: var(--space-4);
  }

  .partners-swiper {
    padding-bottom: var(--space-0-5);
  }
}

@media (max-width: 576px) {
  .hero {
    padding: calc(var(--header-h) + var(--space-2)) 0 var(--space-4);
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
  }

  .hero-badge {
    height: var(--space-4);
  }

  .hero-title {
    font-size: var(--text-2xl);
    line-height: var(--space-5);
  }

  .hero-stat-value {
    font-size: var(--text-2xl);
  }

  .hero-stats {
    gap: var(--space-2);
  }

  .about {
    padding-bottom: var(--space-6);
  }

  .about-title,
  .why-title,
  .story-title,
  .cta-title {
    font-size: var(--text-26);
    line-height: var(--leading-tight);
  }

  .btn-pill {
    max-width: 100%;
  }

  .services-head-actions .btn-pill,
  .section-head--row .btn-pill {
    width: 100%;
    justify-content: center;
  }
}

/* Short viewports (landscape phones) — keep hero full-bleed but tighter */
@media (max-height: 560px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--header-h) + var(--space-1)) 0 var(--space-3);
  }

  .hero-title {
    font-size: var(--text-2xl);
    line-height: var(--space-5);
  }

  .hero-lead {
    display: none;
  }

  .hero-actions {
    margin-top: var(--space-2);
    margin-bottom: var(--space-1);
  }

  .hero-stats {
    padding-top: var(--space-2);
  }

  .hero-stat-value {
    font-size: var(--text-3xl);
  }
}
