/* ============================================
   Erik Olson | North Star Pro Realty
   Modern minimal design system
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f8;
  --bg-dark: #14171c;
  --text: #14171c;
  --text-muted: #5b6270;
  --text-soft: #8a909c;
  --border: #e7e8ec;
  --accent: #d6a53c;
  --accent-dark: #b8891f;
  --accent-soft: #f7ecd4;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(20, 23, 28, 0.06);
  --shadow-lg: 0 20px 60px rgba(20, 23, 28, 0.12);
  --max-width: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 44px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.02rem;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.nav-phone svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-copy p {
  font-size: 1.15rem;
  margin: 20px 0 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
}

.hero-stats div span {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual .blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), #fff 70%);
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  z-index: 0;
  transform: scale(1.08);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 88%;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-visual .badge {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: -6px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-visual .badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual .badge strong {
  display: block;
  font-size: 0.9rem;
}

.hero-visual .badge span {
  font-size: 0.76rem;
  color: var(--text-soft);
}

/* Services / cards */
.services {
  background: var(--bg-alt);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-dark);
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

/* About teaser / split sections */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.split-img {
  position: relative;
}

.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.split-copy .eyebrow { margin-bottom: 14px; }

.split-copy p {
  margin: 18px 0 26px;
  font-size: 1.02rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text);
}

.check-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-dark);
}

/* CTA banner */
.cta-banner {
  background: var(--text);
  border-radius: 28px;
  margin: 0 24px;
  padding: 72px 48px;
  text-align: center;
  color: var(--white);
}

.cta-banner-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-banner h2 { color: var(--white); }

.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 16px auto 32px;
  font-size: 1.05rem;
}

.cta-banner .btn-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .brand { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: var(--text-soft);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-col p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.footer-bottom .equal-housing {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom .equal-housing img {
  height: 32px;
  width: auto;
}

/* Page hero (About / Contact) */
.page-hero {
  padding: 64px 0 24px;
  text-align: center;
}

.page-hero .eyebrow { display: block; }

.page-hero p {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 1.05rem;
}

/* About page */
.about-hero {
  padding-top: 40px;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.stat-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 56px 24px;
}

.stat-strip .stat {
  text-align: center;
}

.stat-strip strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
}

.stat-strip span {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-item .num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.value-item h3 { margin-bottom: 10px; }
.value-item p { font-size: 0.95rem; }

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  margin-bottom: 8px;
}

.contact-info-card > p {
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.info-row:first-of-type { border-top: none; }

.info-row .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-dark);
}

.info-row strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.info-row a,
.info-row span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.license-note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.field .req { color: var(--accent-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.radio-option {
  position: relative;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.radio-option label {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  margin: 0;
}

.radio-option input:checked + label {
  background: var(--text);
  border-color: var(--text);
  color: var(--white);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 4px;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.form-status.success {
  display: block;
  background: #eafaf0;
  color: #1c7d43;
  border: 1px solid #c8ecd6;
}

.form-status.error {
  display: block;
  background: #fdecec;
  color: #b3261e;
  border: 1px solid #f6cccc;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav ul,
  .nav-phone-wrap { display: none; }
  .nav-toggle { display: block; }

  .hero .container,
  .split,
  .split.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-img { order: -1; }

  .card-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  section { padding: 64px 0; }
}

@media (max-width: 520px) {
  .hero-stats { gap: 24px; }
  .cta-banner { padding: 48px 24px; }
}
