/* Lakeside Realty Windermere — public agent forms
   Landing-page design system modeled on boyntonbeachpoolhome.com
   (lakeside-listings DESIGN_TOKENS.css, locked 2026-05-25).
   Split layout: navy hero rail + clean white form panel. */

:root {
  --navy: #0D1B2A;
  --charcoal: #2B2D42;
  --electric: #00A3FF;
  --electric-hover: #0089D8;
  --electric-faint: #E5F5FF;
  --slate: #8D99AE;
  --light: #EDF2F4;
  --muted-bg: #F7F8FA;
  --destructive: #E11D48;
  --border: rgba(141, 153, 174, 0.20);
  --border-strong: rgba(141, 153, 174, 0.35);
  --input-border: rgba(141, 153, 174, 0.30);
  --chrome-fg-muted: rgba(255, 255, 255, 0.65);
  --chrome-border: rgba(255, 255, 255, 0.10);
  --shadow-md: 0 4px 12px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(13, 27, 42, 0.12);
  --shadow-xl: 0 24px 64px rgba(13, 27, 42, 0.16);
  --font-display: 'Sora', Arial, sans-serif;
  --font-body: 'Work Sans', Arial, Helvetica, sans-serif;
  --font-data: 'Space Mono', 'Courier New', monospace;
  --motion: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}

/* ============ Split shell ============ */
.shell { display: flex; min-height: 100vh; align-items: stretch; }

/* ---- Hero rail (left) ---- */
.rail {
  position: sticky;
  top: 0;
  align-self: flex-start;
  width: 44%;
  min-width: 380px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 56px 36px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(0, 163, 255, 0.22) 0%, rgba(0, 163, 255, 0) 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(0, 163, 255, 0.10) 0%, rgba(0, 163, 255, 0) 50%),
    var(--navy);
  overflow: hidden;
}
.rail::after {           /* faint oversized watermark */
  content: "LRW";
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 280px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.rail > * { position: relative; z-index: 1; }

.rail-logo img { height: 44px; width: auto; display: block; filter: brightness(0) invert(1); }

.rail-main { margin: auto 0; padding: 48px 0; }

.kicker {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 20px;
}
.kicker .dot { color: var(--chrome-fg-muted); padding: 0 6px; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.rail-sub {
  color: var(--chrome-fg-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 42ch;
  margin: 0;
}

.prop-chip {
  display: none;            /* shown by prefill JS */
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--chrome-border);
}
.prop-chip .pc-label {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}
.prop-chip .pc-value {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 19px;
  color: var(--electric);
  line-height: 1.35;
}

.rail-points { list-style: none; margin: 34px 0 0; padding: 0; }
.rail-points li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--chrome-fg-muted);
  font-size: 15px;
  padding: 7px 0;
}
.rail-points li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--electric);
  transform: translateY(-2px);
}

.agent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--chrome-border);
}
.agent-card img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 163, 255, 0.55);
}
.agent-card .ac-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}
.agent-card .ac-sub {
  font-size: 13px;
  color: var(--chrome-fg-muted);
}
.agent-card .ac-contact {
  margin-left: auto;
  text-align: right;
  font-family: var(--font-data);
  font-size: 12.5px;
  line-height: 1.7;
}
.agent-card .ac-contact a { color: var(--electric); text-decoration: none; }
.agent-card .ac-contact a:hover { color: #fff; }

.rail-tag {
  margin-top: 18px;
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---- Form panel (right) ---- */
.panel { flex: 1; background: #fff; display: flex; justify-content: center; }
.panel-inner { width: 100%; max-width: 660px; padding: 72px 64px 56px; }
.panel-inner.wide { max-width: 760px; }

.panel-head { margin-bottom: 8px; }
.panel-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 8px;
}
.panel-head p { color: var(--slate); font-size: 15.5px; margin: 0; max-width: 52ch; }

.section {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 20px;
}
.section .s-num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 12px;
  color: var(--electric);
  letter-spacing: 0.08em;
}
.section .s-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}
.section::after { content: ""; flex: 1; border-top: 1px solid var(--border); }

.field { margin-bottom: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

label.f-label, .f-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 7px;
}
.f-label .req { color: var(--electric); }
.hint {
  font-size: 13px;
  color: var(--slate);
  margin-top: 6px;
}
.hint a { color: var(--electric-hover); text-decoration: none; }

input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="date"], textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color var(--motion), box-shadow var(--motion);
  appearance: none;
  -webkit-appearance: none;
}
textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: rgba(141, 153, 174, 0.75); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.16);
}

/* ---- Pill radio groups ---- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.pills label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--charcoal);
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  padding: 10px 20px;
  cursor: pointer;
  user-select: none;
  transition: all var(--motion);
  background: #fff;
}
.pills label:hover { border-color: var(--electric); color: var(--electric-hover); }
.pills input[type="radio"]:checked + label {
  background: var(--electric);
  border-color: var(--electric);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 163, 255, 0.30);
}
.pills input[type="radio"]:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.30);
}

/* ---- File dropzone ---- */
input[type="file"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  padding: 22px 16px;
  background: var(--muted-bg);
  cursor: pointer;
  transition: border-color var(--motion), background var(--motion);
}
input[type="file"]:hover { border-color: var(--electric); background: var(--electric-faint); }
input[type="file"]::file-selector-button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--electric-hover);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  padding: 8px 18px;
  margin-right: 14px;
  cursor: pointer;
}

/* ---- Submit ---- */
.submit-row { margin-top: 36px; }
button.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--electric);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  padding: 17px 38px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 163, 255, 0.35);
  transition: all var(--motion);
}
button.cta .arrow { transition: transform var(--motion); }
button.cta:hover {
  background: var(--electric-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 163, 255, 0.40);
}
button.cta:hover .arrow { transform: translateX(4px); }
button.cta:disabled {
  background: var(--slate);
  box-shadow: none;
  transform: none;
  cursor: wait;
}
.submit-note {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--slate);
  margin-top: 16px;
}
.fine-print {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--slate);
}
.fine-print a { color: var(--electric-hover); text-decoration: none; }

.error-note {
  display: none;
  font-size: 14.5px;
  color: var(--destructive);
  background: rgba(225, 29, 72, 0.06);
  border: 1px solid rgba(225, 29, 72, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 20px;
}

.turnstile-wrap { margin: 30px 0 0; min-height: 65px; }

/* Honeypot — visually removed, still in the DOM for bots */
.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============ Full-navy pages (landing / thanks) ============ */
.hero-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(110% 80% at 85% 0%, rgba(0, 163, 255, 0.20) 0%, rgba(0, 163, 255, 0) 55%),
    radial-gradient(80% 60% at 10% 100%, rgba(0, 163, 255, 0.10) 0%, rgba(0, 163, 255, 0) 50%),
    var(--navy);
}
.hero-nav { padding: 36px clamp(24px, 6vw, 72px); }
.hero-nav img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px clamp(24px, 6vw, 72px) 64px;
}
.hero-body .display { max-width: 16ch; margin-left: auto; margin-right: auto; }
.hero-body .rail-sub { margin: 0 auto; }

.tiles {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 52px;
  width: 100%;
  max-width: 880px;
}
.tile {
  flex: 1 1 320px;
  max-width: 420px;
  text-align: left;
  background: #fff;
  color: var(--charcoal);
  border-radius: 16px;
  padding: 34px 32px 30px;
  text-decoration: none;
  box-shadow: var(--shadow-xl);
  transition: transform var(--motion), box-shadow var(--motion);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35); }
.tile .t-kicker {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--electric);
}
.tile .t-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  color: var(--navy);
  margin: 10px 0 10px;
  letter-spacing: -0.01em;
}
.tile .t-desc { font-size: 15px; color: var(--slate); line-height: 1.6; margin: 0 0 18px; }
.tile .t-go {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--electric-hover);
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px clamp(24px, 6vw, 72px);
  border-top: 1px solid var(--chrome-border);
  font-size: 13px;
  color: var(--chrome-fg-muted);
}
.hero-foot a { color: var(--electric); text-decoration: none; }
.hero-foot .rail-tag { margin: 0; }

/* Thanks page */
.badge-ok {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(0, 163, 255, 0.12);
  border: 1.5px solid rgba(0, 163, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}
.badge-ok svg { width: 34px; height: 34px; stroke: var(--electric); }
.thanks-prop {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 18px;
  color: var(--electric);
  margin: 22px 0 0;
}
.btn-ghost {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  padding: 14px 34px;
  transition: all var(--motion);
}
.btn-ghost:hover { border-color: var(--electric); color: var(--electric); }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .shell { flex-direction: column; }
  .rail {
    position: static;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 28px 24px 30px;
  }
  .rail::after { font-size: 160px; right: -30px; bottom: -40px; }
  .rail-logo img { height: 36px; }
  .rail-main { margin: 0; padding: 26px 0 0; }
  .display { font-size: clamp(32px, 9vw, 44px); margin-bottom: 14px; }
  .rail-sub { font-size: 15.5px; }
  .rail-points, .agent-card, .rail-tag { display: none; }
  .prop-chip { margin-top: 18px; padding-top: 16px; }
  .prop-chip .pc-value { font-size: 16px; }
  .panel-inner, .panel-inner.wide { padding: 36px 24px 44px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 0; }
  .grid-2 .field, .grid-3 .field { margin-bottom: 18px; }
  .panel-head h2 { font-size: 22px; }
  button.cta { width: 100%; justify-content: center; }
  .tiles { margin-top: 36px; }
}
