/* ==========================================================
   Homepage sell hero (Concept A) plus product tiles (Concept C)
   Follows the house hero: porch photo, proof, and product tiles.
   ========================================================== */

.home-sell {
  background: var(--color-primary, #0e1f3a);
  color: #fff;
}

.home-sell-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: clamp(420px, 52vh, 620px);
  display: flex;
  align-items: flex-end;
}

.home-sell-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-sell-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  display: block;
}
.home-sell-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(14, 31, 58, 0.92) 0%,
      rgba(14, 31, 58, 0.78) 28%,
      rgba(14, 31, 58, 0.28) 52%,
      rgba(14, 31, 58, 0.05) 68%,
      rgba(14, 31, 58, 0) 80%),
    linear-gradient(180deg,
      rgba(14, 31, 58, 0.2) 0%,
      rgba(14, 31, 58, 0) 30%,
      rgba(14, 31, 58, 0.28) 100%);
}

.home-sell-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 4.5rem 3.25rem;
}

.home-sell-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 250, 247, 0.86);
}
.home-sell-kicker::before {
  content: "";
  width: 1.85rem;
  height: 1.5px;
  background: var(--color-accent);
}

.home-sell-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.15rem, 4.4vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 13ch;
  color: #fff;
  text-transform: none;
}

.home-sell-lead {
  margin-top: 1.15rem;
  max-width: 38ch;
  font-size: var(--text-base);
  line-height: 1.55;
  color: rgba(251, 250, 247, 0.9);
  text-transform: none;
}

.home-sell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.home-sell-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.home-sell-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
  padding-block: 1.15rem 1.2rem;
}
.home-sell-proof__value {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  text-transform: none;
}
.home-sell-proof__value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  width: fit-content;
}
.home-sell-proof__value a:hover { border-bottom-color: #fff; }

.home-sell-tiles { padding-block: 0 2rem; }
.home-sell-tiles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.home-sell-tile {
  display: flex;
  flex-direction: column;
  background: #fbfaf7;
  color: var(--color-primary);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  min-height: 100%;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms ease;
}
.home-sell-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(6, 18, 42, 0.28);
  color: var(--color-primary);
}
.home-sell-tile__media {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #d7d2c8;
}
.home-sell-tile__shown {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
  margin: 0;
  padding: 0.35rem 0.6rem;
  font: 600 0.7rem/1.2 var(--font-body, inherit);
  letter-spacing: 0.01em;
  color: #fff;
  background: rgba(14, 31, 58, 0.78);
  border-radius: 4px;
  pointer-events: none;
  text-transform: none;
  white-space: nowrap;
}
.home-sell-tile__shown-line {
  display: none;
  margin: 0;
  font: 600 0.78rem/1.3 var(--font-body, inherit);
  color: #5b6478;
  text-transform: none;
}
.home-sell-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.home-sell-tile:hover .home-sell-tile__media img { transform: scale(1.04); }
.home-sell-tile__body {
  padding: 0.85rem 1.05rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.home-sell-tile h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
}
.home-sell-tile p {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #3a4456;
}
.home-sell-tile__go {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
}

.phone, .home-sell a[href^="tel:"] { white-space: nowrap; }

@media (max-width: 719px) {
  .home-sell-hero {
    min-height: 0;
    display: block;
  }
  .home-sell-hero__media {
    position: relative;
    height: 11.5rem;
  }
  .home-sell-hero__media img { object-position: 70% 60%; }
  .home-sell-hero__shade {
    background: linear-gradient(180deg, rgba(14, 31, 58, 0.08) 40%, rgba(14, 31, 58, 0.55) 100%);
  }
  .home-sell-hero__inner {
    background: var(--color-primary);
    padding-block: 1.2rem 1.15rem;
  }
  .home-sell-kicker { margin-bottom: 0.7rem; }
  .home-sell-title { max-width: 12ch; font-size: 2.05rem; }
  .home-sell-lead { max-width: none; margin-top: 0.8rem; }
  .home-sell-actions { margin-top: 1rem; }
  .home-sell-actions .btn { flex: 1 1 auto; padding: 0.9rem 1.15rem; }
  .home-sell-proof__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 1rem;
    padding-block: 0.85rem 0.95rem;
  }
  .home-sell-tiles { padding-block: 0 1.25rem; }
  .home-sell-tiles__grid { grid-template-columns: 1fr; gap: 0.7rem; }
  .home-sell-tile { flex-direction: row; align-items: stretch; }
  .home-sell-tile__media {
    aspect-ratio: auto;
    width: 7.2rem;
    flex: none;
  }
  .home-sell-tile__body { padding: 0.7rem 0.85rem; justify-content: center; }
  .home-sell-tile h2 { font-size: 1.2rem; }
  .home-sell-tile p { font-size: 0.84rem; }
  .home-sell-tile__shown { display: none; }
  .home-sell-tile__shown-line { display: block; }
}

@media (min-width: 720px) and (max-width: 880px) {
  .home-sell-tiles__grid { grid-template-columns: 1fr; }
  .home-sell-tile { flex-direction: row; }
  .home-sell-tile__media { aspect-ratio: auto; width: 10rem; flex: none; }
  .home-sell-tile__shown { display: none; }
  .home-sell-tile__shown-line { display: block; }
}
