/* =========================================================
   Launch Your Brokerage — Stylesheet
   ========================================================= */

:root {
  --primary: #0bb4aa;
  --primary-dark: #089189;
  --primary-light: #5ec5bd;
  --accent: #f5a623;
  --ink: #101010;
  --ink-soft: #2a2a2a;
  --muted: #6c6c77;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f9fb;
  --bg-dark: #0f1a1f;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --max: 1200px;
  --max-narrow: 960px;
  --font-heading: 'Onest', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--max-narrow); }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #dbe6e8; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(11, 180, 170, 0.28); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-soft); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .02em;
  font-size: 1.15rem;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 500;
  font-size: .97rem;
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.is-active { color: var(--primary); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--primary);
  border-radius: 2px;
}
.nav-cta { display: inline-flex; gap: 12px; align-items: center; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(11,180,170,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(11,180,170,.10), transparent 60%),
    linear-gradient(180deg, #0f1a1f 0%, #0b1417 100%);
  color: #e9f2f3;
  padding: 120px 0 110px;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); }
.hero p.lead { color: #b9cacd; font-size: 1.2rem; max-width: 640px; }
.hero .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 28px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; margin-bottom: 18px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.hero-stat .num { font-family: var(--font-heading); font-size: 1.8rem; color: #fff; font-weight: 700; display: block; }
.hero-stat .label { font-size: .85rem; color: #9fb2b5; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11,180,170,.14);
  color: #7fe7de;
  border: 1px solid rgba(11,180,170,.32);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: .04em;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(11,180,170,.25); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #0f1a1f 0%, #0b1417 100%);
  color: #e9f2f3;
  padding: 100px 0 70px;
  text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #b9cacd; max-width: 700px; margin: 0 auto; }
.breadcrumbs {
  font-size: .88rem;
  color: #9fb2b5;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.breadcrumbs a { color: #7fe7de; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(11,180,170,.12);
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px 26px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px;
  left: 24px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .95rem;
  width: 44px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin-top: 10px; font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Features list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
}
.feature-list li::before {
  content: "";
  width: 20px; height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'><path d='M7.5 13.5L4 10l1.4-1.4 2.1 2.1L14.6 3.6 16 5l-8.5 8.5z'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Split / two-column content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }

/* ---------- FAQ Accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform .2s ease;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Call to action banner ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,0.9); margin: 0; }
.cta .actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.info-card .icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(11,180,170,.12);
  color: var(--primary-dark);
  display: grid; place-items: center;
}
.info-card h4 { margin: 0 0 4px; font-size: 1rem; color: var(--ink); }
.info-card p, .info-card a { margin: 0; color: var(--muted); }
.info-card a:hover { color: var(--primary); }

form.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: .98rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,180,170,.16);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 8px; left: 22px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--primary);
  line-height: 1;
  opacity: .25;
}
.quote p { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 18px; position: relative; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
  font-family: var(--font-heading);
}
.quote-author .name { font-family: var(--font-heading); font-weight: 600; color: var(--ink); display: block; }
.quote-author .role { font-size: .85rem; color: var(--muted); }
.quote + .quote {
  margin-top: 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1417;
  color: #9fb2b5;
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-grid h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b9cacd; font-size: .95rem; }
.footer-grid a:hover { color: var(--primary-light); }
.site-footer .brand { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: #7a8b8e;
}
.footer-bottom a { color: #b9cacd; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .hero { padding: 90px 0 80px; }
  .hero .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta .actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-cta .btn { padding: 10px 18px; font-size: .9rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
