/* ==========================================================================
   Pro Home Buyers — Global Styles
   ========================================================================== */

:root {
  /* Brand palette */
  --green:        #2f9e6f;
  --green-dark:   #217a54;
  --green-light:  #e8f6ef;
  --navy:         #12263a;
  --navy-soft:    #1d3855;
  --gold:         #f5a623;
  --gold-dark:    #d98a08;

  /* Neutrals */
  --ink:      #1b2733;
  --body:     #46566a;
  --muted:    #7c8a9a;
  --line:     #e4e9ef;
  --bg:       #ffffff;
  --bg-soft:  #f6f9fb;
  --bg-tint:  #eef4f2;

  /* System */
  --radius:   14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(18, 38, 58, .06);
  --shadow:    0 12px 34px rgba(18, 38, 58, .10);
  --shadow-lg: 0 26px 60px rgba(18, 38, 58, .16);
  --maxw: 1160px;
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.28rem; }

p { margin-bottom: 1rem; }
a { color: var(--green-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 84px 0; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(245, 166, 35, .34);
}
.btn-primary:hover { background: var(--gold-dark); color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245, 166, 35, .42); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(47, 158, 111, .32); }
.btn-green:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { background: #fff; color: var(--green-dark); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); }
.btn-lg { padding: 17px 38px; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container.nav { max-width: 1360px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; color: var(--navy); white-space: nowrap; flex-shrink: 0; }
.brand:hover { color: var(--navy); }
.brand .logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 11px;
  color: #fff;
}
.brand strong { color: var(--green-dark); }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: var(--navy-soft);
  font-weight: 500;
  font-size: .95rem;
  padding: 9px 12px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--green-light); color: var(--green-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: .95rem; white-space: nowrap; }
.nav-phone:hover { color: var(--green-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(18,38,58,.92) 0%, rgba(29,56,85,.80) 48%, rgba(33,122,84,.55) 100%),
    url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
  padding: 96px 0 108px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 540px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 9px 16px; border-radius: 100px;
  font-size: .9rem; font-weight: 500;
}
.hero-badge svg { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Offer card */
.offer-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.offer-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.offer-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.form-field { margin-bottom: 15px; }
.form-field label { display: block; font-size: .84rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: var(--font);
  font-size: .98rem;
  color: var(--ink);
  transition: border .2s, box-shadow .2s;
  background: #fff;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-light);
}
.offer-card .btn { width: 100%; margin-top: 6px; }
.offer-card .fineprint { text-align: center; font-size: .8rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy); color: #fff; padding: 30px 0; }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 22px; text-align: center; }
.trust-stat .num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.trust-stat .lbl { font-size: .88rem; color: rgba(255,255,255,.75); margin-top: 6px; }

/* ---------- Feature / value cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--green-light); color: var(--green-dark);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--body); margin-bottom: 0; font-size: .98rem; }

.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step .n {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(47,158,111,.3);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--body); font-size: .98rem; }

/* ---------- Compare table ---------- */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-size: .98rem; }
.compare thead th.hl { background: var(--green-dark); }
.compare tbody td:first-child { font-weight: 600; color: var(--ink); }
.compare td.hl { background: var(--green-light); color: var(--green-dark); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.ba-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-images figure { position: relative; margin: 0; }
.ba-images img { width: 100%; height: 220px; object-fit: cover; }
.ba-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; color: #fff;
}
.ba-tag.before { background: rgba(18,38,58,.85); }
.ba-tag.after { background: var(--green); }
.ba-body { padding: 22px 24px; }
.ba-body h3 { margin-bottom: 6px; }
.ba-body p { font-size: .95rem; margin-bottom: 12px; }
.ba-meta { display: flex; gap: 18px; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.ba-meta b { color: var(--green-dark); }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }
.tcard blockquote { font-size: 1rem; color: var(--ink); margin: 0 0 20px; flex: 1; }
.tperson { display: flex; align-items: center; gap: 13px; }
.tavatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--navy-soft)); color: #fff; display: grid; place-items: center; font-weight: 600; }
.tperson .who { font-weight: 600; color: var(--ink); font-size: .95rem; }
.tperson .loc { font-size: .84rem; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post img { width: 100%; height: 200px; object-fit: cover; }
.post-body { padding: 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post .cat { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px; }
.post h3 { font-size: 1.16rem; margin-bottom: 10px; }
.post p { font-size: .95rem; color: var(--body); margin-bottom: 16px; flex: 1; }
.post .meta { font-size: .84rem; color: var(--muted); display: flex; gap: 14px; }
.post .readmore { font-weight: 600; font-size: .92rem; margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 26px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { transition: transform .3s; color: var(--green); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 26px 22px; margin: 0; color: var(--body); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--green-dark) 130%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 56px 48px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 560px; margin: 0 auto 26px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff; padding: 70px 0; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }
.crumbs { font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.crumbs a { color: rgba(255,255,255,.85); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .info-item .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .info-item h4 { color: var(--ink); font-size: 1.05rem; margin-bottom: 3px; }
.contact-info .info-item p { margin: 0; font-size: .96rem; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { display: none; background: var(--green-light); color: var(--green-dark); border-radius: 11px; padding: 14px 18px; font-weight: 500; margin-bottom: 18px; }
.form-note.show { display: block; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.value-list { list-style: none; margin-top: 20px; }
.value-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.value-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.team-card .ava { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--green), var(--navy-soft)); color: #fff; display: grid; place-items: center; font-size: 1.9rem; font-weight: 600; }
.team-card h3 { font-size: 1.12rem; margin-bottom: 3px; }
.team-card .role { color: var(--green-dark); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.team-card p { font-size: .92rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-about p { font-size: .95rem; max-width: 300px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: rgba(255,255,255,.55); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 1360px) {
  .nav-phone { display: none; }
}
@media (max-width: 940px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px; gap: 4px; box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 12px 14px; }
  section { padding: 60px 0; }
  .grid-3, .steps, .tgrid, .blog-grid, .team-grid, .grid-2, .ba-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 74px; }
}
