/* ============================================================
   Stella Buys Houses — rebuilt from Wayback captures (Jan 2025)
   Palette and type recovered from the original site.
   ============================================================ */

:root {
  --indigo: #26095f;        /* top bar, badge band */
  --indigo-deep: #1b0745;
  --ink: #121212;           /* hero bands */
  --charcoal: #2e2c2e;      /* mission band */
  --magenta: #e0189b;       /* primary CTA */
  --magenta-dark: #b81280;
  --lavender: #ebe8f6;      /* form band */
  --paper: #f4f4f5;         /* page background */
  --card: #ffffff;
  --text: #232323;
  --muted: #6b6773;
  --line: #e3e0ea;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(28, 10, 70, 0.10);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: "Oswald", "Arial Narrow", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
}

img, iframe { max-width: 100%; }
a { color: var(--magenta-dark); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--indigo);
  color: #fff;
  text-align: center;
  padding: 12px 18px;
  font-size: 0.95rem;
}
.announce a.btn { margin-left: 14px; padding: 7px 16px; font-size: 0.8rem; }

/* ---------- Header / nav ---------- */
header.site {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; max-width: 1160px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--indigo-deep); }
.brand .mark { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.02em; }
.brand .sub { font-family: var(--font-ui); font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); display: block; margin-top: -4px; }
nav.menu { display: flex; gap: 26px; align-items: center; }
nav.menu a {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.85rem; text-decoration: none; color: var(--text); padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.menu a:hover, nav.menu a[aria-current="page"] { color: var(--magenta-dark); border-bottom-color: var(--magenta); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-size: 1.1rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 6px;
  padding: 13px 26px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-magenta { background: var(--magenta); color: #fff; }
.btn-magenta:hover { background: var(--magenta-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-outline-pink { background: #fff; color: var(--magenta-dark); border-color: var(--magenta); }
.btn-outline-pink:hover { background: var(--magenta); color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--magenta); outline-offset: 2px;
}

/* ---------- Hero bands ---------- */
.hero {
  background: var(--ink); color: #fff;
  padding: 84px 0;
}
.hero.center { text-align: center; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.15; margin-bottom: 14px; }
.hero .lede { font-size: 1.15rem; color: #d8d4e2; max-width: 720px; }
.hero.center .lede { margin: 0 auto; }
.hero .strong { color: #fff; font-weight: 700; }
.hero .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero.center .actions { justify-content: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero .kicker, .kicker {
  display: inline-block; background: var(--indigo); color: #fff;
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; padding: 6px 12px; margin-bottom: 18px;
}
.hero.photo {
  background: linear-gradient(rgba(14, 8, 34, 0.72), rgba(14, 8, 34, 0.72)), var(--charcoal);
}

/* ---------- Video embed ---------- */
.video-frame { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Trust badges ---------- */
.badges { background: var(--indigo); color: #fff; padding: 46px 0; }
.badges .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.badges .item i { font-size: 1.8rem; margin-bottom: 12px; }
.badges .item span { display: block; font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.92rem; }

/* ---------- Lead form band ---------- */
.leadband { background: var(--lavender); padding: 64px 0; }
.leadband .head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; }
.leadband .head i { color: var(--indigo); font-size: 1.6rem; }
.leadband .head h2 { font-family: var(--font-display); color: var(--indigo-deep); font-size: 1.6rem; }
form.lead { max-width: 640px; margin: 0 auto; display: grid; gap: 16px; }
form.lead .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--indigo-deep); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--text);
}
.form-note { text-align: center; font-size: 0.85rem; color: var(--muted); }
.form-status { text-align: center; font-family: var(--font-ui); letter-spacing: .05em; display: none; padding: 10px; border-radius: 6px; }
.form-status.ok { display: block; background: #e7f6ec; color: #1c6b3c; }
.form-status.err { display: block; background: #fdecec; color: #9c1c1c; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Process steps ---------- */
.process { padding: 80px 0; }
.process .intro { text-align: center; margin-bottom: 48px; }
.process .intro h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); }
.process .intro p { font-weight: 700; margin-top: 6px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow);
}
.step i { font-size: 1.7rem; color: var(--ink); }
.step h3 { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.05rem; margin: 16px 0 4px; }
.step h3 .num { color: var(--magenta); margin-right: 8px; }
.step .rule { width: 46px; height: 2px; background: var(--indigo); margin: 10px 0 14px; }

/* ---------- Mission band ---------- */
.mission { background: var(--charcoal); color: #f0eef4; padding: 84px 0; }
.mission h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.3rem); color: #fff; max-width: 780px; margin-bottom: 20px; }
.mission p { max-width: 820px; margin-bottom: 28px; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 80px 0; }
.testimonials h2 { font-family: var(--font-display); text-align: center; font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 44px; }
.t-carousel { position: relative; max-width: 760px; margin: 0 auto; }
.t-slide {
  display: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 40px; box-shadow: var(--shadow); font-style: italic;
}
.t-slide.active { display: block; }
.t-slide .who { font-style: normal; font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--indigo-deep); margin-top: 18px; }
.t-nav { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.t-nav button {
  width: 38px; height: 38px; border: 0; border-radius: 6px; background: var(--indigo);
  color: #fff; cursor: pointer; font-size: 1rem;
}
.t-nav button:hover { background: var(--indigo-deep); }

/* ---------- Contact band / pre-footer ---------- */
.contactband { background: var(--ink); color: #fff; padding: 54px 0; border-top: 6px solid var(--indigo); }
.contactband .row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.contactband .item { display: flex; align-items: center; gap: 12px; }
.contactband .item i {
  background: var(--indigo); width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1rem;
}
.contactband a { color: #fff; }

/* ---------- Generic sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 8px; }
.section h3.sub { font-size: 1.05rem; margin-bottom: 16px; }
.section p + p { margin-top: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }

/* ---------- Partner cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow);
}
.pcard i { color: var(--indigo); font-size: 1.6rem; }
.pcard h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 14px 0 8px; }
.pcard p { margin-bottom: 18px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; text-align: left; background: #f1eef9; border: 0; cursor: pointer;
  padding: 18px 20px; font-family: var(--font-body); font-size: 1.02rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--text);
}
.faq-item.open .faq-q { background: var(--indigo); color: #fff; }
.faq-a { display: none; padding: 20px; }
.faq-item.open .faq-a { display: block; }
.faq-cta { text-align: center; margin-top: 46px; }
.faq-cta h2 { font-family: var(--font-display); margin-bottom: 18px; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink); color: #cfcbd9; padding: 64px 0 30px;
}
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 44px; }
footer h4 { font-family: var(--font-display); color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
footer .brandline { color: #fff; font-weight: 700; margin-bottom: 6px; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: #cfcbd9; text-decoration: none; }
footer a:hover { color: #fff; }
.social { display: flex; gap: 12px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; background: #2b2833;
  display: grid; place-items: center; color: #fff; font-size: 0.95rem;
}
.social a:hover { background: var(--magenta); }
.copyright { border-top: 1px solid #2b2833; margin-top: 44px; padding-top: 22px; text-align: center; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .two-col, footer .cols { grid-template-columns: 1fr; }
  .badges .grid, .steps, .cards { grid-template-columns: 1fr 1fr; }
  nav.menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line);
  }
  nav.menu.open { display: flex; }
  nav.menu a { padding: 14px 22px; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .badges .grid, .steps, .cards, form.lead .row2 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
}
