/* KFR-NET — Tony Nunes, Klamath Falls Realtor (static rebuild)
   Tokens captured from original: Prata 400 headings/nav, Roboto 300 body,
   accent gold #c5b358, body #f7f7f7 / #222, black header & footer. */

@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/prata-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/roboto-var.woff2') format('woff2');
}

:root {
  --gold: #c5b358;
  --ink: #222;
  --bg: #f7f7f7;
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

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

h1, h2, h3 { font-family: 'Prata', Georgia, serif; font-weight: 400; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.site-header .logo img { height: 56px; width: auto; }
.main-nav { margin-left: 48px; }
.main-nav a {
  font-family: 'Prata', Georgia, serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-right: 28px;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.header-phone {
  margin-left: auto;
  color: var(--gold);
  font-family: 'Prata', Georgia, serif;
  font-size: 15px;
  white-space: nowrap;
}
.header-phone svg { vertical-align: -3px; margin-right: 8px; }

/* mobile nav */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  margin: 5px 0;
}
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 78%;
  max-width: 320px;
  background: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .28s ease;
  padding: 28px 24px;
  box-shadow: 2px 0 18px rgba(0,0,0,.25);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
  display: block;
  font-family: 'Prata', Georgia, serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
  padding: 13px 0;
  border-bottom: 1px solid #eee;
}
.mobile-drawer .drawer-phone { color: var(--gold); border-bottom: 0; margin-top: 10px; }
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.drawer-overlay.show { opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin-top: var(--header-h); /* headroom under fixed nav — measured, not guessed */
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.12);
}
.hero-inner { position: relative; z-index: 1; padding: 40px 20px; }
.hero h1 {
  color: #fff;
  font-size: 56px;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero .hero-sub {
  color: #fff;
  font-family: 'Prata', Georgia, serif;
  font-size: 24px;
  margin-top: 10px;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

/* page-title hero (interior pages) */
.page-head {
  margin-top: var(--header-h);
  background: var(--bg);
  padding: 56px 0 34px;
}
.page-head .crumbs { font-size: 13px; color: #888; margin-bottom: 10px; }
.page-head .crumbs a:hover { color: var(--gold); }
.page-head h1 { font-size: 38px; color: #111; }

/* ---------- shared section bits ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section.alt { background: #fff; }
.section-title { font-size: 40px; color: #000; text-align: center; }
.section-sub {
  text-align: center;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 10px;
  text-transform: uppercase;
  margin: 14px 0 48px;
}
.section-title.left, .section-sub.left { text-align: left; }

/* ---------- about ---------- */
.badges { display: flex; gap: 6px; margin-bottom: 22px; }
.badges img { height: 84px; width: auto; }
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-grid p { margin-bottom: 18px; }
.about-contact { margin-top: 28px; }
.about-contact .loc { font-weight: 500; }
.about-contact .line { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.about-contact .line svg { flex: none; }
.about-portrait img { border-radius: 2px; }

.gold { color: var(--gold); }

/* ---------- IDX slot panels ---------- */
.idx-panel {
  background: #fff;
  border: 1px solid #e7e2d2;
  border-top: 3px solid var(--gold);
  padding: 64px 36px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(0,0,0,.04);
}
.idx-panel h3 { font-size: 26px; margin-bottom: 14px; }
.idx-panel p { max-width: 620px; margin: 0 auto 8px; color: #555; }
.idx-actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  border: 0;
  transition: opacity .2s;
}
.btn:hover { opacity: .88; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-dark { background: #000; color: #fff; }
.btn-line { background: transparent; border: 1px solid #999; color: #333; }

/* ---------- specialties ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.spec-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 404 / 600;
  display: block;
}
.spec-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.spec-card:hover img { transform: scale(1.05); }
.spec-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%);
}
.spec-label {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.spec-label strong { display: block; font-weight: 500; font-size: 15px; }
.spec-label span { font-size: 13px; opacity: .9; }

/* ---------- contact section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.agent-card img.headshot { width: 120px; }
.agent-card h3 { font-size: 30px; margin-top: 18px; }
.agent-card .role {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 6px 0 22px;
}
.agent-card .loc { font-weight: 500; }
.agent-card .muted { color: #666; }
.agent-card .line { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.agent-card .badges { margin-top: 26px; }
.form-embed iframe { width: 100%; border: 0; height: 902px; }
.map-embed { margin-top: 36px; }
.map-embed iframe { width: 100%; border: 0; height: 320px; }

/* ---------- prose pages (privacy/terms) ---------- */
.prose {
  background: #fff;
  padding: 48px 52px;
  max-width: 980px;
}
.prose h2 { font-size: 24px; margin: 30px 0 12px; }
.prose p, .prose li { margin-bottom: 14px; color: #333; }
.prose ul { padding-left: 22px; }

/* ---------- inquiry/appraisal ---------- */
.appraisal {
  margin-top: var(--header-h);
  background-size: cover;
  background-position: center;
  padding: 70px 0;
}
.appraisal-card {
  background: #fff;
  max-width: 760px;
  padding: 44px 46px;
  box-shadow: 0 6px 30px rgba(0,0,0,.18);
}
.appraisal-card h1 { font-size: 30px; margin-bottom: 12px; }
.appraisal-card .lead { color: #555; margin-bottom: 26px; }

/* ---------- footer ---------- */
.site-footer {
  background: #000;
  color: #cfcfcf;
  text-align: center;
  padding: 56px 20px 40px;
  margin-top: 0;
}
.site-footer .flogo { height: 64px; width: auto; margin: 0 auto 26px; }
.footer-nav { margin-bottom: 18px; }
.footer-nav a {
  font-family: 'Prata', Georgia, serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #bbb;
  margin: 0 12px;
}
.footer-nav a:hover { color: var(--gold); }
.site-footer .copy { font-size: 13px; color: #9a9a9a; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .site-header { padding: 0 18px; }
  .site-header .logo img { height: 44px; }
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 38px; }
  .hero .hero-sub { font-size: 18px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 30px; }
  .section-sub { letter-spacing: 6px; margin-bottom: 36px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait { max-width: 420px; }
  .prose { padding: 30px 22px; }
  .appraisal-card { padding: 30px 22px; }
  .page-head h1 { font-size: 30px; }
}
@media (max-width: 560px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-card { aspect-ratio: 404 / 480; }
}
