/* ===== JK SERENO V7 — Pixel match to Sample.jpeg ===== */

:root {
  --bg:        #FFFFFF;
  --bg-warm:   #FAF7F1;   /* warm cream background */
  --bg-cream:  #F1ECE0;
  --forest:    #2F4A37;   /* deep green */
  --forest-2:  #3D5A45;
  --gold:      #BD9A3F;
  --gold-2:    #C7A858;
  --text:      #1C1C1A;
  --text-2:    #4B4B47;
  --muted:     #8A8A82;
  --line:      rgba(0,0,0,0.08);
  --line-soft: rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --radius:    14px;
  --radius-lg: 20px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-warm);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
::selection { background: var(--forest); color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
.h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}
.h2 em { font-style: italic; color: var(--forest); }
.display {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  min-height: 2.2em;
  position: relative;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.display em { font-style: italic; color: var(--forest); font-weight: 500; }
.lede {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 1.75rem;
}
.muted { color: var(--muted); }
.small { font-size: 0.8rem; }
.tiny  { font-size: 0.7rem; }
.center { text-align: center; }
.mt-3 { margin-top: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1.5px;
  background: var(--gold);
}
.eyebrow.center { justify-content: center; }
.eyebrow-plain::before { display: none; }
.eyebrow-plain { gap: 0; }


/* ════════ PRELOADER ════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s ease, visibility .7s ease;
}
#preloader img {
  width: 64px;
  height: 64px;
  animation: preloader-pulse 1.6s ease-in-out infinite;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.1); opacity: 0.7; }
}


/* ════════ NAVBAR ════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.navbar.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,0.05); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 36px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.brand-tag {
  font-size: 0.55rem; letter-spacing: 0.18em;
  color: var(--muted); margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-size: 0.82rem; font-weight: 500;
  color: var(--text); letter-spacing: 0.01em;
  transition: color .2s;
}
.nav-link:hover { color: var(--forest); }
.caret { font-size: 0.6rem; opacity: 0.6; margin-left: 2px; }

.btn-nav {
  padding: 0.62rem 1.1rem !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em;
}
.btn-nav svg { width: 13px; height: 13px; }

.menu-btn { display: none; flex-direction: column; gap: 5px; }
.menu-btn span { width: 22px; height: 2px; background: var(--text); }

.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 190;
  background: #fff;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.1rem; color: var(--text); }


/* ════════ BUTTONS ════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 6px;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; }
.btn-green { background: var(--forest); color: #fff; }
.btn-green:hover { background: var(--forest-2); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(0,0,0,0.15);
}
.btn-outline:hover { border-color: var(--forest); color: var(--forest); }


/* ════════ HERO ════════ */
.hero {
  position: relative;
  padding-top: 76px;
  background: var(--bg-warm);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  min-height: 820px;
  padding: 0 24px;
}
.hero-left {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 48px 0 180px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* Inline hero stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  margin: 26px 0 28px;
  justify-content: start;
}
.hstat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hstat-icon {
  width: 32px; height: 32px;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hstat-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.hstat-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hstat-label {
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.3;
  white-space: nowrap;
}

/* Right-side hero image — anchored to right edge, fades into cream on its left side */
.hero-bg {
  position: absolute;
  top: 0; bottom: 0;
  left: 32%;                                          /* image starts ~32% from left */
  right: calc(-1 * ((100vw - 100%) / 2));             /* extends past container to the viewport right edge */
  z-index: 1;
  overflow: hidden;
  border-radius: 0;
}
.hero-bg img.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 75%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-bg img.hero-slide-active {
  opacity: 1;
}
/* Fade overlay — solid cream on left edge of image, transparent on right */
.hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    #FAF7F1 0%,
    rgba(250,247,241,0.92) 10%,
    rgba(250,247,241,0.55) 22%,
    rgba(250,247,241,0.15) 35%,
    rgba(250,247,241,0) 50%
  );
  pointer-events: none;
}

/* Quote Card — sits inside container, aligned to its right edge over the image */
.quote-card {
  position: absolute;
  right: calc(-1 * ((100vw - 100%) / 2) + 30px);  /* push past container, 30px from viewport right */
  top: 20px;                                     /* sits just below the navbar */
  z-index: 3;
  background: rgba(47,74,55,0.75);   /* forest green, flat translucent */
  padding: 28px 28px 22px;
  border-radius: 4px;
  color: #fff;
  text-align: center;
  width: 260px;
  overflow: hidden;
}
.qc-slide {
  display: none;
}
.qc-slide-active {
  display: block;
  animation: qcFadeIn 0.8s ease-out;
}
@keyframes qcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-heading {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
  transform: translateY(10px);
  pointer-events: none;
}
.hero-heading-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.qc-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
  margin: 0;
}
.qc-text + .qc-text { margin-top: 0; }
.qc-divider {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto;
  opacity: 0.85;
}
.qc-signature {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* Trust badge with flags (inside hero-left) */
.trust-badge {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-text {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
}
.trust-flags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-flags img {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  object-fit: cover;
  background: #fff;
}

/* Legacy / value-props card */
.legacy {
  padding: 0 0 60px;
  background: transparent;
  position: relative;
  z-index: 5;
  margin-top: -130px;   /* pull whole legacy section up to overlap hero */
}
.legacy-card {
  background: #F5F2EA;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius);
  padding: 38px 36px 32px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
  position: relative;
  z-index: 5;
}
.legacy-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 500;
  color: var(--text);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}
.legacy-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.legacy-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.legacy-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.3px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.legacy-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.legacy-item h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.legacy-desc {
  font-size: 0.72rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}


/* ════════ LIFESTYLE STRIP ════════ */
.lifestyle { padding: 20px 0 60px; }
.lifestyle-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: stretch;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.lifestyle-left {
  padding: 44px 24px 44px 50px;
  align-self: center;
}
.lifestyle-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 34px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.lifestyle-title em {
  font-style: italic;
  color: var(--text);
  font-weight: 500;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature { text-align: left; }
.feature-icon {
  width: 32px; height: 32px;
  background: transparent;
  color: var(--gold);
  display: flex; align-items: center; justify-content: flex-start;
  margin-bottom: 14px;
}
.feature-icon svg { width: 28px; height: 28px; stroke-width: 1.4; }
.feature h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.feature p {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.5;
}
.lifestyle-right {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  align-self: stretch;
}
.lifestyle-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Soft fade on the left edge — image bleeds into the white card */
.lifestyle-right::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255,255,255,0.85) 18%,
    rgba(255,255,255,0.5) 38%,
    rgba(255,255,255,0.15) 65%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
  z-index: 2;
}


/* ════════ CALCULATOR ════════ */
.calc { padding: 30px 0 60px; }
.calc-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}
.field { display: block; margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.big-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 24px;
}
.field select {
  width: 100%;
  padding: 11px 14px;
  padding-right: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233D5A45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 12px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--forest); }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 4px;
  background: #E8E2D2; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(189,154,63,0.4);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); cursor: pointer;
  border: 3px solid #fff;
}
.slider-ticks {
  display: flex; justify-content: space-between;
  font-size: 0.62rem; color: var(--muted);
  margin-top: 8px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 14px 0 28px;
}
.kpi {
  background: var(--bg-warm);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 16px;
}
.kpi-label {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 30px;
}
.kpi-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  white-space: nowrap;
}
.kpi-value.green { color: var(--gold); }

.chart-wrap {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 16px;
}
.chart-legend {
  display: flex; gap: 18px; justify-content: center;
  margin-bottom: 8px;
  font-size: 0.7rem; color: var(--muted);
}
.lg-item { display: inline-flex; align-items: center; gap: 6px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%; display: inline-block;
}
.dot-green { background: var(--forest); }
.dot-gold  { background: #BDBDB5; }   /* greyed for savings line */

.chart {
  width: 100%; height: 200px;
  display: block;
}
.chart-x {
  display: flex; justify-content: space-between;
  font-size: 0.6rem; color: var(--muted);
  margin-top: 4px;
  padding: 0 6px;
}


/* ════════ PROPERTIES ════════ */
.properties { padding: 60px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px; gap: 20px;
}
.head-actions {
  display: flex; align-items: center; gap: 16px;
}
.link-cta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  white-space: nowrap;
}
.link-cta:hover { color: var(--forest); border-color: var(--forest); }
.prop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prop-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
}
.prop-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.prop-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.prop-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.prop-card:hover .prop-image img { transform: scale(1.05); }
.badge-featured {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 9px;
  border-radius: 4px;
  z-index: 2;
}
.badge-launching {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 11px;
  border-radius: 6px;
  z-index: 2;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(5,150,105,0.3);
}
.unit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.unit-card:hover img { transform: scale(1.05); }

/* Options badge with breathing effect */
.options-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 20px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.03em;
  animation: optionsPulse 2.2s ease-in-out infinite;
}
.options-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #059669;
  animation: dotBreathe 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
}
@keyframes optionsPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes dotBreathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 0 5px rgba(5, 150, 105, 0); transform: scale(1.2); }
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.prop-body { padding: 16px 18px 18px; }
.prop-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.prop-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.prop-stats > div {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.prop-stats span {
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
}
.prop-stats strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.prop-stats > div:first-child strong { color: var(--text); }

/* Horizontal scroll variant (landing page only) */
.prop-scroll {
  display: flex !important;
  grid-template-columns: none !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.prop-scroll::-webkit-scrollbar { display: none; }
.prop-scroll .prop-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 280px;
  scroll-snap-align: start;
  display: block;
}

.prop-pager {
  display: flex; gap: 6px;
}
.prop-pager button {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.prop-pager button:hover { background: var(--forest); color: #fff; border-color: var(--forest); }


/* ════════ WHY JK SERENO ════════ */
.why { padding: 60px 0; background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.why-head { text-align: center; margin-bottom: 38px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.why-item { text-align: center; padding: 14px 8px; }
.why-icon {
  width: 36px; height: 36px;
  background: transparent;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.why-icon svg { width: 32px; height: 32px; stroke-width: 1.3; }
.why-item h4 {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}


/* ════════ FOUNDERS ════════ */
.founders { padding: 60px 0; }
.founders-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1.05fr 0.85fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.founders-left h2 { margin: 8px 0 14px; font-size: 1.5rem; }
.signatures {
  display: flex; gap: 36px; margin-top: 22px;
}
.signatures > div { display: flex; flex-direction: column; }
.signature {
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.founder-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.founder-title {
  font-size: 0.72rem;
  color: var(--muted);
}
.founders-center img {
  width: 100%; height: 300px;
  object-fit: cover;
  border-radius: 10px;
}
/* Right card with gold accent */
.founders-right {
  position: relative;
  padding: 6px 0 6px 22px;
  border-left: 2px solid var(--gold);
}
.big-quote {
  position: absolute;
  top: -6px; left: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--gold);
}
.accountability {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  margin: 26px 0 22px;
  font-weight: 400;
}
.check-list { list-style: none; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--text);
}
.check-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  flex-shrink: 0;
}
.check-circle svg { width: 11px; height: 11px; }


/* ════════ NRI ════════ */
.nri { padding: 60px 0; }
.nri-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  box-shadow: var(--shadow-sm);
}
.nri-image {
  position: relative;
  overflow: hidden;
}
.nri-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 280px;
  display: block;
}
/* Soft fade on the right edge — image bleeds into the white card */
.nri-image::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 45%;
  background: linear-gradient(
    270deg,
    #ffffff 0%,
    rgba(255,255,255,0.85) 18%,
    rgba(255,255,255,0.5) 38%,
    rgba(255,255,255,0.15) 65%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
  z-index: 2;
}
.nri-body { padding: 30px 32px; }
.nri-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.nri-head h2 { font-size: 1.6rem; }
.nri-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.nri-feature { text-align: center; }
.nri-icon {
  width: 36px; height: 36px;
  background: transparent;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.nri-icon svg { width: 30px; height: 30px; stroke-width: 1.3; }
.nri-feature h4 {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}


/* ════════ TESTIMONIAL + PRESS ════════ */
.testi { padding: 50px 0 30px; }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
}
.testimonial {
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}
.testimonial .quote-mark {
  font-family: 'Playfair Display', serif;
  position: absolute;
  top: -14px; left: 10px;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.testi-slides {
  position: relative;
  min-height: 90px;
}
.testi-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.testi-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.testi-text {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 10px;
}
.testi-author {
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text);
}
.dots { display: flex; gap: 6px; margin-top: 14px; }
.dots .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.35;
  cursor: pointer;
  transition: all .25s ease;
}
.dots .dot:hover { opacity: 0.7; }
.dots .dot.active {
  background: var(--forest);
  opacity: 1;
  width: 20px;
  border-radius: 4px;
}

.press-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 16px;
}
.press-logos {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  filter: grayscale(1);
  opacity: 0.65;
}
.press-logos span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.logo-economic { font-family: 'Playfair Display', serif; font-style: italic; }
.logo-forbes   { font-family: 'Playfair Display', serif; font-weight: 800; }
.logo-cnbc     { background: var(--text); color: #fff !important; padding: 4px 8px; border-radius: 3px; font-size: 0.85rem !important; }
.logo-mint     { font-style: italic; color: var(--gold) !important; }
.logo-yourstory{ text-transform: uppercase; font-size: 0.85rem !important; letter-spacing: 0.05em; }


/* ════════ FOOTER CTA ════════ */
.footer-cta {
  background: var(--forest);
  color: #fff;
  padding: 26px 0;
  margin-top: 30px;
}
.footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-cta h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: #fff;
}
.footer-cta .btn-green {
  background: var(--gold);
  color: #fff;
}
.footer-cta .btn-green:hover { background: var(--gold-2); }


/* ════════ WHATSAPP FAB ════════ */
.wa-fab {
  position: fixed; bottom: 22px; right: 22px;
  z-index: 100;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--forest);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: all .25s;
}
.wa-fab:hover { transform: scale(1.08); color: var(--gold); }
.wa-fab svg { width: 26px; height: 26px; }


/* ════════ REVEAL ════════ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ════════ RESPONSIVE ════════ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .btn-nav { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 340px 24px 50px;  /* leave room for image at the top */
  }
  .hero-left { padding: 0; max-width: 100%; }
  .hero-bg {
    left: 0; right: 0;
    top: 0; bottom: auto;
    height: 320px;
  }
  .hero-fade {
    background: linear-gradient(
      180deg,
      rgba(250,247,241,0) 55%,
      rgba(250,247,241,0.7) 80%,
      #FAF7F1 100%
    );
  }
  .quote-card {
    right: 18px;
    bottom: auto;
    top: 30px;
    width: 220px;
    padding: 22px 22px 18px;
  }
  .qc-text { font-size: 0.88rem; }
  .qc-signature { font-size: 1.2rem; }

  /* Properties section header — stack heading and view-all controls vertically */
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .head-actions { width: 100%; justify-content: space-between; }

  /* NRI features — fewer columns on tablet */
  .nri-features { grid-template-columns: repeat(3, 1fr); gap: 22px 14px; }

  .legacy { margin-top: 0; padding: 0 0 50px; }
  .legacy-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 18px; }
  .legacy-card { padding: 32px 24px 28px; }
  .trust-badge { margin-top: 22px; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 16px 24px; margin: 22px 0; }
  .hero-left { padding: 0; }

  .lifestyle-card { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .lifestyle-right img { height: 220px; }

  .calc-grid { grid-template-columns: 1fr; gap: 36px; }

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

  .why-grid { grid-template-columns: repeat(3, 1fr); }

  .founders-card { grid-template-columns: 1fr; }
  .founders-center img { height: 240px; }

  .nri-card { grid-template-columns: 1fr; }
  .nri-image img { min-height: 200px; max-height: 240px; }
  /* Disable side fades on mobile — image stacks above content */
  .nri-image::after,
  .lifestyle-right::before { display: none; }

  .testi [style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .testi [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* 5-step section responsive */
  #how-it-works [style*="grid-template-columns: repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 20px !important;
  }
  #how-it-works [style*="position: absolute; top: 28px"] {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 12px 18px; }
  .brand-tag { display: none; }
  .hero { padding-top: 70px; }
  .hero-inner { padding: 260px 18px 36px; }
  .hero-bg { height: 240px; }
  .quote-card {
    top: 24px;
    right: 14px;
    width: 180px;
    padding: 16px 16px 14px;
  }
  .qc-text { font-size: 0.78rem; line-height: 1.4; }
  .qc-divider { margin: 10px auto; }
  .qc-signature { font-size: 1.05rem; margin-top: 8px; }
  .legacy-grid { grid-template-columns: repeat(2, 1fr); }
  .legacy-title { font-size: 1.2rem; margin-bottom: 22px; }
  .lifestyle-card { padding: 26px 22px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .lifestyle-title { font-size: 1.3rem; }
  .calc-card { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .prop-grid { grid-template-columns: 1fr; }
  .testi [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* NRI features — 2 columns on small mobile so text fits */
  .nri-features { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .nri-feature h4 { font-size: 0.74rem; }

  /* Properties section header — keep stacked + smaller pager spacing */
  .section-head .h2 { font-size: 1.5rem; }
  .head-actions { gap: 10px; }
  .founders-card { padding: 26px 20px; }
  .nri-body { padding: 24px 22px; }
  .nri-head { flex-direction: column; align-items: flex-start; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .press-logos { justify-content: center; gap: 18px; }
  .press-logos span { font-size: 0.9rem; }
}

/* Chart animation */
@keyframes chartPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 1; }
}
.chart-animate polyline,
.chart-animate polygon {
  animation: chartPulse 0.4s ease-out;
}
.chart-animate text {
  animation: chartPulse 0.3s ease-out;
}
