:root {
  --bg: #f6f1ea;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #181818;
  --muted: #5d5650;
  --line: rgba(24, 24, 24, 0.09);
  --accent: #b07a47;
  --accent-dark: #80542f;
  --shadow: 0 24px 70px rgba(27, 22, 15, 0.08);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(176, 122, 71, 0.18), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(120, 92, 62, 0.11), transparent 22%),
    linear-gradient(180deg, #fdfbf8 0%, var(--bg) 54%, #efe6dc 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.18), transparent 45%, rgba(255,255,255,0.08));
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.62));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin: 16px 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
}

.topbar nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.topbar a,
.footer a {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
}

.section {
  padding: 44px 0;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 540px);
  gap: 38px;
  align-items: center;
  padding-top: 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.92;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 16px;
}

.hero-line {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  max-width: 580px;
  color: #252525;
  margin-bottom: 14px;
}

.hero-copy {
  max-width: 640px;
}

.hero-subcopy,
.section-heading p,
.about-card p,
.service-card p,
.process-card p,
.roadmap-step p,
.process-page-copy p,
.cta-panel p,
.review-card p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions,
.contact-options {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button,
.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button-icon {
  margin-right: 8px;
  font-size: 1rem;
  line-height: 1;
}

.button:hover,
.contact-pill:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #151515, #2a2a2a);
  color: white;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.18);
}

.button-secondary,
.contact-pill {
  background: rgba(255,255,255,0.65);
  color: var(--text);
  border-color: var(--line);
}

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

.portrait-card,
.stats-card,
.review-card,
.service-card,
.process-card,
.cta-panel,
.about-card,
.why-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.6));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.portrait-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.avatar-circle-wrap {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(27, 22, 15, 0.16);
  z-index: 1;
}

.portrait-glow {
  position: absolute;
  inset: auto auto 8% 8%;
  width: 72%;
  height: 72%;
  background: rgba(176, 122, 71, 0.26);
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.avatar-image {
  position: relative;
  z-index: 1;
  transform: scale(1.04);
}

.zillow-badge {
  position: relative;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(24, 24, 24, 0.06);
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(17, 17, 17, 0.14));
}

.zillow-badge-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.zillow-badge-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.zillow-badge-copy strong {
  font-size: 1.35rem;
}

.zillow-badge-copy span {
  font-size: 1rem;
  color: #3f3b37;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #4b433d;
  font-weight: 700;
  font-size: 2rem;
}

.portrait-placeholder small {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #6e645d;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
  justify-content: center;
}

.trust-item {
  padding: 22px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.8));
  text-align: center;
  font-weight: 600;
  box-shadow: 0 14px 36px rgba(22, 18, 12, 0.04);
  justify-self: center;
  width: 100%;
  max-width: 320px;
}

.market-grid {
  display: block;
}

.market-map-card {
  border-radius: 30px;
  padding: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.map-shell {
  position: relative;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(128, 84, 47, 0.08), rgba(255,255,255,0.65));
  border: 1px solid rgba(24, 24, 24, 0.07);
}

.map-image,
.map-overlay {
  position: absolute;
  inset: 0;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) contrast(0.9) brightness(1.05);
  opacity: 0.58;
}

.map-overlay {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.32)),
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.2), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(176, 122, 71, 0.1), transparent 28%);
}

.map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 24px rgba(29, 22, 16, 0.08);
  border: 1px solid rgba(24, 24, 24, 0.06);
  font-size: 0.88rem;
  font-weight: 600;
  color: #2f2924;
  z-index: 2;
  white-space: nowrap;
}

.map-point::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  box-shadow: 0 0 0 4px rgba(176, 122, 71, 0.14);
}

.map-point-knoxville {
  background: #1b1b1b;
  color: #fff;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.2);
}

.map-point-knoxville::before {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.pin-left {
  transform: translate(-6%, -50%);
}

.pin-right {
  transform: translate(-100%, -50%);
}

.pin-top {
  transform: translate(-50%, 4%);
}

.pin-bottom {
  transform: translate(-50%, -106%);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 24px;
}

.reviews-section {
  overflow: hidden;
}

.reviews-scroller {
  overflow-x: auto;
  padding: 8px 8px 18px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 84, 47, 0.35) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
}

.reviews-scroller.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.reviews-scroller::-webkit-scrollbar {
  height: 10px;
}

.reviews-scroller::-webkit-scrollbar-track {
  background: transparent;
}

.reviews-scroller::-webkit-scrollbar-thumb {
  background: rgba(128, 84, 47, 0.3);
  border-radius: 999px;
}

.reviews-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-right: 8px;
}

.review-card {
  width: min(360px, calc(100vw - 56px));
  padding: 28px;
  border-radius: 24px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.review-card-highlight {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,241,233,0.96));
  border: 1px solid rgba(176, 122, 71, 0.28);
  box-shadow: 0 18px 40px rgba(176, 122, 71, 0.12);
}

.review-card p {
  color: #3e3934;
}

.review-quote.is-truncated {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-read-more {
  border: none;
  background: transparent;
  padding: 0;
  margin-top: 6px;
  color: var(--accent-dark);
  font-weight: 700;
  cursor: pointer;
}

.stars {
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
}

.review-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.review-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.review-modal.open {
  display: flex;
}

.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 14, 12, 0.45);
  backdrop-filter: blur(10px);
}

.review-modal-card {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  padding: 34px;
  border-radius: 28px;
  z-index: 1;
}

.review-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.08);
  font-size: 1.6rem;
  cursor: pointer;
}

.review-modal-text {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #312c28;
}

body.modal-open {
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.about-card,
.stats-card,
.cta-panel {
  padding: 36px;
  border-radius: var(--radius);
}

.stats-card {
  display: grid;
  gap: 18px;
  align-content: center;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.places-header strong {
  font-size: 1.15rem;
  line-height: 1.45;
}

.places-road {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.places-road::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(176, 122, 71, 0.42), rgba(176, 122, 71, 0.08));
}

.place-stop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 16px 0;
}

.place-pin {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b07a47, #8e5f36);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(176, 122, 71, 0.18);
  flex: none;
}

.place-stop strong {
  font-size: 1.05rem;
}

.languages-note {
  padding: 18px 20px;
  border-radius: 22px;
  margin-top: 8px;
}

.services-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.process-card {
  padding: 28px;
  border-radius: 24px;
}

.service-card {
  min-height: 188px;
  text-align: center;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(176, 122, 71, 0.16), rgba(176, 122, 71, 0.06));
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.22rem;
}

.service-card h3,
.process-card h3 {
  margin-bottom: 8px;
}

.process-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.process-card h3 {
  font-size: 1.22rem;
}

.process-link,
.process-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.process-link {
  margin-top: auto;
  font-weight: 600;
}

.process-tab-group-page {
  margin: 0 0 18px;
}

.process-link:hover,
.process-tab:hover,
.process-tab.active {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #151515, #2a2a2a);
  color: #fff;
  border-color: transparent;
}

.roadmap-panel {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.6));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.process-tab-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.roadmap-timeline {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.roadmap-step {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 12px 0;
}

.roadmap-step:last-child .roadmap-rail::after {
  display: none;
}

.roadmap-rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.roadmap-rail::after {
  content: '';
  position: absolute;
  top: 62px;
  bottom: -30px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(176, 122, 71, 0.22), rgba(176, 122, 71, 0.06));
}

.roadmap-step-copy {
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 16px 38px rgba(27, 22, 15, 0.06);
}

.roadmap-step h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.roadmap-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b07a47, #8e5f36);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(176, 122, 71, 0.2);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.cta-copy {
  max-width: 430px;
}

.complimentary-card {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
}

.complimentary-label {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  padding: 42px 0 12px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(24, 24, 24, 0.08);
  margin-top: 22px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
  transform-style: preserve-3d;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .services-grid,
  .process-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    border-radius: 24px;
    padding: 14px 16px;
    flex-direction: column;
    gap: 10px;
  }

  .topbar nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 8px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    order: -1;
  }

  .portrait-card {
    margin: 0 auto;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .map-shell {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .section {
    padding: 30px 0;
  }

  h1 {
    font-size: 2.7rem;
    line-height: 1.02;
    margin-bottom: 12px;
  }

  .hero-line {
    font-size: 1.08rem;
  }

  .hero-subcopy {
    font-size: 0.98rem;
  }

  .topbar nav {
    gap: 12px;
    font-size: 0.95rem;
  }

  .about-card,
  .stats-card,
  .cta-panel,
  .service-card,
  .process-card,
  .roadmap-panel,
  .roadmap-step-copy,
  .review-card {
    padding: 22px;
  }

  .roadmap-step {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .roadmap-rail::after {
    top: 60px;
    bottom: -26px;
  }

  .hero-note {
    padding: 16px;
  }

  .map-point,
  .map-arrow {
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  .point-top { top: 15%; left: 41%; }
  .point-right { top: 44%; right: 5%; }
  .point-bottom { bottom: 12%; left: 39%; }
  .point-left { top: 50%; left: 4%; }

  .proof-pill,
  .contact-pill,
  .button,
  .process-link,
  .process-tab {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .portrait-card {
    max-width: 360px;
  }

  .avatar-circle-wrap {
    width: min(100%, 330px);
  }

  .zillow-badge {
    margin-top: 10px;
    padding: 10px 16px;
    gap: 10px;
  }

  .zillow-badge-icon {
    width: 36px;
    height: 36px;
  }

  .zillow-badge-copy strong {
    font-size: 1.12rem;
  }

  .zillow-badge-copy span {
    font-size: 0.9rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
