/* Will County Home Options — Dave Faxel, NextHome Select Realty */

:root {
  --navy: #10263a;
  --navy-deep: #0a1a28;
  --navy-mid: #1a3a52;
  --teal: #1e6a6f;
  --teal-dark: #164e52;
  --gold: #c9a24a;
  --gold-dark: #8c6c24;
  --gold-soft: #e8d5a3;
  --cream: #f6f1e8;
  --cream-2: #ebe4d6;
  --paper: #fffdf9;
  --ink: #1a2330;
  --muted: #5c6570;
  --line: rgba(16, 38, 58, 0.12);
  --shadow: 0 16px 40px rgba(16, 38, 58, 0.08);
  --shadow-sm: 0 6px 18px rgba(16, 38, 58, 0.06);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --header-h: 4.5rem;
  --max: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, .logo-text {
  font-family: var(--font-serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 8px;
}
.skip:focus { top: 0; color: #fff; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 16px rgba(16, 38, 58, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
}
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.15;
}
.logo-text span:last-child {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.55rem;
}
.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--teal); }

.header-cta {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy);
  color: var(--cream) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
}
.header-cta:hover { background: var(--navy-mid); color: #fff !important; }
.header-cta .avatar {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-soft);
}

.nav-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 880px) {
  .nav, .header-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 0.5rem 0 1.25rem;
}
.nav-open .mobile-nav { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .header-cta {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* Disclosure */
.disclosure {
  background: var(--navy);
  color: #d7e0e8;
  font-size: 0.84rem;
  line-height: 1.5;
  padding: 0.7rem 0;
}
.disclosure p { margin: 0; }
.disclosure strong { color: #fff; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep) !important;
  border-color: var(--gold);
}
.btn-gold:hover { background: #d4af5c; color: var(--navy-deep) !important; }
.btn-navy {
  background: var(--navy);
  color: var(--cream) !important;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: #fff !important; }
.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border-color: rgba(16, 38, 58, 0.35);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(16, 38, 58, 0.04); }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0 3.2rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.15rem, 6vw, 4.05rem);
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: 15ch;
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-row svg { width: 1rem; height: 1rem; color: var(--teal); }

.hero-photo {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
  justify-self: center;
  padding: 0 0.9rem 0.9rem 0; /* room for the gold offset frame */
}
.hero-photo .frame {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-deep);
}
.hero-photo .frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero-photo .offset {
  position: absolute;
  inset: 0.85rem -0.85rem -0.85rem 0.85rem;
  border: 1.5px solid var(--gold);
  border-radius: 22px;
  z-index: 0;
}
.photo-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  background: rgba(10, 26, 40, 0.78);
  color: var(--cream);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.photo-caption strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}
.photo-caption span {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-soft);
}

@media (min-width: 900px) {
  .hero { padding: 3.4rem 0 4.5rem; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
  .hero-photo { max-width: none; margin: 0; }
}

/* Sections */
section { padding: 3.4rem 0; }
.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  margin: 0.2rem 0 0.7rem;
}
.section-head p { color: var(--muted); margin: 0; }

/* Option cards */
.options { background: var(--paper); }
.card-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 800px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 1.45rem; height: 1.45rem; }
.card h3 { font-size: 1.4rem; margin-bottom: 0.55rem; }
.card p { color: var(--muted); flex: 1; }
.card .card-note {
  font-size: 0.86rem;
  color: var(--navy-mid);
  background: rgba(16, 38, 58, 0.05);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin: 0.4rem 0 0;
}

/* How it works */
.steps {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
}
.step {
  position: relative;
  padding: 0.2rem 0 0.4rem;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.28rem; margin-bottom: 0.45rem; }
.step p { color: var(--muted); margin: 0; }

/* About */
.about { background: var(--navy); color: #d5dee6; }
.about .kicker { color: var(--gold-soft); }
.about h2, .about h3 { color: #fff; }
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.about-photo {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
}
.about-photo img {
  border-radius: 22px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  width: 100%;
}
.about-copy p { margin-bottom: 1rem; }
.about-copy a { color: var(--gold-soft); }
.about-copy a:hover { color: #fff; }
.about-meta {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}
.about-meta div {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.75rem;
}
.about-meta strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}
.about-meta span { font-size: 0.88rem; color: #b7c3cd; }
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; }
  .about-photo { max-width: none; margin: 0; }
  .about-meta { grid-template-columns: 1fr 1fr; }
}

/* FAQ */
.faq-list { display: grid; gap: 0.7rem; max-width: 48rem; }
details.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  color: var(--navy);
  padding: 1rem 3rem 1rem 1.15rem;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
details.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details.faq .faq-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
}
details.faq .faq-body p:last-child { margin: 0; }

/* Contact */
.contact { background: var(--paper); }
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
}
.contact-aside {
  background: var(--navy);
  color: #d5dee6;
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.contact-aside h2 { color: #fff; font-size: 2rem; margin: 0.15rem 0 0.7rem; }
.contact-aside .kicker { color: var(--gold-soft); }
.contact-aside a { color: var(--gold-soft); }
.contact-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.3rem 0 0.3rem;
}
.contact-person img {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.contact-person strong { display: block; color: #fff; font-size: 1.05rem; }
.contact-person span { font-size: 0.88rem; }
.direct-lines { margin-top: 1rem; display: grid; gap: 0.35rem; }
.direct-lines a {
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 1.1rem;
}
.direct-lines a:hover { color: var(--gold-soft); }
.tiny { font-size: 0.86rem; color: var(--muted); margin-top: 1rem; }
.contact-aside .tiny,
.site-footer .tiny { color: #b7c3cd; }

.form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 600px) {
  .form { padding: 1.7rem 1.6rem 1.8rem; }
}
.form-grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
}
label {
  display: block;
  font-weight: 650;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.req { color: var(--teal); }
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(16, 38, 58, 0.18);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2310263a' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
}
textarea { min-height: 7rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: rgba(16, 38, 58, 0.4); }
.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}
.consent input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--teal);
  flex: none;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.form-status {
  font-size: 0.92rem;
  margin: 0.4rem 0 0;
  color: var(--teal-dark);
  font-weight: 600;
}
.form-status.error { color: #8b2e2e; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #b7c3cd;
  font-size: 0.9rem;
  padding: 2.6rem 0 7.5rem;
  line-height: 1.55;
}
.footer-grid {
  display: grid;
  gap: 1.8rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 1.1fr; gap: 2.5rem; }
  .site-footer { padding-bottom: 2.6rem; }
}
.site-footer h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: #fff; }
.eho {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 0.9rem;
}
.eho img, .eho svg {
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  color: var(--gold-soft);
}
.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.82rem;
  color: #9aabb8;
}
.legal p { margin: 0 0 0.65rem; }

/* Sticky mobile call bar */
.callbar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(10, 26, 40, 0.35);
}
.callbar:hover { color: #fff; background: var(--navy-mid); }
.callbar img {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}
@media (min-width: 880px) {
  .callbar { display: none; }
}

/* Interior pages */
.page {
  padding: 3rem 0 4rem;
}
.page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem; }
.page-body { max-width: 42rem; }
.page-body h2 { font-size: 1.4rem; margin: 1.8rem 0 0.5rem; }
.page-body p, .page-body li { color: var(--muted); }
.page-body ul { padding-left: 1.15rem; list-style: disc; margin-bottom: 1rem; }
.thanks {
  min-height: 55vh;
  display: grid;
  align-items: center;
  padding: 3.5rem 0 5rem;
}
.thanks-card {
  max-width: 38rem;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.thanks-card img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin-bottom: 1rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s var(--ease) forwards;
}
.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .card, .btn, .nav-toggle span { transition: none; }
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Footer wordmark and mark need to sit on a dark background */
.site-footer .logo,
.site-footer .logo:hover,
.site-footer .logo-text {
  color: #fff;
}
.site-footer .logo-text span:last-child {
  color: var(--gold-soft);
}
.site-footer .logo-mark > rect:first-child { fill: #F6F1E8; }
.site-footer .logo-mark path:nth-of-type(1) { fill: #10263A; }
.site-footer .logo-mark path:nth-of-type(2) { fill: #F6F1E8; }
.site-footer .logo-mark rect:nth-of-type(3),
.site-footer .logo-mark rect:nth-of-type(4) { fill: #1A3A52; }

/* Hamburger: reliable flex stack */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Stretch the contact aside to the form height on desktop */
@media (min-width: 880px) {
  .contact-grid { align-items: stretch; }
  .contact-aside { display: flex; flex-direction: column; }
  .contact-aside .tiny { margin-top: auto; padding-top: 1.2rem; }
}

/* Photo caption: no cramped wrap on the brokerage name */
.photo-caption span { white-space: nowrap; }
@media (max-width: 899px) {
  .photo-caption span { white-space: normal; }
  .hero-photo { max-width: 22rem; width: 100%; }
}

/* Slightly tighter mobile disclosure */
@media (max-width: 879px) {
  .disclosure { font-size: 0.8rem; padding: 0.65rem 0; }
}

@media (min-width: 880px) {
  .nav-toggle { display: none !important; }
}
.photo-caption {
  width: fit-content;
  max-width: calc(100% - 2rem);
  right: auto;
}
