/* MLS portal request — Buyers page Option 4 */

.netlify-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.opt-label {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-soft);
  font-size: 10.5px;
  margin-left: 4px;
}

.portal-fieldset {
  border: 0;
  margin: 16px 0 14px;
  padding: 0;
}

.portal-fieldset legend {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
  padding: 0;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 6px 7px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  line-height: 1.2;
}

.check-pill input {
  accent-color: var(--burgundy);
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 0;
}

.check-pill:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy-tint);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 12px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
  cursor: pointer;
}

.consent-row input {
  accent-color: var(--burgundy);
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.portal-note {
  margin: 0;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  max-width: 420px;
}

.opt4-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
  isolation: isolate;
}

.opt4-bg {
  position: absolute;
  inset: 0;
  background: url(img/jax/skyline.jpg) center 45% / cover no-repeat;
  z-index: 0;
}

.opt4-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(20,29,56,.92) 0 46%, rgba(20,29,56,.62) 72%, rgba(160,48,60,.35) 100%);
}

.opt4-inner {
  position: relative;
  z-index: 2;
  padding: 28px 24px 40px;
}

.opt4-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--burgundy);
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 0 4px 4px 0;
  margin: 0 0 18px -8px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  border-left: 5px solid var(--gold-bright);
}

.opt4-ribbon span { color: var(--gold-bright); }

.opt4-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.opt4-intro { position: relative; z-index: 3; min-width: 0; }

.opt4-intro h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

.opt4-intro .lead {
  color: #E8EAF1;
  margin: 0 0 14px;
  font-size: 1rem;
}

.opt4-collage {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  height: 168px;
  max-height: 168px;
  overflow: hidden;
  padding: 10px 8px 8px;
  margin: 0 0 10px;
}

.opt4-frame {
  background: #fff;
  padding: 6px 6px 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
  width: 150px;
  max-width: 150px;
  flex: 0 0 150px;
  margin: 0;
  position: relative;
}

.opt4-frame img {
  width: 100%;
  height: 112px;
  max-height: 112px;
  object-fit: cover;
  display: block;
}

.opt4-frame.left { transform: rotate(-7deg); z-index: 1; }
.opt4-frame.right { transform: rotate(6deg); margin-left: -16px; z-index: 2; }

.opt4-perks {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.opt4-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(201,162,39,.5);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.opt4-perks .perk-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.opt4-perks .perk-icon svg { width: 16px; height: 16px; }

.opt4-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.opt4-stats div {
  background: rgba(255,255,255,.1);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  text-align: center;
}

.opt4-stats b {
  display: block;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold-bright);
}

.opt4-stats span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #D5D8E4;
  margin-top: 2px;
}

.opt4-login, .opt4-contact {
  margin: 0 0 5px;
  font-size: 13.5px;
  color: #D5D8E4;
}

.opt4-login a, .opt4-contact a {
  color: var(--gold-bright);
  font-weight: 700;
  text-decoration: none;
}

.opt4-login a:hover, .opt4-contact a:hover { text-decoration: underline; }

.opt4-form {
  position: relative;
  z-index: 4;
  margin: 0;
  background: #fff;
  color: var(--text);
  border: 2px solid var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(201,162,39,.2), var(--shadow-lg);
  padding: 18px 18px 12px;
}

.opt4-form .form-grid { gap: 12px 16px; }
.opt4-form .form-field { margin-bottom: 0; }
.opt4-form .portal-note { color: var(--navy); }

.opt4-fn {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .opt4-grid { grid-template-columns: 1fr; }
  .opt4-overlay {
    background: linear-gradient(180deg, rgba(20,29,56,.94) 0 42%, rgba(20,29,56,.78) 100%);
  }
}

@media (max-width: 720px) {
  .opt4-inner { padding: 20px 18px 28px; }
  .opt4-ribbon { margin-left: 0; font-size: 10.5px; }
  .opt4-form { padding: 16px 14px 12px; }
  .opt4-collage { height: 140px; max-height: 140px; }
  .opt4-frame { width: 124px; max-width: 124px; flex-basis: 124px; }
  .opt4-frame img { height: 92px; max-height: 92px; }
  .opt4-stats b { font-size: 0.92rem; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-pill { font-size: 12.5px; min-height: 40px; }
  .portal-actions { flex-direction: column; align-items: stretch; }
  .portal-actions .btn { width: 100%; }
}
