/* Signature Realty & Loans — Cathy & Frank
   Brand: lime #3A9724, grey #7F7F7F, black */
:root {
  --green: #3A9724;
  --green-dark: #2d7a1c;
  --green-soft: rgba(58, 151, 36, 0.12);
  --grey: #7F7F7F;
  --grey-light: #a8a8a8;
  --black: #0a0a0a;
  --ink: #121212;
  --muted: #5a5a5a;
  --bg: #f7f7f5;
  --bg-alt: #ffffff;
  --border: #e6e6e3;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --max: 1100px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--black);
  color: #eee;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark li { color: #c8c8c8; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.125rem; color: var(--muted); max-width: 40rem; }
.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-dark:hover { background: #000; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  min-height: 64px;
}
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-link img {
  height: 44px;
  width: auto;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #d0d0d0;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green);
}
.nav-cta {
  margin-left: 0.5rem;
}
.nav-cta .btn {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a { display: block; padding: 0.85rem 0.25rem; }
  .nav-cta { margin: 0.75rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(58,151,36,0.18), transparent),
    linear-gradient(165deg, #0a0a0a 0%, #141414 55%, #0d160c 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
}
.hero h1 { color: #fff; margin-bottom: 0.75rem; }
.hero .lead { color: #bdbdbd; }
.hero-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.hero-panel h3 { color: #fff; margin-bottom: 0.5rem; }
.hero-panel p { color: #b0b0b0; font-size: 0.95rem; margin-bottom: 1rem; }
.hero-panel .btn { width: 100%; margin-bottom: 0.6rem; }
.hero-panel .btn:last-child { margin-bottom: 0; }
.page-hero {
  background: var(--black);
  color: #fff;
  padding: 3rem 0 2.5rem;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #bdbdbd; }

/* Cards / grids */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}
.grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 800px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(58,151,36,0.35);
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.card .btn { margin-top: 0.5rem; }

.path-card {
  display: flex;
  flex-direction: column;
}
.path-card .btn { align-self: flex-start; margin-top: auto; }

/* About strip / people */
.people-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .people-grid { grid-template-columns: 1fr 1fr; }
}
.person-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
}
.person-card .role {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #1a5c10);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Benefits list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Contact strip */
.contact-strip {
  background: var(--green);
  color: #fff;
  padding: 2.5rem 0;
}
.contact-strip h2 { color: #fff; margin-bottom: 0.4rem; }
.contact-strip p { color: rgba(255,255,255,0.9); margin-bottom: 1.25rem; }
.contact-strip .btn-secondary {
  border-color: #fff;
  color: #fff;
}
.contact-strip .btn-dark {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}
.contact-strip .btn-dark:hover { background: #f0f0f0; color: var(--green-dark); }

/* Forms */
.form-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 0.75rem;
}
.form-success {
  display: none;
  background: var(--green-soft);
  border: 1px solid var(--green);
  color: var(--green-dark);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.form-success.show { display: block; }
.contact-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .contact-layout { grid-template-columns: 1fr 1.1fr; align-items: start; }
}
.contact-info a { font-weight: 600; }
.contact-info .info-row {
  margin-bottom: 1.25rem;
}
.contact-info .info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* Compliance / callouts */
.callout {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.disclaimer-box {
  background: #f0f0ee;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2rem;
}
.disclaimer-box p { margin-bottom: 0.5rem; }
.disclaimer-box p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--black);
  color: #9a9a9a;
  padding: 3rem 0 2rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.site-footer a { color: #c0c0c0; }
.site-footer a:hover { color: var(--green); }
.footer-logo img { height: 48px; width: auto; margin-bottom: 0.75rem; }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #777;
}
.footer-bottom p { margin-bottom: 0.6rem; }
.eh-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.eh-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid #888;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #aaa;
  line-height: 1;
}

/* Content prose */
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .two-col { grid-template-columns: 1.2fr 0.8fr; }
}
.sticky-cta {
  position: sticky;
  top: 5.5rem;
}

/* HubSpot phone: keep US (+1), hide country picker */
.hs-form-frame .iti__flag-container,
.hs-form-frame .iti__selected-flag,
.hs-form-frame .iti__arrow,
.hs-form-frame .iti__country-list,
.hs-form-frame .PhoneInputCountry,
.hs-form-frame .PhoneInputCountryIcon,
.hs-form-frame .PhoneInputCountrySelect,
.hs-form-frame select[name*="country"],
.hs-form-frame .hs-fieldtype-phonenumber .input > select,
.hs-form-frame .hs-input[data-reactid*="country"],
.hs-form-frame [class*="PhoneInputCountry"],
.hs-form-frame [class*="country-container"],
.hs-form-frame [class*="CountrySelect"] {
  display: none !important;
  pointer-events: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
.hs-form-frame .iti {
  width: 100%;
}
.hs-form-frame .iti__tel-input,
.hs-form-frame .iti input[type="tel"],
.hs-form-frame .PhoneInputInput,
.hs-form-frame .hs-fieldtype-phonenumber input[type="tel"] {
  width: 100% !important;
  padding-left: 0.85rem !important;
}
