/* ══════════════════════════════════════════
   HOME.CSS — Fletchy Homepage Wow Effects
   ══════════════════════════════════════════ */

/* ═══ CUSTOM CURSOR (desktop only) ═══ */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], .prop-card-new { cursor: none; }

  .cursor-dot {
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s, transform 0.1s;
    mix-blend-mode: normal;
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid rgba(201,169,110,0.45);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.25s, height 0.25s, border-color 0.25s, opacity 0.3s;
  }
  .cursor-ring.hover {
    width: 56px; height: 56px;
    border-color: var(--gold);
    background: rgba(201,169,110,0.06);
  }
  body:not(:hover) .cursor-dot,
  body:not(:hover) .cursor-ring { opacity: 0; }
}

/* ═══ HERO ═══ */
.hero-new {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #060606;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('image/Commun/hero-home.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 2.5s ease, transform 14s ease;
  will-change: transform, opacity;
}
.hero-bg-photo.loaded {
  opacity: 0.40;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(6,6,6,0.82) 0%,
    rgba(6,6,6,0.60) 45%,
    rgba(6,6,6,0.42) 100%
  );
}

/* Animated orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
.orb1 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(201,169,110,0.16) 0%, transparent 60%);
  top: -300px; right: -200px;
  animation: orb1Drift 24s ease-in-out infinite;
}
.orb2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,133,74,0.11) 0%, transparent 60%);
  bottom: -150px; left: -80px;
  animation: orb2Drift 30s ease-in-out infinite;
}
.orb3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(232,213,176,0.07) 0%, transparent 65%);
  top: 35%; left: 38%;
  animation: orb3Drift 20s ease-in-out infinite;
}
@keyframes orb1Drift {
  0%,100% { transform: translate(0,0); }
  25%  { transform: translate(-70px, 55px); }
  50%  { transform: translate(-30px, 110px); }
  75%  { transform: translate(55px,  38px); }
}
@keyframes orb2Drift {
  0%,100% { transform: translate(0,0); }
  33% { transform: translate(90px, -70px); }
  66% { transform: translate(-45px,-35px); }
}
@keyframes orb3Drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-55px,55px) scale(1.28); }
}

/* Noise grain overlay */
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 960px;
}

.hero-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUpSoft 0.9s 0.2s ease forwards;
}
.hero-eyebrow-tag::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Title with line-reveal animation */
.hero-title-new {
  font-size: clamp(56px, 8vw, 118px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 32px;
}
.hero-line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
}
.hero-line span {
  display: block;
  transform: translateY(112%);
}
.hero-line:nth-child(1) span {
  animation: lineReveal 1.1s 0.38s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-line:nth-child(2) span {
  animation: lineReveal 1.1s 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes lineReveal {
  to { transform: translateY(0); }
}
.gold-gradient {
  color: var(--gold);
  background: linear-gradient(135deg, #f0ddb8 0%, #c9a96e 45%, #a8854a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-body-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.68;
  color: rgba(255,255,255,0.52);
  max-width: 460px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUpSoft 0.9s 0.88s ease forwards;
}

.hero-ctas-new {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUpSoft 0.9s 1.08s ease forwards;
}

@keyframes fadeUpSoft {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(20px); }
}

/* Scroll indicator (left side) */
.hero-scroll-new {
  position: absolute;
  bottom: 44px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn .8s 1.7s ease forwards;
}
.hero-scroll-new span {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
}
.scroll-h-line {
  width: 52px; height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.3), transparent);
  animation: scrollHPulse 2.6s 2.2s ease-in-out infinite;
}
@keyframes scrollHPulse {
  0%,100% { opacity: 0.3; transform: scaleX(1); transform-origin: left; }
  50%      { opacity: 0.9; transform: scaleX(1.35); }
}

/* Badge (bottom right) */
.hero-badge {
  position: absolute;
  bottom: 44px;
  right: 80px;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px 28px;
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: fadeUpSoft 0.9s 1.35s ease forwards;
}
.hero-badge .big-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-badge .small-lbl {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-top: 6px;
  font-weight: 500;
}

/* ═══ MARQUEE STRIP ═══ */
.marquee-strip {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee-strip::before {
  left: 0;
  background: linear-gradient(to right, #0a0a0a, transparent);
}
.marquee-strip::after {
  right: 0;
  background: linear-gradient(to left, #0a0a0a, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 44px;
  white-space: nowrap;
}
.marquee-item span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.marquee-item .m-gold { color: var(--gold); font-weight: 600; }
.marquee-item .m-sep {
  width: 4px; height: 4px;
  background: rgba(201,169,110,0.5);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══ WHY SECTION — ENHANCED ═══ */
.why-section-new {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
  padding: 148px 80px;
}
.why-visual-new {
  position: relative;
  height: 600px;
}
.why-img-main-new {
  position: absolute;
  top: 0; right: 0;
  width: 73%; height: 86%;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 0.7s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
}
.why-img-main-new:hover { transform: scale(1.02) translateY(-4px); }
.why-img-accent-new {
  position: absolute;
  bottom: 0; left: 0;
  width: 47%; height: 53%;
  object-fit: cover;
  border-radius: 22px;
  border: 6px solid var(--white);
  box-shadow: 0 24px 64px rgba(0,0,0,0.14);
  transition: transform 0.7s ease;
}
.why-img-accent-new:hover { transform: scale(1.02) translateY(-4px); }
.why-badge-new {
  position: absolute;
  bottom: 33%; left: 28%;
  background: var(--label);
  padding: 20px 24px;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(0,0,0,0.28);
  z-index: 1;
}
.why-badge-new .cnt {
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.why-badge-new .cnt-lbl {
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 5px;
  font-weight: 500;
}

/* Pillars redesign */
.pillars-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}
.pillar-new {
  padding: 20px 18px;
  border-radius: 16px;
  background: var(--bg);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}
.pillar-new:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.09);
  border-color: rgba(201,169,110,0.22);
}
.pillar-icon {
  width: 30px; height: 30px;
  background: rgba(201,169,110,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.pillar-icon svg { width: 15px; height: 15px; }
.pillar-new h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  color: var(--label);
}
.pillar-new p {
  font-size: 12px;
  color: var(--secondary);
  line-height: 1.6;
}

/* ═══ PROPERTIES CAROUSEL ═══ */
.props-section-new {
  background: var(--label);
  padding: 130px 0 100px;
  overflow: hidden;
}
.props-header-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 80px;
  margin-bottom: 52px;
}
.props-carousel-outer {
  position: relative;
}
.props-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 80px 24px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  user-select: none;
}
.props-carousel::-webkit-scrollbar { display: none; }
.props-carousel.grabbing { cursor: grabbing; }
.props-carousel.grabbing .prop-card-new { pointer-events: none; }
.prop-card-new img { pointer-events: none; }

.prop-card-new {
  flex-shrink: 0;
  width: 340px;
  height: 500px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  display: block;
  scroll-snap-align: start;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.prop-card-new:first-child {
  width: 480px;
}
.prop-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.prop-card-new img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.prop-card-new:hover img { transform: scale(1.07); }

.pcn-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.12) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background 0.35s;
}
.prop-card-new:hover .pcn-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.94) 0%,
    rgba(0,0,0,0.25) 60%,
    transparent 100%
  );
}
.pcn-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}
.pcn-name {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.pcn-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.pcn-arrow {
  position: absolute;
  top: 22px; right: 22px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: all 0.3s;
}
.prop-card-new:hover .pcn-arrow {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Drag hint */
.drag-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.drag-hint.hidden { opacity: 0; pointer-events: none; }
.drag-hint span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.drag-hint svg { opacity: 0.5; }

/* ═══ TESTIMONIAL ═══ */
.testi-section {
  background: var(--white);
  padding: 148px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testi-bg-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(80px, 14vw, 220px);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(0,0,0,0.028);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.testi-quote-mark {
  font-size: 110px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.35;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.testi-quote-text {
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 500;
  color: var(--label);
  line-height: 1.4;
  letter-spacing: -0.022em;
  max-width: 820px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}
.testi-author-line {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* ═══ STATS ROW ═══ */
.stats-row-new {
  background: var(--bg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--separator);
  border-bottom: 1px solid var(--separator);
}
.stat-new {
  padding: 72px 40px;
  text-align: center;
  border-right: 1px solid var(--separator);
  position: relative;
  overflow: hidden;
}
.stat-new:last-child { border-right: none; }
.stat-new::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.5s ease;
}
.stat-new:hover::after { transform: translateX(-50%) scaleX(1); }

.stat-num-new {
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 700;
  color: var(--label);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-num-new .stat-suffix { font-size: 0.42em; color: var(--gold); vertical-align: baseline; }
.stat-lbl-new {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 10px;
  font-weight: 600;
}

/* ═══ SERVICES — ENHANCED ═══ */
.services-new {
  background: var(--bg2);
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  padding: 148px 80px;
}
.services-sticky-new {
  position: sticky;
  top: 80px;
  align-self: start;
}
.services-list-new {
  display: flex;
  flex-direction: column;
}
.svc-new {
  padding: 36px 0;
  border-top: 1px solid var(--separator);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  transition: transform 0.25s;
}
.svc-new:hover { transform: translateX(6px); }
.svc-n {
  font-size: 12px;
  color: var(--gold);
  padding-top: 3px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.svc-new:hover .svc-n { color: var(--label); }
.svc-new h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 9px;
  letter-spacing: -0.015em;
  color: var(--label);
}
.svc-new p {
  font-size: 13px;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.75;
}

/* ═══ CONTACT ═══ */
.contact-new {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 148px 80px;
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-content { padding: 0 48px; }
  .hero-scroll-new { left: 48px; }
  .hero-badge { right: 48px; }
  .why-section-new { padding: 110px 48px; gap: 60px; }
  .props-header-new { padding: 0 48px; }
  .props-carousel { padding: 8px 48px 24px; }
  .testi-section { padding: 110px 48px; }
  .stats-row-new .stat-new { padding: 56px 24px; }
  .services-new { padding: 110px 48px; grid-template-columns: 320px 1fr; gap: 60px; }
  .contact-new { padding: 110px 48px; }
}
@media (max-width: 1024px) {
  .why-section-new { grid-template-columns: 1fr; }
  .why-visual-new { height: 460px; }
  .services-new { grid-template-columns: 1fr; }
  .services-sticky-new { position: static; }
  .contact-new { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-content { padding: 0 20px; }
  .hero-title-new { font-size: clamp(44px, 11vw, 64px); }
  .hero-body-text { font-size: 16px; }
  .hero-scroll-new { left: 20px; bottom: 24px; }
  .hero-badge { display: none; }
  .marquee-strip::before, .marquee-strip::after { width: 48px; }
  .why-section-new { padding: 80px 20px; }
  .why-visual-new { height: 300px; }
  .props-header-new { padding: 0 20px; }
  .props-carousel { padding: 8px 20px 20px; }
  .prop-card-new { width: 280px; height: 400px; }
  .prop-card-new:first-child { width: 300px; }
  .testi-section { padding: 80px 20px; }
  .testi-bg-word { display: none; }
  .stats-row-new { grid-template-columns: 1fr; }
  .stat-new { border-right: none; border-bottom: 1px solid var(--separator); padding: 48px 20px; }
  .stat-new:last-child { border-bottom: none; }
  .services-new { padding: 80px 20px; }
  .contact-new { padding: 80px 20px; }
  .drag-hint { display: flex; }
}
@media (max-width: 480px) {
  .hero-ctas-new { flex-direction: column; align-items: flex-start; }
  .pillars-new { grid-template-columns: 1fr; }
}
