/* ── Find Your Property (White Glove Service) ── */

.fyp-hero {
  position: relative;
  background: #1a1a2e;
  color: #fff;
  padding: 8rem 0;
  overflow: hidden;
}

/* soft radial glow + dot grid */
.fyp-hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(232, 96, 76, .22) 0%, rgba(232, 96, 76, 0) 65%);
  pointer-events: none;
}

.fyp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(115deg, transparent 40%, #000 75%);
  -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000 75%);
  pointer-events: none;
}

.fyp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.fyp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: rgba(232, 96, 76, .14);
  border: 1px solid rgba(232, 96, 76, .35);
  color: #f49a8a;
  border-radius: 9999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.fyp-hero__eyebrow::before { content: "\2726"; font-size: .9em; }

.fyp-hero__title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 1.75rem;
  color: #fff; /* global.css heading color would otherwise win over the hero's inherited white */
}

.fyp-hero__title em {
  font-style: normal;
  color: #e8604c;
  position: relative;
  white-space: nowrap;
}

.fyp-hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .12em;
  background: rgba(232, 96, 76, .35);
  border-radius: 2px;
}

/* rotating word: home / office */
.word-rotator {
  display: inline-block;
  overflow: hidden;
  height: 1.08em;
  vertical-align: bottom;
  text-align: left;
}

.word-rotator__track {
  display: block;
  animation: hvWords 6s cubic-bezier(.65, 0, .35, 1) infinite;
}

.word-rotator__track > span {
  display: block;
  height: 1.08em;
  line-height: 1.08;
}

@keyframes hvWords {
  0%, 42%  { transform: translateY(0); }
  50%, 92% { transform: translateY(-1.08em); }
  100%     { transform: translateY(-2.16em); }
}

@media (prefers-reduced-motion: reduce) {
  .word-rotator__track { animation: none; }
  .hv-card, .hv-advisor, .hv-toast { animation: none !important; }
}

.fyp-hero__subtitle {
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .72);
  max-width: 34rem;
  margin-bottom: 3rem;
}

.fyp-hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.75rem;
}

.fyp-hero__cta {
  display: inline-block;
  padding: 1rem 2.25rem;
  background: #e8604c;
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(232, 96, 76, .35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.fyp-hero__cta:hover {
  background: #d44935;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(232, 96, 76, .45);
}

.fyp-hero__secondary {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  padding-bottom: 2px;
}

.fyp-hero__secondary:hover { color: #fff; border-color: #fff; }

.fyp-hero__stats { display: flex; gap: 2.75rem; }
.fyp-hero__stat-value { font-size: 1.5rem; font-weight: 700; color: #fff; }
.fyp-hero__stat-value span { color: #e8604c; }
.fyp-hero__stat-label { font-size: .8rem; color: rgba(255, 255, 255, .55); margin-top: .2rem; }

/* ── Hero visual: curated shortlist composition ── */
.fyp-hero__visual { position: relative; height: 460px; }

.hv-card {
  position: absolute;
  width: 300px;
  background: #fff;
  border-radius: 16px;
  padding: .85rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  animation: hvFloat 6s ease-in-out infinite;
}

.hv-card--back  { top: 8%; right: 46%; transform: rotate(-7deg) scale(.92); opacity: .55; animation-delay: 1.2s; }
.hv-card--mid   { top: 2%;  right: 8%;  transform: rotate(4deg) scale(.96);  opacity: .8;  animation-delay: .6s; }
.hv-card--front { top: 26%; right: 20%; z-index: 2; }

@keyframes hvFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

.hv-card__img {
  height: 150px;
  border-radius: 10px;
  background:
    linear-gradient(160deg, rgba(26, 26, 46, .05) 0%, rgba(26, 26, 46, .25) 100%),
    linear-gradient(115deg, #f4d4c4 0%, #e8a68f 35%, #b96a55 70%, #7a3c2e 100%);
  position: relative;
  overflow: hidden;
}

.hv-card__img::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background:
    linear-gradient(#1a1a2e, #1a1a2e) 8% 100% / 14% 62% no-repeat,
    linear-gradient(#23233d, #23233d) 26% 100% / 12% 82% no-repeat,
    linear-gradient(#1a1a2e, #1a1a2e) 44% 100% / 16% 52% no-repeat,
    linear-gradient(#23233d, #23233d) 63% 100% / 13% 92% no-repeat,
    linear-gradient(#1a1a2e, #1a1a2e) 82% 100% / 15% 68% no-repeat;
  opacity: .85;
}

.hv-card__badge {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  background: #22c55e;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .3rem .65rem;
  border-radius: 9999px;
}

.hv-card__body { padding: .8rem .35rem .35rem; }
.hv-card__name { font-size: .95rem; font-weight: 700; color: #1a1a2e; }
.hv-card__meta { font-size: .78rem; color: #7a7a8a; margin-top: .25rem; }
.hv-card__row { display: flex; justify-content: space-between; align-items: center; margin-top: .7rem; }
.hv-card__price { font-size: .95rem; font-weight: 700; color: #e8604c; }
.hv-card__match {
  font-size: .7rem; font-weight: 600;
  color: #15803d; background: #ecfdf5;
  padding: .25rem .6rem; border-radius: 9999px;
}

.hv-advisor {
  position: absolute;
  bottom: 7%; right: 2%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255, 255, 255, .96);
  border-radius: 9999px;
  padding: .55rem 1.15rem .55rem .55rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  animation: hvFloat 6s ease-in-out infinite;
  animation-delay: 2s;
}

.hv-advisor__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8604c, #b33728);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}

.hv-advisor__name { font-size: .82rem; font-weight: 700; color: #1a1a2e; line-height: 1.2; }
.hv-advisor__role { font-size: .7rem; color: #7a7a8a; }

.hv-advisor__dot {
  width: 9px; height: 9px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  top: 6px; left: 40px;
}

.hv-toast {
  position: absolute;
  top: 64%; left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, .96);
  border-radius: 12px;
  padding: .7rem .95rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  animation: hvFloat 6s ease-in-out infinite;
  animation-delay: 3.1s;
}

.hv-toast__icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #fef0ee;
  color: #e8604c;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}

.hv-toast__title { font-size: .78rem; font-weight: 700; color: #1a1a2e; }
.hv-toast__sub { font-size: .68rem; color: #7a7a8a; }

.fyp-section { padding: 4.5rem 0; }
.fyp-section--tint { background: #f9f8f6; }

.fyp-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: .5rem;
}

.fyp-section__subtitle {
  text-align: center;
  color: #7a7a8a;
  font-size: .95rem;
  margin-bottom: 2.5rem;
}

/* Steps */
.fyp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.fyp-step {
  background: #fdfdfd;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.75rem;
  transition: background .2s ease, border-color .2s ease;
}

.fyp-step:hover { background: #fff; border-color: #d8d8dc; }

.fyp-step__num {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #e8604c; color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 1rem;
}

.fyp-step__title { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: .5rem; }
.fyp-step__text { font-size: .875rem; color: #555; line-height: 1.6; }

/* Benefits */
.fyp-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fyp-benefit {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.75rem;
}

.fyp-benefit__icon { font-size: 1.75rem; margin-bottom: .75rem; }
.fyp-benefit__title { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: .5rem; }
.fyp-benefit__text { font-size: .875rem; color: #555; line-height: 1.6; }

/* Audience */
.fyp-audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.fyp-audience__item {
  border-left: 3px solid #e8604c;
  padding: .25rem 0 .25rem 1.25rem;
}

.fyp-audience__item h3 { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: .4rem; }
.fyp-audience__item p { font-size: .875rem; color: #555; line-height: 1.6; }

/* Lead form */
.fyp-form-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 2.5rem;
}

.fyp-form-card__title { font-size: 1.4rem; font-weight: 700; color: #1a1a2e; margin-bottom: .35rem; }
.fyp-form-card__subtitle { font-size: .9rem; color: #7a7a8a; margin-bottom: 1.5rem; }

.fyp-form-card form { display: flex; flex-direction: column; gap: .85rem; }

.fyp-form-row { display: flex; gap: .85rem; }
.fyp-form-row input { flex: 1; min-width: 0; }

.fyp-form-card input,
.fyp-form-card textarea {
  padding: .8rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  resize: vertical;
}

.fyp-form-card input:focus,
.fyp-form-card textarea:focus {
  outline: none;
  border-color: #e8604c;
}

.fyp-form-card .btn { width: 100%; }

.fyp-form-card__success {
  display: none;
  background: #d1fae5;
  color: #065f46;
  padding: .85rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .fyp-hero { padding: 5rem 0; }
  .fyp-hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .fyp-hero__title { font-size: 2.4rem; }
  .fyp-hero__visual { height: 420px; max-width: 460px; margin: 0 auto; width: 100%; }
  .hv-card { width: 260px; }
  .hv-card--back { right: 42%; }
  .fyp-steps { grid-template-columns: repeat(2, 1fr); }
  .fyp-benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .fyp-hero { padding: 3.5rem 0; }
  .fyp-hero__title { font-size: 2rem; }
  .fyp-hero__actions { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.25rem; }
  .fyp-hero__stats { gap: 1.5rem; flex-wrap: wrap; }
  .fyp-hero__visual { height: 380px; }
  .hv-card { width: 230px; }
  .hv-card--back { display: none; }
  .hv-card--mid { right: 0; }
  .hv-card--front { right: 18%; }
  .fyp-section { padding: 3rem 0; }
  .fyp-steps { grid-template-columns: 1fr; }
  .fyp-benefits { grid-template-columns: 1fr; }
  .fyp-audience { grid-template-columns: 1fr; }
  .fyp-form-row { flex-direction: column; }
  .fyp-form-card { padding: 1.5rem; }
}
