/* =============================================================================
   COMPONENT: CARDS
   Multiple card types used across pages
   ============================================================================= */

/* ---------------------------------------------------------------------------
   BENEFIT CARD — Home page "the model" section
   Figma ref: node 1:84–1:104 (400×189, rounded rectangle)
   6 cards in 3-col grid
--------------------------------------------------------------------------- */
.benefit-card {
  background-color: var(--color-card-bg);
  /* border-radius: var(--card-radius); */
  padding: 30px var(--card-padding);
  min-height: 189px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.benefit-card__title {
  font-family: var(--font-primary);
  font-size: var(--fs-subtitle);   /* 18px — Figma */
  font-weight: var(--fw-bold);     /* 700 — Figma */
  line-height: 24px;
  color: var(--color-dark-text);
}

.benefit-card__text {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 20px;
  color: var(--color-dark-text);
  max-width: 320px;
}

/* ---------------------------------------------------------------------------
   PROPERTY CARD — For Sale page
   Figma ref: node 108:252 (400×909)
   3 cards in row: 300px image + 609px content
--------------------------------------------------------------------------- */
.property-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

/* Stretched-link: clicking anywhere on the card follows the See More button */
.property-card .btn--full::after {
  content: '';
  position: absolute;
  inset: 0;
}

.property-card__image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background-color: #e8e5e0;
}

.property-card__image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-card__image img {
  transform: scale(1.03);
}

.property-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  border-right: 1px solid #E5E5E5;
  border-bottom: 1px solid #E5E5E5;
  border-left: 1px solid #E5E5E5;
  background: #FFF;
}

.property-card__meta {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 18px;
}

.property-card__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: 20px;
  color: var(--color-secondary-text);
}

.property-card__meta-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.property-card__meta-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.property-card__name {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  color: var(--color-dark-text);
  margin-bottom: 8px;
}

.property-card__tagline {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: 20px;
  color: var(--color-dark-text);
  margin-bottom: 18px;
}

.property-card__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 18px 0;
}

.property-card__desc {
  margin-bottom: 24px;
  min-height: 120px;
}

.property-card__desc-line {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: 20px;
  color: var(--color-dark-text);
  margin: 0;
}

.property-card__desc-line + .property-card__desc-line {
  margin-top: 14px;
}

.property-card__pricing {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 0;
  width: 100%;
}

.property-card__price-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.property-card__price-block p {
  margin: 0;
}

.property-card__price-label {
  font-family: var(--font-primary);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  line-height: 18px;
  color: var(--color-secondary-text);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Figma 108:326 — underline on “Monthly fee” only */
.property-card__price-label--underline {
  text-decoration: underline;
}

.property-card__price-value--total {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--color-dark-text);
  line-height: 30px;
}

.property-card__price-value--share {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--color-dark-text);
  line-height: 30px;
}

.property-card__divider--cta {
  margin: 30px 0;
}

/* Property card — mobile — Figma 115:2018, 115:1922 */
@media (max-width: 768px) {
  .property-card__body {
    align-items: center;
    text-align: center;
  }

  .property-card__name,
  .property-card__tagline {
    width: 100%;
  }

  .property-card__meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .property-card__divider {
    width: 100%
  }

  .property-card__desc {
    width: 100%;
    text-align: center;
  }

  .property-card__pricing {
    align-items: center;
  }

  .property-card__price-block {
    align-items: center;
  }

  /* .property-card__name {
    font-size: 24px;
  } */

  .property-card__price-value--total {
    line-height: 26px;
  }
}

/* ---------------------------------------------------------------------------
   TEAM MEMBER CARD — Home page "about ourhaus" section
   Figma ref: node 1:365 (295×400 photo + name/title overlay)
--------------------------------------------------------------------------- */
.team-card {
  position: relative;
  width: 295px;
  height: 600px;
  overflow: hidden;
  flex-shrink: 0;
}

.team-card__image {
  position: relative;
  width: 100%;
  height: 100%;
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback when no photo */
.team-card__photo-fallback {
  width: 100%;
  height: 100%;
  background-color: #e8e5e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}

.team-card__info-name {
  position: relative;
}

.team-card__name {
  font-family: var(--font-primary);
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-bold);
  color: var(--color-dark-text);
  line-height: 49px;
  background: white;
  padding-left: 15px;
  padding-right: 25px;
  width: calc(100% - 48px);
  max-width: calc(100% - 48px);
  margin-bottom: -1px;
}

.team-card__title {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-dark-text);
  line-height: 20px;
  background: white;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
}

.team-card__linkedin {
  width: 44px;
  height: 44px;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  top: 0;
  right: 0;
}

.team-card__linkedin:hover {
  opacity: 0.8;
}

.team-card__linkedin img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* ---------------------------------------------------------------------------
   TESTIMONIAL CARD — Home page
   Figma ref: node 1:315 (varying sizes)
--------------------------------------------------------------------------- */
.testimonial-card {
  padding: 30px;
  background-color: var(--color-white);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card__quote {
  font-family: var(--font-primary);
  font-size: var(--fs-subtitle);   /* 18px Regular — Figma */
  font-weight: var(--fw-regular);
  line-height: 24px;
  color: var(--color-dark-text);
  flex: 1;
}

.testimonial-card__author {
  font-family: var(--font-primary);
  font-size: var(--fs-subtitle);   /* 18px Bold — Figma */
  font-weight: var(--fw-bold);
  color: var(--color-dark-text);
  line-height: 24px;
}

.testimonial-card__location {
  font-family: var(--font-primary);
  font-size: var(--fs-body);       /* 14px Regular uppercase — Figma */
  font-weight: var(--fw-regular);
  color: var(--color-muted);
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   CONTACT INFO CARD — Contact page
   Figma ref: node 66:371 (400×204 frames)
--------------------------------------------------------------------------- */
.contact-card {
  padding: 40px;
  background-color: var(--color-card-bg);
}

.contact-card__heading {
  font-family: var(--font-primary);
  font-size: var(--fs-subtitle);   /* 18px Bold — Figma */
  font-weight: var(--fw-bold);
  color: var(--color-dark-text);
  margin-bottom: 12px;
}

.contact-card__desc {
  font-family: var(--font-primary);
  font-size: var(--fs-body-sm);
  line-height: 20px;
  color: var(--color-dark-text);
  margin-bottom: 24px;
}

.contact-card__value {
  font-family: var(--font-primary);
  font-size: var(--fs-body-sm);
  color: var(--color-dark-text);
  font-weight: var(--fw-medium);
}

@media (max-width: 768px) {
  .benefit-card {
    text-align: center;
    align-items: center;
  }
  .team-card {
    height: 500px;
  }
}
/* ---------------------------------------------------------------------------
   Screen 1920px width and above
--------------------------------------------------------------------------- */
@media (min-width: 1920px) {
  .team-card {
    height: 750px;
  }
}