@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');
/* Krystal Crichlow | eXp Realty - Lead Pages
   Matched to krystalcrichlow.exprealty.com: eXp navy, white, Raleway. */

:root {
  --navy: #001f48;
  --navy-deep: #00142f;
  --teal: #294a8f;
  --teal-soft: #e9eff8;
  --teal-ink: #1d3a73;
  --white: #ffffff;
  --off-white: #f7f8fb;
  --ink: #1e2530;
  --ink-soft: #4d5866;
  --line: #dde3ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 31, 72, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: Raleway, "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-ink); }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar .brand {
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .phone {
  color: var(--teal-soft);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
/* Phone slot: renders "Text or call <number>" as two links (the words open
   sms:, the number opens tel:), or the fallback text when no number is set. */
.topbar .phone-slot,
.agent-card .phone-slot {
  color: var(--teal-soft);
  font-size: 14px;
  white-space: nowrap;
}
.topbar .phone-slot a {
  color: var(--teal-soft);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 40px 20px 48px;
}
.hero .wrap { max-width: 1060px; margin: 0 auto; }
.hero .eyebrow {
  color: var(--teal-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  max-width: 30ch;
}
.hero p.sub {
  margin-top: 12px;
  max-width: 58ch;
  color: #cdd8e8;
  font-size: 16px;
}
.hero .bullets {
  margin-top: 20px;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 640px;
}
.hero .bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: #e6ebf3;
}
.hero .bullets .dot {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ---------- Main split: form + agent card ---------- */
.main {
  padding: 32px 20px 8px;
}
.main .wrap {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.panel h2 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--navy);
}
.panel .panel-note {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 14px;
}

.form-shell {
  width: 100%;
  min-height: 480px;
}

/* Agent contact card, directly next to the form */
.agent-card {
  position: sticky;
  top: 16px;
  text-align: center;
}
.agent-card .photo {
  width: 132px;
  height: 132px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-soft), #d3deef);
  border: 3px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-ink);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 0.02em;
}
.agent-card .photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.agent-card .name {
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
}
.agent-card .org {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 10px;
}
.agent-card .phone-line {
  display: block;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
}
.agent-card .phone-line:hover { background: #dde6f3; }
.agent-card .phone-slot {
  display: block;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
}
.agent-card .phone-slot a {
  color: var(--teal-ink);
  text-decoration: underline;
}
.agent-card .fine {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
footer {
  margin-top: 28px;
  background: var(--navy);
  color: #cdd8e8;
  padding: 26px 20px;
}
footer .wrap {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}
footer .brand { color: var(--white); font-weight: 700; }
footer .eho { font-size: 13px; display: flex; align-items: center; gap: 8px; }
footer .eho .badge {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
footer a { color: #a9bde0; text-decoration: none; }

/* ---------- Utility pages ---------- */
.page-body { padding: 40px 20px; }
.page-body .wrap { max-width: 760px; margin: 0 auto; }
.page-body h1 { color: var(--navy); font-size: 30px; margin-bottom: 14px; }
.page-body p { margin-bottom: 12px; color: var(--ink-soft); }
.page-body a.btn {
  display: inline-block;
  margin-top: 8px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .main .wrap { grid-template-columns: 1fr; }
  .agent-card { position: static; order: -1; }
  .agent-card .photo { width: 96px; height: 96px; font-size: 30px; }
  .hero { padding: 28px 20px 32px; }
}

/* headshot */
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:36px;height:36px;border-radius:50%;object-fit:cover;object-position:center 30%;border:2px solid rgba(255,255,255,.75);flex:none}
.agent-card img.photo{object-fit:cover;object-position:center 25%;padding:0;font-size:0;display:block;margin-left:auto;margin-right:auto}
.author-box{display:flex;gap:14px;align-items:center;margin-top:28px;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white)}
.author-box img{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:center 25%;flex:none}
.author-box b{display:block;color:var(--navy)}
.author-box span{font-size:14px;color:var(--ink-soft)}
