/* ============================================================
   Pinnacle Offers LLC - shared stylesheet
   ============================================================ */

:root {
  --bg: #070b16;
  --bg-alt: #0a0e1a;
  --card: #0d1424;
  --border: rgba(59, 130, 246, 0.18);
  --border-strong: rgba(59, 130, 246, 0.35);
  --blue: #3b82f6;
  --blue-bright: #4d8dff;
  --blue-dark: #1d4ed8;
  --text: #ffffff;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-bright);
  letter-spacing: 0.01em;
}
.nav__logo svg { width: 26px; height: 26px; }
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
  color: #cbd5e1;
}
.nav__links a:hover { color: var(--blue-bright); }
.nav__links a.active { color: var(--blue-bright); }
.nav__toggle { display: none; }

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid rgba(148,163,184,0.12);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid rgba(148,163,184,0.08); }
  .nav__toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(148,163,184,0.35); }
.btn-outline:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg);
  background-image:
    linear-gradient(rgba(7,11,22,0.9), rgba(7,11,22,0.96)),
    repeating-linear-gradient(0deg, rgba(59,130,246,0.06) 0px, rgba(59,130,246,0.06) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(59,130,246,0.06) 0px, rgba(59,130,246,0.06) 1px, transparent 1px, transparent 48px);
  padding: 110px 24px 90px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-bright);
  background: rgba(45, 105, 237, 0.12);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero__badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  max-width: 800px;
}
.hero h1 span { color: var(--blue); }
.hero__sub {
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 0 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section basics ---------- */
.section { padding: 90px 24px; }
.section-alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin: 0 0 14px;
}
.section__head p { color: var(--text-body); font-size: 16px; line-height: 1.6; margin: 0; }

/* ---------- Criteria cards ---------- */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 800px) { .criteria-grid { grid-template-columns: 1fr; } }
.criteria-card {
  background: var(--bg);
  border: 1px solid rgba(148,163,184,0.15);
  border-radius: 14px;
  padding: 28px 24px;
}
.criteria-card .icon {
  width: 40px; height: 40px;
  color: var(--blue-bright);
  margin-bottom: 16px;
}
.criteria-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.criteria-card p { color: var(--text-body); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- Generic offer-style item grid (Core Offer, Why Agents) ---------- */
.item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: left;
}
@media (max-width: 680px) { .item-grid { grid-template-columns: 1fr; } }
.item-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.item-card .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  color: var(--blue-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  margin-top: 2px;
}
.item-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.item-card p { color: var(--text-body); font-size: 14px; line-height: 1.5; margin: 0; }

/* ---------- Guarantee box ---------- */
.guarantee {
  background: linear-gradient(180deg, rgba(59,130,246,0.10), rgba(59,130,246,0.02));
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 14px;
  padding: 28px;
  margin: 36px auto 0;
  max-width: 1000px;
}
.guarantee h4 {
  color: var(--blue-bright);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.guarantee p { color: #e2e8f0; font-size: 16px; line-height: 1.6; margin: 0; }

/* ---------- Stats band ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 56px;
}
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
}
.stat-card strong { display: block; color: var(--blue); font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.stat-card span { color: var(--text-body); font-size: 13px; }

/* ---------- Review cards ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.review-card .stars { color: #f5b400; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card .quote { color: #cbd5e1; font-size: 15px; line-height: 1.6; margin: 0 0 18px; font-style: italic; }
.review-card .who { color: #fff; font-size: 14px; font-weight: 700; margin: 0; }
.review-card .where { color: var(--text-muted); font-size: 13px; margin: 2px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 90px 24px; }
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; margin: 0 0 14px; }
.cta-band p { color: var(--text-body); font-size: 16px; margin: 0 0 32px; }

/* ---------- Page header (interior pages) ---------- */
.page-header { padding: 70px 24px 20px; }
.page-header h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; margin: 0 0 18px; }
.page-header p { color: var(--text-body); font-size: 17px; line-height: 1.65; max-width: 720px; margin: 0; }

/* ---------- About page ---------- */
.founder-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  margin: 32px 0 48px;
}
.founder-box h3 { font-size: 20px; font-weight: 800; margin: 0 0 14px; }
.founder-box p { color: var(--text-body); font-size: 15px; line-height: 1.7; margin: 0 0 14px; }
.founder-box p:last-child { margin-bottom: 0; }

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 700px) { .philosophy-grid { grid-template-columns: 1fr; } }
.philosophy-grid h4 { color: var(--blue-bright); font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.philosophy-grid p { color: var(--text-body); font-size: 15px; line-height: 1.65; margin: 0; }

/* ---------- US map ---------- */
.us-map-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.us-map { width: 100%; height: auto; display: block; }
.us-map .state {
  fill: rgba(148, 163, 184, 0.08);
  stroke: rgba(148, 163, 184, 0.25);
  stroke-width: 1;
  transition: fill 0.15s ease;
}
.us-map .state-active {
  fill: rgba(59, 130, 246, 0.28);
  stroke: rgba(77, 141, 255, 0.55);
}
.us-map .state-active { cursor: pointer; }
.us-map .state-active:hover { fill: rgba(59, 130, 246, 0.45); stroke: #ffffff; }
.map-dropdown {
  position: absolute;
  pointer-events: none;
  background: #070b16;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 160px;
  transform: translate(12px, -12px);
  opacity: 0;
  transition: opacity 0.1s ease;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.map-dropdown.visible { opacity: 1; }
.map-dropdown__title {
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148,163,184,0.15);
}
.map-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.map-dropdown__list li {
  color: #e2e8f0;
  font-size: 13px;
  padding: 3px 0;
  white-space: nowrap;
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
  color: var(--text-body);
  font-size: 13px;
}
.map-legend span.swatch {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: rgba(59, 130, 246, 0.28);
  border: 1px solid rgba(77, 141, 255, 0.55);
  display: inline-block;
}

/* ---------- Markets page ---------- */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .markets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .markets-grid { grid-template-columns: 1fr; } }
.market-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.market-card h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; margin: 0 0 10px;
}
.market-card h4 svg { width: 16px; height: 16px; color: var(--blue-bright); flex: none; }
.market-card ul { list-style: none; margin: 0; padding: 0; }
.market-card li {
  color: var(--text-body);
  font-size: 14px;
  padding: 4px 0 4px 14px;
  position: relative;
}
.market-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-bright);
}

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step h3 { color: var(--blue-bright); font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.process-step p { color: var(--text-body); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- Two column layout (Partner with us) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.two-col h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 0 0 16px; }
.two-col > div:first-child p { color: var(--text-body); font-size: 16px; line-height: 1.65; margin: 0 0 24px; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex; align-items: center; gap: 10px;
  color: #e2e8f0; font-size: 15px;
  padding: 9px 0;
}
.checklist li svg { width: 18px; height: 18px; color: var(--blue-bright); flex: none; }
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.side-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 18px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
.contact-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 16px; }
.contact-card a.contact-link {
  display: block;
  color: var(--blue-bright);
  font-size: 15px;
  margin-bottom: 12px;
}
.contact-card a.contact-link:hover { text-decoration: underline; }
.contact-note { color: var(--text-body); font-size: 14px; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(148,163,184,0.12);
  padding: 56px 24px 32px;
}
.footer__grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 800; color: var(--blue-bright);
  margin-bottom: 14px;
}
.footer__logo svg { width: 24px; height: 24px; }
.footer p { color: var(--text-body); font-size: 14px; line-height: 1.6; margin: 0; }
.footer h4 { font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--text-body); font-size: 14px; }
.footer a:hover { color: var(--blue-bright); }
.footer__bottom {
  max-width: 1140px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(148,163,184,0.1);
  color: var(--text-muted);
  font-size: 13px;
}
