/* ============ Libertega Home Buyers — Replica ============ */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;
  --color-bg-dark: #1a1a1a;
  --color-text: #1a1a1a;
  --color-text-muted: #555;
  --color-accent: #2e7d32;
  --color-accent-dark: #1b5e20;
  --color-accent-light: #4caf50;
  --color-border: #e5e5e5;
  --color-gold: #f5b700;
  --max-width: 1200px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.10);
  --radius: 6px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.site-logo img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: var(--color-accent);
}

.header-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    align-items: flex-start;
    gap: 1rem;
  }
  .main-nav.open { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  background: #000 center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  color: #fff;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: center;
  font-size: 1.05rem;
}

.hero-bullets li::before {
  content: "✓";
  color: var(--color-accent-light);
  font-weight: 700;
  margin-right: 0.5rem;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.btn-large {
  font-size: 1.2rem;
  padding: 1.1rem 2.4rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}
.btn-outline:hover { background: #fff; color: var(--color-text); }

.bbb-floating {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  background: #fff;
  padding: 0.5rem;
  border-radius: 4px;
}
.bbb-floating img { max-width: 80px; }

@media (max-width: 700px) {
  .hero { min-height: 520px; padding: 4rem 1rem; }
  .hero-bullets { flex-direction: column; align-items: center; }
}

/* ===== Section base ===== */
section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { color: var(--color-text-muted); max-width: 720px; margin: 0 auto; }

/* ===== 3-step process ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.step-card {
  text-align: center;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  max-width: 100%;
  max-height: 100%;
}

.step-card h3 {
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.step-card p { font-size: 0.97rem; color: var(--color-text-muted); }

.center-cta {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 880px) {
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===== Situations / We Buy Homes ===== */
.situations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.situation-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-accent);
}

.situation-card h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
  text-align: center;
}

.situation-card ul {
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.situation-card li { margin-bottom: 0.4rem; }

@media (max-width: 980px) {
  .situations { grid-template-columns: 1fr; }
}

/* ===== Solutions ===== */
.solutions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.solution {
  text-align: center;
  padding: 1rem;
}

.solution h3 {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.solution p { font-size: 0.93rem; color: var(--color-text-muted); }

@media (max-width: 880px) {
  .solutions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .solutions { grid-template-columns: 1fr; }
}

/* ===== Comparison ===== */
.comparison {
  text-align: center;
}

.comparison img {
  margin: 2rem auto;
  max-width: 900px;
  width: 100%;
}

/* ===== Big CTA / phone ===== */
.cta-band {
  background: var(--color-bg-dark);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #ddd; max-width: 600px; margin: 0 auto 2rem; }

.cta-band .phone-button img {
  max-width: 380px;
  margin: 0 auto;
}

/* ===== Testimonial ===== */
.testimonial {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--color-gold);
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--color-text-muted);
}

.testimonial cite span { font-weight: 400; font-size: 0.9rem; }

/* ===== About Pros / Sell to Pros ===== */
.pros {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}

.pros-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.pros ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.pros li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

@media (max-width: 880px) {
  .pros { grid-template-columns: 1fr; }
}

/* ===== Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1.2rem;
  background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
}

.contact-form .checkbox-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

.contact-form .checkbox-row input {
  width: auto;
  margin: 0.25rem 0 0;
}

.contact-form .consent {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.contact-form .btn { width: 100%; }

/* ===== Footer ===== */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer a {
  color: #ccc;
  display: block;
  padding: 0.25rem 0;
  font-size: 0.92rem;
}

.site-footer a:hover { color: #fff; }

.site-footer p { font-size: 0.9rem; color: #aaa; margin-bottom: 0.6rem; }

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333;
  padding: 0;
  font-size: 0.85rem;
  color: #fff;
}

.social-icons a:hover { background: var(--color-accent); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Generic page header ===== */
.page-hero {
  background: var(--color-bg-dark);
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.page-hero h1 { color: #fff; }
.page-hero p { color: #ccc; max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

/* ===== Long-form content (How It Works, About) ===== */
.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 2.5rem;
  color: var(--color-accent);
  text-align: center;
}

.prose h3 {
  margin-top: 2rem;
  color: var(--color-text);
}

.prose p { font-size: 1.05rem; color: var(--color-text); }

.prose ul { font-size: 1.02rem; color: var(--color-text); }

.prose img { margin: 2rem auto; }

.prose hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 3rem 0;
}

.prose .lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

/* ===== About team ===== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  box-shadow: var(--shadow-md);
}

.team-member h3 {
  margin-bottom: 0.2rem;
  color: var(--color-accent);
}

.team-member .role {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.team-member p { font-size: 0.97rem; color: var(--color-text-muted); }

@media (max-width: 700px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  padding: 1rem 1.2rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
}

.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  margin-top: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== Blog list ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-card .thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .thumb img { transform: scale(1.04); }

.blog-card .body {
  padding: 1.5rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.blog-card h3 a { color: var(--color-text); }
.blog-card h3 a:hover { color: var(--color-accent); text-decoration: none; }

.blog-card .meta {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card .excerpt {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  flex: 1;
}

.blog-card .read-more {
  font-weight: 600;
  font-size: 0.9rem;
  align-self: flex-start;
}

/* ===== Single post ===== */
.post-hero {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.post-hero h1 {
  color: #fff;
  max-width: 820px;
  margin: 0 auto 1rem;
}

.post-hero .meta {
  color: #bbb;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-feature {
  max-width: 900px;
  margin: -2rem auto 0;
  padding: 0 1.5rem;
}

.post-feature img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.post-back {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
}

/* ---- lead form states ---- */
.form-status {
  display: none;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid #c62828;
  background: #fdecea;
  color: #7f1d1d;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.form-success {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.form-success h3 { margin: 0 0 0.5rem; color: var(--color-accent-dark); }
.form-success p  { margin: 0; color: var(--color-text-muted); }
.contact-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
