/* ============================================================
   seller-lp.css — the short "what's your home worth" form
   Used by the seller ad landing pages (home-value, sell-your-home).

   One offer, four fields, the form in the hero. Property details are an
   optional second step AFTER the lead is captured, and a sticky bar on
   phones keeps Call and the form one tap away. Built 2026-10-01.

   The hero and the steps strip are <div>s, not <section>s, on purpose:
   site-responsive.css forces `section p { font-size: 19px !important }`
   below 767px, which would blow up the small print here.
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.slp-hero { position: relative; overflow: hidden; background: #1C1C1C; }
.slp-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; }
.slp-hero-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.66) 55%, rgba(17,17,17,0.58) 100%); }
.slp-hero-grid { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  padding: 150px 60px 84px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.slp-eyebrow { font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: #E8C9C1; display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.slp-eyebrow::before { content: ''; width: 32px; height: 1.5px; background: #E8C9C1; flex: none; }
.slp-hero h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08; color: #FFFFFF; margin: 0 0 20px; letter-spacing: -0.01em; }
.slp-hero h1 em { font-style: italic; font-weight: 500; color: #E8C9C1; }
.slp-sub { font-family: var(--font-sans); font-size: 17px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 0 28px; }
.slp-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.9); }
.slp-trust li { display: flex; align-items: center; gap: 10px; }
.slp-trust .slp-stars { color: #E8C9C1; letter-spacing: 2px; font-size: 13px; }
.slp-trust .slp-dot { width: 5px; height: 5px; border-radius: 50%; background: #E8C9C1; flex: none; margin: 0 4px; }

/* ── FORM CARD ──────────────────────────────────────────────── */
.slp-card { background: #F8F4EE; border-radius: 6px; padding: 34px 32px 30px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); scroll-margin-top: 110px; }
.slp-card h2 { font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: #1C1C1C;
  line-height: 1.2; margin: 0 0 6px; }
.slp-card-sub { font-family: var(--font-sans); font-size: 14px; font-weight: 300; color: #3F3A34;
  line-height: 1.6; margin: 0 0 20px; }
.slp-form { display: flex; flex-direction: column; gap: 12px; }
.slp-field { display: flex; flex-direction: column; gap: 5px; }
.slp-field label { font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: #3F3A34; }
.slp-field .slp-opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: #6A6259; }
.slp-form input[type="text"], .slp-form input[type="email"], .slp-form input[type="tel"],
.slp-form select, .slp-form textarea {
  width: 100%; padding: 13px 15px; background: #FFFFFF; border: 1px solid rgba(28,28,28,0.2);
  border-radius: 4px; font-family: var(--font-sans); font-size: 16px; font-weight: 400; color: #1C1C1C;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.slp-form input:focus, .slp-form select:focus, .slp-form textarea:focus {
  border-color: #1C1C1C; box-shadow: 0 0 0 3px rgba(232,201,193,0.55); }
.slp-form select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231C1C1C' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.slp-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slp-hint { font-family: var(--font-sans); font-size: 12px; font-weight: 300; color: #5E574F; line-height: 1.5; }

.slp-submit { width: 100%; margin-top: 4px; padding: 17px 20px; background: #1C1C1C; color: #FFFFFF;
  border: 1px solid #1C1C1C; border-radius: 4px; font-family: var(--font-sans); font-size: 12px;
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s; }
.slp-submit:hover, .slp-submit:focus-visible { background: #E8C9C1; border-color: #E8C9C1; color: #1C1C1C; }
.slp-submit:disabled { opacity: 0.7; cursor: wait; }

.slp-consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-sans);
  font-size: 12px; font-weight: 300; line-height: 1.55; color: #3F3A34; cursor: pointer; }
.slp-consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: #1C1C1C; }
.slp-fine { font-family: var(--font-sans); font-size: 11.5px; font-weight: 300; line-height: 1.55;
  color: #5E574F; margin: 2px 0 0; }
.slp-error { display: none; font-family: var(--font-sans); font-size: 13px; line-height: 1.5;
  color: #8E2A1E; background: #FBEDEB; border-radius: 4px; padding: 10px 12px; }
.slp-call { font-family: var(--font-sans); font-size: 13px; color: #3F3A34; text-align: center; margin: 14px 0 0; }
.slp-call a { color: #1C1C1C; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ── STEP 2 (optional details, after the lead is in) ─────────── */
.slp-step2 { display: none; }
.slp-step2.is-on { display: block; }
.slp-done { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: #1C1C1C; display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.slp-done::before { content: '\2713'; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: #E8C9C1; color: #1C1C1C; font-size: 12px; letter-spacing: 0; }
.slp-skip { display: block; width: 100%; margin-top: 10px; padding: 10px; background: none; border: none;
  font-family: var(--font-sans); font-size: 13px; color: #3F3A34; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; }
.slp-skip:hover { color: #1C1C1C; }

/* ── "WHAT HAPPENS NEXT" STRIP ──────────────────────────────── */
.slp-next { background: #F8F4EE; padding: 72px 60px; border-bottom: 1px solid rgba(28,28,28,0.07); }
.slp-next-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.slp-next-step { display: flex; gap: 16px; align-items: flex-start; }
.slp-next-num { font-family: var(--font-serif); font-size: 30px; font-weight: 300; line-height: 1; color: #1C1C1C; flex: none; width: 40px; }
.slp-next-step h3 { font-family: var(--font-sans); font-size: 16px; font-weight: 500; color: #1C1C1C; margin: 2px 0 6px; }
.slp-next-step p { font-family: var(--font-sans); font-size: 14px; font-weight: 300; line-height: 1.7; color: #2A2A2A; margin: 0; }

/* ── STICKY PHONE BAR ───────────────────────────────────────── */
.slp-bar { display: none; }
@media (max-width: 767px) {
  .slp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: grid;
    grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(248,244,238,0.97); box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease; }
  .slp-bar.is-hidden { transform: translateY(115%); }
  .slp-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    border-radius: 4px; font-family: var(--font-sans); font-size: 12px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
  .slp-bar .slp-bar-call { border: 1.5px solid #1C1C1C; color: #1C1C1C; background: #FFFFFF; }
  .slp-bar .slp-bar-form { background: #1C1C1C; color: #FFFFFF; border: 1.5px solid #1C1C1C; }
  .slp-bar a:active { background: #E8C9C1; color: #1C1C1C; border-color: #E8C9C1; }
  /* Keep the chat bubble and the page's last lines clear of the bar. */
  body.slp-has-bar { padding-bottom: 76px; }
  body.slp-has-bar #mdt-chat-btn { bottom: 86px !important; }
  body.slp-has-bar #mdt-chat-window { bottom: 150px !important; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .slp-hero-grid { gap: 40px; padding: 140px 40px 72px; }
}
@media (max-width: 900px) {
  .slp-hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 120px 28px 56px; }
  .slp-next-inner { grid-template-columns: 1fr; gap: 26px; }
  .slp-next { padding: 56px 28px; }
}
@media (max-width: 767px) {
  .slp-hero-grid { padding: 104px 20px 40px; gap: 26px; }
  .slp-hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .slp-sub { font-size: 16px !important; margin-bottom: 20px; }
  .slp-trust { font-size: 13px; gap: 8px; }
  .slp-card { padding: 26px 20px 24px; }
  .slp-row-2 { grid-template-columns: 1fr; }
  .slp-next { padding: 44px 20px; }
}
