/* Additions for the rebuilt pages, in the same design language as base.css (Done-For-You page). */
html, body { margin: 0; background: #FAFAF8; }
.sf img { max-width: 100%; height: auto; display: block; }
.sf .center { text-align: center; }
.sf h2 { font-size: 32px; line-height: 1.2; margin-bottom: 16px; color: var(--navy); }
.sf .section-navy h2, .sf .hero h1 { color: var(--white); }
.sf p + p { margin-top: 12px; }

/* compact hero for inner pages */
.sf .hero-compact { padding: 64px 0 56px; }
.sf .hero-compact h1 { font-size: 44px; line-height: 1.15; margin: 8px 0 12px; }

/* hero with a form or image beside the copy */
.sf .hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.sf .hero-split h1 { font-size: 42px; line-height: 1.15; margin: 8px 0 16px; }
.sf .hero-checks { list-style: none; margin: 20px 0 0; padding: 0; }
.sf .hero-checks li { padding: 6px 0 6px 28px; position: relative; color: rgba(255,255,255,0.9); }
.sf .hero-checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--warm); font-weight: 700; }

/* two-column content */
.sf .split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sf .split-img { border-radius: 10px; box-shadow: 0 10px 30px rgba(15,43,60,0.15); }
.sf .pull { font-family: Georgia, serif; font-size: 22px; color: var(--navy); border-left: 3px solid var(--warm);
  padding: 4px 0 4px 18px; margin: 22px 0 26px; }

/* white card holding an embedded GHL form */
.sf .form-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 28px;
  box-shadow: 0 10px 30px rgba(15,43,60,0.10); color: var(--text); }
.sf .form-card h2 { font-size: 26px; margin-bottom: 6px; }
.sf .form-card p { color: var(--text-muted); margin-bottom: 14px; }

/* deal cards */
.sf .deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.sf .deal-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; }
.sf .deal-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sf .deal-card-lg img { aspect-ratio: auto; }
.sf .deal-card-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.sf .deal-card h3 { font-size: 22px; color: var(--navy); }
.sf .deal-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.sf .deal-nums dt { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); }
.sf .deal-nums dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; color: var(--green); }
.sf .deal-card .btn { margin-top: auto; text-align: center; }

/* three-mistakes / feature rows with an icon image */
.sf .icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; }
.sf .icon-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
.sf .icon-card img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 12px; }
.sf .icon-card h3 { font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.sf .icon-card p { color: var(--text-muted); }

/* stat strip (lender page) */
.sf .stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.sf .stat-strip div { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 14px; }
.sf .stat-strip b { display: block; font-size: 22px; color: var(--warm); }
.sf .stat-strip span { font-size: 13px; color: rgba(255,255,255,0.8); }

/* buy box criteria (edjonesbuys) */
.sf .criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.sf .criteria { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--green);
  border-radius: 10px; padding: 24px; }
.sf .criteria h3 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--green);
  font-family: -apple-system, sans-serif; font-weight: 700; margin-bottom: 4px; }
.sf .criteria h4 { font-size: 20px; color: var(--navy); margin: 0 0 10px; }
.sf .criteria h5 { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted);
  margin: 16px 0 6px; font-family: -apple-system, sans-serif; }
.sf .criteria ul { margin: 0; padding-left: 18px; }
.sf .criteria li { margin: 3px 0; }

/* long text (privacy policy) */
.sf .prose { max-width: 760px; margin: 0 auto; }
.sf .prose h2 { font-size: 22px; margin: 28px 0 8px; }
.sf .prose ul { padding-left: 20px; margin: 8px 0; }
.sf .prose li { margin: 4px 0; }

/* photo strip of sold homes */
.sf .gallery { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; }
.sf .gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* nav logo + footer extras */
.sf .nav-logo img { height: 40px; width: auto; }
.sf .footer-social { display: flex; gap: 14px; margin-top: 18px; }
.sf .footer-social img { width: 28px; height: 28px; }
.sf .footer-copyright a { color: inherit; text-decoration: underline; }

@media (max-width: 860px) {
  .sf .hero-split, .sf .split, .sf .criteria-grid { grid-template-columns: 1fr; gap: 28px; }
  .sf .stat-strip { grid-template-columns: 1fr 1fr; }
  .sf .gallery { grid-template-columns: repeat(4, 1fr); }
  .sf .hero-compact h1, .sf .hero-split h1 { font-size: 32px; }
  .sf h2 { font-size: 26px; }
  .sf .nav-links { flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
}

/* Pass 2 (Ed 10/29): a visible secondary button for light backgrounds - .btn-secondary is white-on-dark
   only, which made deal-card and path buttons invisible. */
.sf .btn-outline { background: transparent; color: var(--warm); border: 2px solid var(--warm); padding: 14px 28px; }
.sf .btn-outline:hover { background: var(--warm); color: var(--white); }
.sf .center .btn-secondary, .sf .btn-secondary:first-child { margin-left: 0; }
.sf .cta-question { text-align: center; font-size: 22px; color: var(--navy); margin: 40px 0 16px; letter-spacing: 0.5px; }
.sf .section-navy .cta-question { color: var(--white); }
/* cards: equal heights, buttons pinned to the bottom */
.sf .icon-grid { align-items: stretch; }
.sf .icon-card { display: flex; flex-direction: column; }
.sf .icon-card p:last-child { margin-top: auto; padding-top: 12px; }
.sf .deal-grid { align-items: stretch; }
.sf .split > img { width: 100%; }
.sf .hero-split .form-card { align-self: center; }
@media (max-width: 860px) {
  .sf .nav-inner { flex-direction: column; gap: 12px; }
  .sf .nav-links { justify-content: center; }
  .sf .btn, .sf .btn-large { padding: 14px 22px; }
  .sf .section { padding: 56px 0; }
  .sf .hero { padding: 56px 0; }
  .sf .split { text-align: left; }
  .sf .icon-card p:last-child .btn, .sf .deal-card .btn { display: block; text-align: center; }
}

/* Pass 2: base.css hid the nav links on phones (no menu at all) - show them, wrapped, under the brand */
@media (max-width: 860px) {
  .sf .nav-links { display: flex !important; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
  .sf .nav-links a, .sf .nav-links a:not(.nav-cta) { display: inline-block !important; font-size: 15px; }
  .sf .nav-cta { padding: 6px 14px; }
}

/* Pass 3 (Ed 10/29 11:23): nav links and the CTA button centred on one line, desktop and phone */
.sf .nav-inner { align-items: center; }
.sf .nav-links { align-items: center; }
.sf .nav-links a { line-height: 1.2; display: inline-flex; align-items: center; }

/* privacy-policy text ran to the screen edges on phones (no side padding) */
.sf .prose { padding: 0 24px; }
