/* RentToOwn Hero — shared styles */
:root {
  --navy: #364e81;
  --salmon: #f47b60;
  --salmon-dark: #e2654a;
  --blue: #0a72e9;
  --blue-dark: #0866dd;
  --band: #f1f1f1;
  --soft: #e6e9f0;
  --text: #444;
  --muted: #777;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-block;
  padding: 11px 26px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  font: 400 15px/1.3 "Lato", "Open Sans", Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s ease, transform .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--salmon { background: var(--salmon); }
.btn--salmon:hover { background: var(--salmon-dark); }
.btn--blue { background: var(--blue); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--grey { background: #acacac; font-size: 16px; }
.btn--grey:hover { background: #999; }
.cta { text-align: center; margin: 26px 0 0; }

/* ================= Home ================= */
.hero {
  background: linear-gradient(rgba(40, 40, 40, .55), rgba(40, 40, 40, .55)), url("hero.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 22px 0 90px;
}
.hero .logo img { width: 110px; height: auto; }
.hero h1 { font: 400 clamp(32px, 5vw, 46px)/1.2 "Playfair Display", Georgia, serif; max-width: 380px; margin: 34px auto 14px; }
.hero p { font-size: 17px; margin: 0 0 24px; }

.about { background: var(--soft); padding: 40px 0 60px; }
.about h2 { text-align: center; color: var(--navy); font: 700 32px/1.2 "Playfair Display", Georgia, serif; margin: 0 0 6px; }
.about h2 em { font-weight: 400; }
.about h2::after { content: ""; display: block; width: 50px; height: 1px; background: var(--navy); margin: 14px auto 0; }
.about-text { max-width: 520px; margin: 0 auto 40px; text-align: center; font-size: 14px; }
.about-text p { margin: 0 0 12px; }

.listings { max-width: 770px; margin: 0 auto; display: grid; gap: 16px; }
.listing { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: #fff; }
.listing-info { padding: 28px 24px 28px 64px; }
.listing h3 { font: 400 21px/1.3 "Playfair Display", Georgia, serif; margin: 0 0 12px; }
.listing h3::after { content: ""; display: block; width: 40px; height: 1px; background: #fff; margin-top: 12px; }
.listing ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; letter-spacing: .02em; }
.listing li { margin: 0 0 4px; }
.listing > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btn-outline { background: transparent; color: #fff; border: 1px solid #fff; padding: 5px 16px; font: 400 13px "Open Sans", Arial, sans-serif; text-transform: uppercase; cursor: pointer; }
.btn-outline:hover { background: #fff; color: var(--navy); }

.lifting { background: url("wood-house.jpg") center / cover no-repeat; padding: 70px 20px; }
.lifting-card { max-width: 590px; margin: 0 auto; background: #fff; padding: 30px 34px 40px; text-align: center; }
.lifting-card h2 { color: var(--navy); font: 700 clamp(26px, 3.4vw, 34px)/1.3 "Playfair Display", Georgia, serif; margin: 0 0 30px; }
.lifting-card h2 em { font-weight: 400; }
.lifting-card h2::after { content: ""; display: block; width: 40px; height: 1px; background: var(--navy); margin: 22px auto 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: 13px; }
.features img { height: 66px; width: auto; display: block; margin: 0 auto 10px; }
.features h3 { font-size: 13px; margin: 0 0 4px; color: #333; }
.features p { margin: 0; }

.dream { background: var(--soft); padding: 40px 0; }
.dream .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 790px; }
.dream h2 { color: var(--navy); font: 400 22px/1.3 "Playfair Display", Georgia, serif; margin: 0 0 12px; }
.dream h2::after { content: ""; display: block; width: 40px; height: 1px; background: var(--navy); margin-top: 10px; }
.dream p { margin: 0; font-size: 14px; max-width: 470px; }
.dream .btn { flex: none; padding: 11px 36px; }

/* Lightbox (native <dialog>) */
.lightbox { border: 0; padding: 24px; max-width: 680px; width: calc(100% - 32px); background: #fff; color: #333; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lb-close { position: absolute; top: 4px; right: 10px; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: #666; }
.lb-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.lb-photos img { display: block; width: 100%; height: auto; margin-bottom: 8px; }
.lb-info { font-size: 13px; }
.lb-info h3 { font: 700 19px "Playfair Display", Georgia, serif; color: var(--navy); margin: 4px 0 4px; }
.lb-price { font-style: italic; font-size: 12px; margin: 0 0 12px; }
.lb-info h4 { margin: 0 0 2px; font-size: 13px; }
.lb-info ul { list-style: none; padding: 0; margin: 0 0 12px; }
.lb-info p { margin: 0 0 16px; }
.lightbox--small { max-width: 440px; text-align: center; }
.lightbox--small img { margin: 10px auto 14px; display: block; }
.lb-actions { display: flex; gap: 12px; justify-content: center; }
.lb-actions .btn { min-width: 100px; }

.site-footer { background: var(--navy); color: #fff; font-size: 13px; padding: 18px 0 16px; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.site-footer p { margin: 0; }
.site-footer nav span { margin: 0 5px; }
.site-footer .legal { max-width: 760px; margin: 14px auto 0; font-size: 12px; opacity: .85; }

/* ================= Legal + contact ================= */
.topbar { background: var(--navy); padding: 8px 0; }
.topbar img { display: block; width: 100px; height: auto; }
.page { padding: 30px 20px 50px; font-size: 15px; color: #222; max-width: 760px; }
.page h1 { font-size: 28px; margin: 0 0 18px; }
.page h2 { font-size: 20px; margin: 28px 0 10px; }
.page h3 { font-size: 16px; margin: 24px 0 8px; }
.page p, .page li { margin: 0 0 12px; }
.page a { color: #1a6fb5; }
.contact-form { display: grid; gap: 14px; max-width: 400px; margin: 26px auto 0; }
.contact-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 9px 10px; font: 400 15px "Open Sans", Arial, sans-serif; border: 1px solid #bbb; border-radius: 3px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.contact-form .btn { justify-self: start; }
.thanks { max-width: 400px; margin: 26px auto 0; padding: 18px; background: #eef5ff; border: 1px solid var(--blue); border-radius: 4px; text-align: center; font-weight: 700; }

/* ================= Funnels ================= */
.logo-bar { text-align: center; padding: 6px 0 2px; background: #fff; }
.logo-bar img { width: 130px; height: auto; }
.quiz-band { background: var(--band); padding: 34px 0 40px; text-align: center; }
.quiz-band h1 { font: 400 clamp(20px, 2.6vw, 24px)/1.3 "Lato", Arial, sans-serif; color: #000; max-width: 460px; margin: 0 auto 22px; }
.options { display: grid; gap: 10px; max-width: 185px; margin: 0 auto; }
.options .btn { padding: 10px 8px; font-size: 13px; }
.form { display: grid; gap: 10px; max-width: 240px; margin: 0 auto; }
.form input { width: 100%; padding: 8px 10px; font: 13px Arial, sans-serif; border: 1px solid #bbb; border-radius: 2px; }
.form .btn { font-size: 13px; padding: 10px; }
.skip { display: inline-block; margin-top: 14px; font-size: 12px; color: #0000ee; }
.fine { font-size: 11px; color: #555; max-width: 340px; margin: 14px auto 0; }

.article { padding: 34px 0; }
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 790px; align-items: start; }
.article h2 { font: 400 20px "Lato", Arial, sans-serif; color: #000; margin: 0 0 14px; }
.article p { font: 14px/1.6 Arial, sans-serif; color: #111; margin: 0 0 14px; }
.article img { width: 100%; height: auto; display: block; }

.homes { border-top: 1px solid #eee; padding: 34px 0 40px; }
.homes h2 { text-align: center; font: 400 clamp(20px, 2.6vw, 25px) "Lato", Arial, sans-serif; color: #000; margin: 0 0 24px; }
.home-grid { display: grid; grid-template-columns: repeat(3, 181px); justify-content: center; gap: 20px 28px; }
.home-card { background: var(--navy); color: #fff; text-align: center; padding: 15px 15px 12px; font-size: 13px; letter-spacing: .03em; }
.home-card img { display: block; width: 100%; height: auto; margin-bottom: 8px; }
.home-card p { margin: 0 0 4px; }
.home-card .price { font: 400 21px "Playfair Display", Georgia, serif; margin-bottom: 6px; }

.funnel-footer { border-top: 1px solid #eee; font: 12px/1.5 Arial, sans-serif; color: #111; padding: 18px 0 14px; }
.funnel-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; max-width: 770px; margin: 0 auto; }
.funnel-footer p { margin: 0; }
.funnel-footer nav span { margin: 0 4px; }
.funnel-footer .legal { text-align: center; max-width: 450px; margin: 12px auto 0; font-size: 11px; }

/* ================= Offer pages ================= */
.offers-page { background: var(--band); }
.offers-page .logo-bar { border-bottom: 1px solid #e5e5e5; }
.offers { text-align: center; padding: 18px 20px 40px; font-family: Tahoma, Geneva, Arial, sans-serif; }
.kicker { text-decoration: underline; font-size: 14px; margin: 0 0 12px; }
.offer h1 { font: 400 clamp(20px, 2.8vw, 25px)/1.3 Tahoma, Geneva, Arial, sans-serif; color: #060606; margin: 0 0 16px; }
.offer-box { max-width: 540px; margin: 0 auto; background: #fff; border: 1px solid #ddd; padding: 22px 34px 30px; font-size: 14px; color: #060606; }
.offer-box p { margin: 0 0 14px; }
.offer-box a:not(.btn) { color: #0000ee; }
.offer-box .btn { display: block; width: max-content; max-width: 100%; margin: 0 auto 14px; font-size: 16px; }
.no-thanks { display: inline-block; margin-top: 26px; font-size: 13px; }
.credit-logos { display: block; margin: 0 auto 12px; }
.ticks { text-align: left; font-size: 12px; max-width: 360px; margin: 0 auto; padding-left: 18px; }

/* ================= Loading ================= */
.loading { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.loading p { font-size: 20px; color: #0000ff; margin: 14px 0 0; }
.loading .continue { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ================= Responsive ================= */
@media (max-width: 720px) {
  .listing { grid-template-columns: 1fr; }
  .listing-info { padding: 24px; }
  .features { grid-template-columns: 1fr; }
  .dream .wrap { flex-direction: column; align-items: flex-start; }
  .lb-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .home-grid { grid-template-columns: repeat(2, minmax(0, 181px)); gap: 16px; }
  .offer-box { padding: 20px 18px 26px; }
}
