/* myfrienddan.com: shared base for the real estate pages.
   Loaded by /_includes/head-common.html, so every page gets it automatically.
   Page-specific sections (hero, market, lenders, explainer) stay in a <style>
   block on their own page. Anything used by more than one page belongs here.

   Design rules: dark slate base, teal accents, Montserrat display + Open Sans body,
   squared corners on all data and stat elements. The HEF section does NOT use this
   file; it has its own palette in hef/assets/hef.css. */

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

:root {
  --teal: #2bbec3;
  --slate: #333F48;
  --slate-deep: #2a333b;
  --fog: #F0F2F2;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--slate);
  color: var(--white);
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--slate-deep);
  border-bottom: 1px solid rgba(43,190,195,0.15);
}
.nav .nav-logo { display: flex; align-items: center; }
.nav .nav-logo img { height: 26px; width: auto; display: block; }
.nav .nav-links { display: flex; align-items: center; gap: 28px; }
.nav .nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav .nav-links a:hover { color: var(--teal); }

/* Current-page highlight. The nav markup is shared and identical on every page,
   so the active item is selected here from data-page on <body>. Adding a nav item
   means adding its pair to this list. */
body[data-page="home"]   .nav .nav-links a[data-nav="home"],
body[data-page="lender"] .nav .nav-links a[data-nav="lender"] { color: var(--teal); }

/* ---------- Shared type and buttons ---------- */

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-block;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 10px;
  transition: color 0.2s ease;
}
.btn-ghost:hover { color: var(--teal); }

/* ---------- Contact ---------- */

.contact {
  background: var(--slate);
  padding: 72px 24px 56px;
  text-align: center;
}

.contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
}

.contact .lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.contact .lines a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}
.contact .lines a:hover { color: var(--teal); }
.contact .lines .label { color: var(--teal); font-weight: 600; }
.contact .lines .secondary { color: rgba(255,255,255,0.55); font-size: 14.5px; }

.contact .profile-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.contact .profile-link:hover { color: var(--teal); }

/* ---------- Footer ---------- */

footer {
  background: var(--slate-deep);
  padding: 22px 24px;
  text-align: center;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}

footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
}
footer a { color: rgba(43,190,195,0.55); text-decoration: none; }
footer a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .nav { padding: 16px 20px; }
  .nav .nav-links { gap: 16px; }
  .nav .nav-links a { font-size: 10.5px; letter-spacing: 0.1em; }
}
