/**
 * Premium seller experience — emotional, luxury, conversion-focused
 * v20260604
 */

.site-sell-premium .header-kw-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.25rem;
  opacity: 0.95;
}
.site-sell-premium .header-kw-logo {
  display: block;
  height: 20px;
  width: auto;
  max-width: 76px;
}

.sell-premium-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  background: linear-gradient(145deg, #050d18 0%, #0a1a2e 42%, #0f2438 100%);
  color: #f8f6f1;
}

.sell-premium-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(201, 162, 77, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(184, 146, 63, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.sell-premium-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 420px);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sell-premium-copy .swmo-agent-card--compact {
  margin-bottom: 1.35rem;
  max-width: 420px;
}

.sell-premium-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright, #c9a24d);
}

.sell-premium-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 16ch;
}

.sell-premium-lead {
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
}

.sell-premium-benefits {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.sell-premium-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.sell-premium-benefits li::before {
  content: '✔';
  flex-shrink: 0;
  color: var(--gold-bright, #c9a24d);
  font-weight: 700;
}

.sell-premium-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.sell-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.sell-premium-badge img {
  height: 14px;
  width: auto;
  display: block;
}

.sell-premium-badge--gold {
  border-color: rgba(201, 162, 77, 0.35);
  background: rgba(201, 162, 77, 0.12);
  color: #f5e6c8;
}

.sell-premium-badge__stars {
  color: var(--gold-bright, #c9a24d);
  letter-spacing: 0.05em;
}

/* Glass form card */
.sell-premium-card-wrap {
  position: sticky;
  top: calc(var(--header-h, 56px) + 1rem);
}

.sell-premium-card {
  max-width: 420px;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 1.65rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(201, 162, 77, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sell-premium-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy, #071526);
  letter-spacing: -0.02em;
}

.sell-premium-card__sub {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted, #4a5560);
}

.sell-premium-field {
  display: block;
  margin-bottom: 0.65rem;
}

.sell-premium-field span {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy, #071526);
}

.sell-premium-field input,
.sell-premium-field textarea {
  width: 100%;
  padding: 0.62rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--navy, #071526);
  background: #fff;
  border: 1px solid #d8dde3;
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sell-premium-field input:focus,
.sell-premium-field textarea:focus {
  outline: none;
  border-color: var(--gold, #b8923f);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.22);
}

.sell-premium-field textarea {
  min-height: 72px;
  resize: vertical;
}

.sell-premium-field--optional span::after {
  content: ' (optional)';
  font-weight: 500;
  color: var(--text-muted);
}

.sell-premium-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.75rem 0 1rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.sell-premium-consent input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.sell-premium-submit {
  display: block;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-size: 1.02rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--navy, #071526);
  background: linear-gradient(135deg, #d4b05c 0%, #c9a24d 45%, #b8923f 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(184, 146, 63, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.sell-premium-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(184, 146, 63, 0.5);
  filter: brightness(1.04);
}

.sell-premium-submit:active {
  transform: translateY(0);
}

.sell-premium-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.sell-premium-fine {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.sell-premium-form-error {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: #b91c1c;
}

.sell-premium-form-error.visible {
  display: block;
}

.sell-premium-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.sell-premium-success .success-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 600;
}

/* Proof + stories */
.sell-premium-proof {
  padding: clamp(2rem, 4vw, 2.75rem) 1.25rem;
  text-align: center;
  background: var(--cream, #f6f3ec);
  border-top: 1px solid rgba(7, 21, 38, 0.06);
}

.sell-premium-proof p {
  margin: 0 auto;
  max-width: 42rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.6;
  color: var(--navy, #071526);
  font-weight: 500;
}

.sell-premium-stories {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: #fff;
}

.sell-premium-stories .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sell-premium-stories h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.sell-premium-stories .section-sub {
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sell-premium-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.sell-premium-story {
  padding: 1.25rem;
  background: var(--cream, #f6f3ec);
  border-radius: 14px;
  border: 1px solid rgba(7, 21, 38, 0.06);
}

.sell-premium-story__stars {
  color: var(--gold, #b8923f);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.sell-premium-story blockquote {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--navy);
  font-style: normal;
}

.sell-premium-story cite {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
}

/* Market activity carousel */
.sell-premium-market {
  padding: clamp(2rem, 4vw, 3rem) 0 3rem;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.sell-premium-market h2 {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--navy);
}

.sell-premium-market .section-sub {
  text-align: center;
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sell-premium-market-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 1.25rem 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.sell-premium-market-track > * {
  flex: 0 0 min(78vw, 240px);
  scroll-snap-align: start;
}

.sell-premium-market-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(7, 21, 38, 0.08);
  box-shadow: 0 2px 12px rgba(7, 21, 38, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sell-premium-market-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(7, 21, 38, 0.1);
}

.sell-premium-market-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.sell-premium-market-card__body {
  padding: 0.65rem 0.75rem;
}

.sell-premium-market-card__price {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.sell-premium-market-card__addr {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Homepage inline variant */
.sell-premium-hero--home {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.site-zillow .sell-premium-hero--home {
  margin: 0;
}

.sell-premium-home-more {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.sell-premium-home-more a {
  color: var(--gold-bright, #c9a24d);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sell-premium-home-more a:hover {
  color: #e8c878;
}

.sell-premium-proof--home {
  padding: 1rem 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(7, 21, 38, 0.06);
}

.sell-premium-proof--home p {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 900px) {
  .sell-premium-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .sell-premium-hero h1 {
    max-width: none;
  }

  .sell-premium-card-wrap {
    position: static;
  }

  .sell-premium-card {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .sell-premium-trust {
    gap: 0.4rem;
  }

  .sell-premium-badge {
    font-size: 0.68rem;
    padding: 0.32rem 0.55rem;
  }
}

/* CMA wizard — readable labels + inputs (sq ft, year built, lot acres) */
.sell-cma-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.sell-cma-specs .sell-premium-field {
  margin-bottom: 0;
}

.sell-cma-specs .sell-premium-field span {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.sell-cma-specs .sell-premium-field input,
.sell-cma-specs .sell-premium-field select {
  padding: 0.9rem 0.85rem;
  font-size: 1.125rem;
  line-height: 1.35;
  min-height: 3rem;
  border-radius: 12px;
}

.sell-cma-specs .sell-premium-field input::placeholder {
  font-size: 1.05rem;
  color: #5c6b7a;
  opacity: 1;
}

.sell-cma-specs .sell-premium-field select {
  padding-right: 2rem;
}

/* Sq ft — full width so “e.g. 1500” is readable */
.sell-cma-specs .sell-premium-field:nth-child(3) {
  grid-column: 1 / -1;
}

.sell-cma-specs .sell-premium-field--full {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .sell-portal-hero .sell-cma-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sell-portal-hero .sell-cma-specs .sell-premium-field:nth-child(3) {
    grid-column: auto;
  }
}

.sell-premium-card.sell-cma-results {
  color: var(--navy, #071526);
}

.sell-cma-results__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark, #9a7b1a);
}

.sell-cma-results__range {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  color: var(--navy, #071526);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sell-cma-results__list-wrap {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #f4f7fa;
  border: 1px solid #dde3ea;
}

.sell-cma-results__list-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6570;
  margin-bottom: 0.2rem;
}

.sell-cma-results__list-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy, #071526);
}

.sell-cma-results__meta {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4a5560;
}

.sell-cma-outlook {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #f8fafc 0%, #eef3f8 100%);
  border: 1px solid #d8e0e8;
}

.sell-cma-outlook__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6570;
}

.sell-cma-outlook__stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}

.sell-cma-star {
  font-size: 1.35rem;
  line-height: 1;
  color: #c5cdd6;
}

.sell-cma-star.is-filled {
  color: #c9a24d;
  text-shadow: 0 1px 2px rgba(201, 162, 77, 0.35);
}

.sell-cma-outlook__pace {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy, #071526);
}

.sell-cma-outlook__summary {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #4a5560;
}

.sell-cma-outlook__factors {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #5c6570;
}

.sell-cma-outlook__factors li {
  margin-bottom: 0.2rem;
}

.sell-cma-comps-wrap {
  margin: 0 0 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.sell-cma-comp-group {
  margin-bottom: 0.85rem;
}

.sell-cma-comp-group__title {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy, #071526);
}

.sell-cma-comps {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  background: #fff;
}

.sell-cma-comp {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.2rem 0.75rem;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid #eef1f4;
  font-size: 0.82rem;
}

.sell-cma-comp:last-child {
  border-bottom: none;
}

.sell-cma-comp__kind {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  line-height: 1.2;
}

.sell-cma-comp__kind--sold {
  color: #0d5c36;
  background: #e8f5ee;
}

.sell-cma-comp__kind--active {
  color: #1c4a7a;
  background: #e8f0fa;
}

.sell-cma-comp__addr {
  grid-column: 2;
  color: var(--navy, #071526);
  font-weight: 600;
  line-height: 1.3;
}

.sell-cma-comp__price {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--navy, #071526);
  font-weight: 700;
  white-space: nowrap;
}

.sell-cma-comp__meta {
  grid-column: 2;
  color: #5a6570;
  font-size: 0.74rem;
  line-height: 1.35;
}

.sell-cma-comps-empty {
  margin: 0;
  font-size: 0.82rem;
  color: #5a6570;
  line-height: 1.45;
}

.sell-cma-disclaimer {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: #5a6570;
}

.sell-cma-results__cta {
  width: 100%;
  margin-top: 0.25rem;
}

.sell-premium-home-cta {
  display: inline-block;
  margin-top: 0.5rem;
}

.site-zillow .hero-search-bar--zillow .btn-hero-sell {
  grid-column: 1 / -1;
  justify-self: stretch;
  text-align: center;
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid #d4af37;
  color: #071526;
  background: linear-gradient(145deg, #e4c76a, #c9a24d);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.site-zillow .hero-search-bar--zillow .btn-hero-sell:hover {
  background: linear-gradient(145deg, #edd07a, #d4af37);
  border-color: #fff;
  color: #071526;
  transform: translateY(-1px);
}
