/* ============================================================
   Tim SoCal Realtor - Offline Mirror Stylesheet
   Approximates the GoDaddy Website Builder template look
   Theme color: #CF9842 (gold/brown) from the live site meta
   ============================================================ */

:root {
  --gold: #CF9842;
  --gold-dark: #a5772e;
  --ink: #222222;
  --ink-soft: #4a4a4a;
  --paper: #ffffff;
  --paper-warm: #faf7f2;
  --line: #e6e0d5;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* --------------- Header / Nav --------------- */
header.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .5px;
  color: var(--ink);
}
.brand span { color: var(--gold); }

nav.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
}
nav.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
nav.main-nav a:hover { color: var(--gold); text-decoration: none; }
nav.main-nav a.nav-cta {
  background: var(--gold);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 3px;
  transition: background .2s;
}
nav.main-nav a.nav-cta:hover {
  background: var(--gold-dark);
  color: #ffffff;
  text-decoration: none;
}

/* --------------- Hero --------------- */
.hero {
  padding: 60px 24px 40px;
  text-align: center;
  background: var(--paper-warm);
}
.hero h1 {
  font-size: 44px;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 700;
}
.hero .subtitle {
  color: var(--gold-dark);
  font-size: 18px;
  margin: 0 0 30px;
  font-style: italic;
}
.hero-image {
  max-width: 700px;
  margin: 0 auto 30px;
}
.hero .tagline {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 20px auto;
  max-width: 640px;
}

/* --------------- Buttons --------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: #fff;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover {
  background: var(--gold-dark);
  color: #fff;
  text-decoration: none;
}

/* --------------- Sections --------------- */
section.block {
  padding: 60px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
section.block h2 {
  font-size: 32px;
  text-align: center;
  margin: 0 0 40px;
  color: var(--ink);
  font-weight: 700;
}
section.block.alt { background: var(--paper-warm); max-width: 100%; }
section.block.alt > .inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-copy p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* --------------- Feature grid ("Why Work With Us") --------------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 4px;
}
.feature .icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50%;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}
.feature h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--ink);
}
.feature p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* --------------- Areas We Serve --------------- */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.areas-list li {
  padding: 12px 22px;
  background: var(--paper-warm);
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  border-radius: 22px;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s, color .2s;
}
.areas-list li:hover {
  background: var(--gold);
  color: #ffffff;
  cursor: default;
}

/* --------------- Contact --------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-form label {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
  margin-top: 6px;
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form .attach {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  background: var(--paper-warm);
}
.contact-form button { margin-top: 20px; }
.contact-form .recaptcha-note {
  font-size: 12px;
  color: #888;
  margin-top: 16px;
}
.contact-info h4 { margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.contact-info p { color: var(--ink-soft); font-size: 15px; margin: 6px 0 20px; }

/* --------------- Hours table --------------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.hours-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.hours-table td:first-child { font-weight: 600; color: var(--ink); width: 80px; }

/* --------------- Subscribe --------------- */
.subscribe {
  text-align: center;
  padding: 40px 24px;
  background: var(--paper-warm);
}
.subscribe h3 { margin: 0 0 12px; color: var(--ink); }
.subscribe form { display: inline-flex; gap: 8px; margin-top: 8px; }
.subscribe input {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  min-width: 280px;
  font-size: 15px;
}

/* --------------- Footer --------------- */
footer.site-footer {
  background: #1f1f1f;
  color: #cfcfcf;
  padding: 30px 24px;
  text-align: center;
  font-size: 13px;
}
footer.site-footer a { color: #cfcfcf; text-decoration: underline; }

/* --------------- Wizard --------------- */
.wizard {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.wizard-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.wizard-progress .step-dot {
  flex: 1;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  transition: background .3s;
}
.wizard-progress .step-dot.active { background: var(--gold); }
.wizard-step { display: none; }
.wizard-step.active {
  display: block;
  animation: wizFade 0.3s;
}
.wizard-step h3 {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink);
}
.wizard-step p.step-help {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 24px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.choice-card {
  padding: 20px 12px;
  border: 2px solid var(--line);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--paper);
  font-weight: 500;
  color: var(--ink);
  user-select: none;
  font-size: 14px;
}
.choice-card:hover {
  border-color: var(--gold);
  background: var(--paper-warm);
}
.choice-card.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: #ffffff;
}
.choice-card .icon-big {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
  line-height: 1;
}
.wizard-form-row { margin: 18px 0; }
.wizard-form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.wizard-form-row input,
.wizard-form-row select,
.wizard-form-row textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  box-sizing: border-box;
}
.wizard-range { display: flex; gap: 16px; }
.wizard-range > div { flex: 1; }
.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.wizard-nav .btn-back {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}
.wizard-nav .btn-back:hover { background: var(--paper-warm); }
.wizard-nav .btn-back:disabled { opacity: 0.4; cursor: not-allowed; }
.wizard-nav .btn-next {
  background: var(--gold);
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}
.wizard-nav .btn-next:hover { background: var(--gold-dark); }
.wizard-nav .btn-next:disabled { background: #ccc; cursor: not-allowed; }
.wizard-summary {
  background: var(--paper-warm);
  padding: 24px;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid var(--line);
}
.wizard-summary dl { margin: 0; }
.wizard-summary dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 14px;
  font-size: 14px;
}
.wizard-summary dt:first-child { margin-top: 0; }
.wizard-summary dd {
  color: var(--ink-soft);
  margin: 4px 0 0;
  padding-left: 0;
  font-size: 15px;
}
@keyframes wizFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------- Mortgage Calculator --------------- */
.calc {
  max-width: 900px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.calc-inputs .wizard-form-row { margin: 14px 0; }
.calc-output {
  background: linear-gradient(135deg, var(--paper-warm), #f2ead8);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}
.calc-output .payment {
  font-size: 42px;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 16px 0 8px;
}
.calc-output .payment-label {
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.calc-breakdown {
  margin-top: 24px;
  text-align: left;
  font-size: 14px;
}
.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.calc-breakdown div:last-child { border-bottom: none; }
.calc-breakdown .label { color: var(--ink-soft); }
.calc-breakdown .value { color: var(--ink); font-weight: 600; }
.calc-disclaimer {
  grid-column: 1 / -1;
  color: #999;
  font-size: 12px;
  font-style: italic;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}
@media (max-width: 780px) {
  .calc { grid-template-columns: 1fr; padding: 20px; }
}

/* --------------- Area / City Cards --------------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.city-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-decoration: none;
}
.city-card .city-img {
  height: 180px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 4px;
}
.city-card .city-body {
  padding: 20px;
  flex-grow: 1;
}
.city-card .city-body h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink);
}
.city-card .city-body p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.city-card .city-meta {
  font-size: 12px;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.city-card .city-cta {
  padding: 14px 20px;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --------------- Data table (market snapshots) --------------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  background: var(--paper-warm);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.data-table td.metric {
  color: var(--gold-dark);
  font-weight: 700;
  font-family: "Courier New", monospace;
  font-size: 16px;
}
.data-source {
  font-size: 11px;
  color: #999;
  font-style: italic;
  margin: 8px 0 0;
}

/* --------------- Q&A --------------- */
.qa-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 40px;
  max-width: 800px;
}
.qa-filter button {
  padding: 8px 18px;
  border: 2px solid var(--gold);
  background: var(--paper);
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .2s;
}
.qa-filter button:hover {
  background: var(--paper-warm);
}
.qa-filter button.active {
  background: var(--gold);
  color: #ffffff;
}
.qa-list {
  max-width: 820px;
  margin: 0 auto;
}
.qa-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 24px;
  transition: all .3s;
}
.qa-item.hidden { display: none; }
.qa-item .qa-topic {
  display: inline-block;
  font-size: 11px;
  color: var(--gold-dark);
  background: var(--paper-warm);
  padding: 4px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 12px;
}
.qa-item h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.4;
}
.qa-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.qa-item .qa-disclaimer {
  font-size: 12px;
  color: #999;
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 8px;
  margin-bottom: 0;
}
.qa-redirect {
  background: linear-gradient(135deg, #f7f1e6, #f2ead8);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 32px;
  margin: 40px auto;
  max-width: 820px;
}
.qa-redirect h2 {
  color: var(--gold-dark);
  margin: 0 0 12px;
}
.qa-redirect p {
  color: var(--ink);
  line-height: 1.7;
}
.qa-redirect ul {
  color: var(--ink-soft);
  line-height: 1.9;
}
.qa-redirect strong { color: var(--gold-dark); }

/* --------------- Role banner (light reminder that Tim is acting as Realtor here) --------------- */
.role-banner {
  background: #f7f1e6;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.55;
}
.role-banner strong { color: var(--gold-dark); }

/* --------------- Page hero (secondary pages) --------------- */
.page-hero {
  background: linear-gradient(135deg, var(--paper-warm), #f3e8d0);
  padding: 50px 24px;
  text-align: center;
}
.page-hero h1 {
  font-size: 40px;
  margin: 0 0 12px;
  color: var(--ink);
}
.page-hero p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto;
}

/* --------------- Compliance block (DRE / State Bar / disclaimer) --------------- */
.compliance-block {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 20px;
  text-align: left;
}
.license-line {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 20px;
  padding: 0 0 18px;
  border-bottom: 1px solid #3a3a3a;
  line-height: 1.7;
}
.license-line .tbd {
  color: #ffc94a;
  font-style: italic;
  font-weight: 500;
}
.disclaimer {
  color: #b8b8b8;
  font-size: 11px;
  line-height: 1.65;
}
.disclaimer p { margin: 0 0 10px; }
.disclaimer em { color: #ffffff; font-style: italic; }
.disclaimer strong { color: #ffffff; }
.copyright-line {
  border-top: 1px solid #3a3a3a;
  padding-top: 14px;
  margin-top: 14px;
  color: #999999;
  font-size: 12px;
}

/* --------------- Cookie strip --------------- */
.cookie-strip {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #f0ece4;
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  gap: 20px;
  z-index: 100;
}
.cookie-strip .accept {
  padding: 8px 20px;
  background: var(--gold);
  color: #fff;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

/* --------------- Utility --------------- */
.center { text-align: center; }
.tag-strip {
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 12px 24px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* --------------- Mirror banner --------------- */
.mirror-banner {
  background: #333;
  color: #ffd48a;
  text-align: center;
  padding: 6px 24px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Courier New", monospace;
}

/* --------------- Responsive --------------- */
@media (max-width: 780px) {
  .nav-wrap { flex-direction: column; gap: 16px; }
  nav.main-nav ul { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 32px; }
  .two-col, .features, .contact-grid { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: repeat(2, 1fr); }
  .subscribe form { flex-direction: column; }
  .subscribe input { min-width: 0; width: 100%; }
}
