/* ==========================================================================
   Home page layout — layers on top of styles.css
   ========================================================================== */

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 8vw, 96px) clamp(56px, 9vw, 110px);
  overflow: clip;
}

.hero__grid {
  display: grid;
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
}

.hero__copy { position: relative; z-index: 2; }

.hero__copy h1 { margin-bottom: 1.5rem; }

.hero__copy .lead { margin-bottom: 2rem; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(48px, 6vw, 80px);
  }
  .hero__portrait { max-width: 460px; }
}

/* --- About ---------------------------------------------------------------- */
.about__body {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.2rem;
}
.about__body p {
  max-width: none;
  text-align: left;
  color: var(--slate);
}

@media (min-width: 768px) {
  .about__body { gap: 1.5rem; }
}

/* --- How I Help cards ----------------------------------------------------- */
.cards {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 6px 24px -20px rgba(52, 33, 61, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--mauve);
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--slate); max-width: none; }

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

/* --- Featured listing ----------------------------------------------------- */
.featured__grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.featured__copy h2 { margin-bottom: 1.4rem; }
.featured__copy p { color: var(--slate); margin-bottom: 1.2rem; }

.price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--aubergine);
  margin-bottom: 1.6rem !important;
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  flex-wrap: wrap;
}
.price__note {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--slate);
}

.featured__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.featured__media img { transition: transform 0.6s var(--ease); }
.featured__media:hover img { transform: scale(1.04); }

@media (min-width: 768px) {
  .featured__grid { grid-template-columns: 1fr 1.1fr; }
  /* Image on the right per brief: copy first in source already sits left. */
}

/* --- Contact -------------------------------------------------------------- */
.contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.contact__copy .lead { margin-bottom: 2rem; }

.contact__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact__card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 40px);
  box-shadow: var(--shadow-card);
}
.contact__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--aubergine);
}
.contact__role {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--slate);
  margin-top: 0.15rem;
}
.contact__card hr {
  border: 0;
  border-top: 1px solid var(--stone);
  margin: 1.25rem 0;
}
.contact__details li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--stone);
}
.contact__details li:last-child { border-bottom: 0; }
.contact__details li > span:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.contact__details a:hover { text-decoration: underline; }
.contact__brokerage { color: var(--aubergine); text-align: right; }

@media (min-width: 768px) {
  .contact__grid { grid-template-columns: 1.2fr 0.8fr; }
}
