/**
 * Sell My Home — premium portal layout (Zillow / Compass style)
 * v20260613
 */

.site-sell-premium {
  --sell-portal-max: 1400px;
  --sell-portal-pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --sell-portal-pad-y: clamp(3rem, 6vw, 5rem);
  --sell-text-soft: #d0d6df;
  --sell-gold-glow: rgba(201, 162, 77, 0.45);
}

/* —— Hero shell —— */
.site-sell-premium .sell-premium-hero.sell-portal-hero {
  padding: var(--sell-portal-pad-y) 0 clamp(2.5rem, 5vw, 3.5rem);
  min-height: 0;
}

.sell-portal-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--sell-portal-max);
  margin: 0 auto;
  padding: 0 var(--sell-portal-pad-x);
}

.sell-portal-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 440px);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
}

.sell-portal-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0.5rem;
}

/* —— Agent card (premium glass) —— */
.sell-portal-agent {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.sell-portal-agent .swmo-agent-card--compact {
  margin: 0;
  max-width: 100%;
  padding: clamp(1.15rem, 2.5vw, 1.45rem) clamp(1.1rem, 2.5vw, 1.35rem);
  background: rgba(12, 28, 48, 0.55);
  border: 1px solid rgba(201, 162, 77, 0.35);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 40px rgba(201, 162, 77, 0.12),
    0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sell-portal-agent .swmo-agent-card--compact:hover {
  border-color: rgba(201, 162, 77, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 48px rgba(201, 162, 77, 0.2),
    0 24px 56px rgba(0, 0, 0, 0.4);
}

.sell-portal-agent .swmo-agent-card__photo {
  width: clamp(88px, 12vw, 108px);
  height: clamp(88px, 12vw, 108px);
  border-width: 3px;
  border-color: var(--gold-bright, #d4af37);
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.15);
}

.sell-portal-agent .swmo-agent-card__actions {
  display: none;
}

.sell-portal-agent .swmo-agent-card__note {
  margin-top: 0.65rem;
  font-size: 0.72rem;
}

.sell-portal-agent__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.sell-portal-agent__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.sell-portal-agent__actions .btn:hover {
  transform: translateY(-2px);
}

.sell-portal-agent__actions .btn-gold {
  background: linear-gradient(145deg, #d4af37, #b8923f);
  border: none;
  color: #071526;
  box-shadow: 0 6px 20px rgba(201, 162, 77, 0.4);
}

.sell-portal-agent__actions .btn-gold:hover {
  color: #071526;
  filter: brightness(1.06);
}

.sell-portal-agent__actions .btn-outline-navy {
  background: rgba(7, 21, 38, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.sell-portal-agent__actions .btn-outline-navy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 162, 77, 0.5);
  color: #fff;
}

/* —— Headline block —— */
.sell-portal-hero__message {
  margin-bottom: 1.25rem;
}

.site-sell-premium .sell-portal-hero__message .sell-premium-eyebrow {
  margin-bottom: 0.75rem;
}

.site-sell-premium .sell-portal-hero__message h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.site-sell-premium .sell-portal-hero__message .sell-premium-lead {
  margin: 0 0 1.15rem;
  max-width: 40rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: var(--sell-text-soft);
}

.site-sell-premium .sell-portal-hero__message .sell-premium-lead strong {
  color: #fff;
  font-weight: 600;
}

.site-sell-premium .sell-portal-hero__message .sell-premium-benefits {
  margin-bottom: 0;
}

/* —— Trust pills —— */
.sell-portal-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.sell-portal-trust .sell-premium-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(7, 21, 38, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sell-portal-trust .sell-premium-badge:hover {
  border-color: rgba(201, 162, 77, 0.55);
  box-shadow: 0 0 20px rgba(201, 162, 77, 0.25);
  background: rgba(201, 162, 77, 0.1);
}

.sell-portal-trust .sell-premium-badge--gold {
  background: rgba(201, 162, 77, 0.14);
  border-color: rgba(201, 162, 77, 0.35);
}

/* —— Form column —— */
.sell-portal-hero__form-col {
  align-self: center;
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-card-wrap {
  position: sticky;
  top: calc(var(--header-h, 56px) + 1rem);
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-card {
  max-width: none;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(201, 162, 77, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-card__title {
  font-size: clamp(1.35rem, 2.5vw, 1.55rem);
  margin-bottom: 0.4rem;
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-card__sub {
  margin-bottom: 1.35rem;
  font-size: 0.92rem;
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-field {
  margin-bottom: 0.85rem;
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-field span {
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-field input,
.site-sell-premium .sell-portal-hero__form-col .sell-premium-field select {
  height: 58px;
  min-height: 58px;
  padding: 0 1rem;
  font-size: 1rem;
  border-radius: 14px;
  border-color: #e2e8f0;
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-field textarea {
  min-height: 120px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border-radius: 14px;
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-submit {
  height: 60px;
  min-height: 60px;
  margin-top: 0.35rem;
  padding: 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 14px;
}

.site-sell-premium .sell-portal-hero__form-col .sell-premium-fine {
  margin-top: 0.85rem;
}

/* CMA results inside white card */
.site-sell-premium .sell-portal-hero__form-col .sell-cma-results {
  color: var(--navy, #071526);
}

.site-sell-premium .sell-portal-hero__form-col .sell-cma-results__range {
  color: var(--navy, #071526);
  font-size: 1.85rem;
}

.site-sell-premium .sell-portal-hero__form-col .sell-cma-results__meta,
.site-sell-premium .sell-portal-hero__form-col .sell-cma-disclaimer {
  color: var(--text-muted, #4a5560);
}

.site-sell-premium .sell-portal-hero__form-col .sell-cma-comps {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.site-sell-premium .sell-portal-hero__form-col .sell-cma-comp {
  border-color: #e8ecf0;
}

.site-sell-premium .sell-portal-hero__form-col .sell-cma-comp__addr {
  color: var(--navy, #071526);
}

.site-sell-premium .sell-portal-hero__form-col .sell-cma-comp__price {
  color: var(--gold, #b8923f);
}

.site-sell-premium .sell-portal-hero__form-col .sell-cma-comp__meta {
  color: var(--text-muted);
}

/* —— Social proof band —— */
.sell-portal-social {
  padding: clamp(1.75rem, 4vw, 2.5rem) var(--sell-portal-pad-x);
  background: linear-gradient(180deg, #0a1a2e 0%, #0d2035 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sell-portal-social__inner {
  max-width: var(--sell-portal-max);
  margin: 0 auto;
  text-align: center;
}

.sell-portal-social__title {
  margin: 0 0 0.85rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--sell-text-soft);
  letter-spacing: 0.02em;
}

.sell-portal-social__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.sell-portal-social__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.sell-portal-social__stars {
  color: var(--gold-bright, #d4af37);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.sell-portal-social__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

/* —— How selling works —— */
.sell-portal-steps {
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--sell-portal-pad-x);
  background: #f8fafc;
}

.sell-portal-steps__inner {
  max-width: var(--sell-portal-max);
  margin: 0 auto;
}

.sell-portal-steps h2 {
  margin: 0 0 0.4rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy, #071526);
}

.sell-portal-steps__sub {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted, #4a5560);
}

.sell-portal-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.sell-portal-step-card {
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(7, 21, 38, 0.08);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(7, 21, 38, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sell-portal-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 77, 0.35);
  box-shadow: 0 16px 40px rgba(7, 21, 38, 0.1);
}

.sell-portal-step-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  background: linear-gradient(145deg, rgba(201, 162, 77, 0.2), rgba(201, 162, 77, 0.08));
  border: 1px solid rgba(201, 162, 77, 0.35);
  border-radius: 14px;
}

.sell-portal-step-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy, #071526);
}

.sell-portal-step-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted, #4a5560);
}

/* —— Tighter downstream sections —— */
.site-sell-premium .sell-premium-proof {
  padding: clamp(1.5rem, 3vw, 2rem) var(--sell-portal-pad-x);
}

.site-sell-premium .sell-premium-stories {
  padding: clamp(2rem, 4vw, 2.75rem) var(--sell-portal-pad-x);
}

.site-sell-premium .sell-premium-market {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(2rem, 3vw, 2.5rem);
}

.float-text-brandon {
  position: fixed;
  right: clamp(0.75rem, 3vw, 1.25rem);
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 700;
  line-height: 1.2;
  color: #071526;
  text-decoration: none;
  background: linear-gradient(145deg, #e4c76a, #c9a24d);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-text-brandon:hover {
  transform: translateY(-2px);
  color: #071526;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.float-text-brandon__icon {
  font-size: 1.15rem;
  line-height: 1;
}

.site-sell-premium .float-text-brandon {
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

/* Larger beds / baths / sqft on CMA form */
.site-sell-premium .sell-cma-specs {
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.site-sell-premium .sell-cma-specs .sell-premium-field {
  margin-bottom: 0;
}

.site-sell-premium .sell-cma-specs .sell-premium-field span {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #374151;
}

.site-sell-premium .sell-cma-specs .sell-premium-field input,
.site-sell-premium .sell-cma-specs .sell-premium-field select {
  height: 62px;
  min-height: 62px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* —— Mobile —— */
@media (max-width: 960px) {
  .site-sell-premium .sell-premium-hero.sell-portal-hero {
    padding-top: clamp(2rem, 5vw, 2.75rem);
    padding-bottom: 2rem;
  }

  .sell-portal-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }

  .sell-portal-hero__form-col {
    order: 1;
  }

  .sell-portal-hero__copy {
    order: 2;
    padding-top: 0;
  }

  .site-sell-premium .sell-portal-hero__form-col .sell-premium-card-wrap {
    position: static;
  }

  .sell-portal-agent__actions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .sell-portal-agent__actions .btn {
    min-height: 52px;
    font-size: 0.95rem;
  }

  .site-sell-premium .sell-portal-hero__message h1 {
    font-size: clamp(1.75rem, 7vw, 2.375rem);
    max-width: none;
  }

  .sell-portal-steps__grid {
    grid-template-columns: 1fr;
  }

  .sell-portal-social__dot {
    display: none;
  }

  .sell-portal-social__grid {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (min-width: 961px) {
  .site-sell-premium .sell-portal-hero__message h1 {
    font-size: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sell-portal-agent .swmo-agent-card--compact,
  .sell-portal-agent__actions .btn,
  .sell-portal-trust .sell-premium-badge,
  .sell-portal-step-card {
    transition: none;
  }
}
