/* Western Realty — design system & components (modern editorial) */

:root {
  --bg: #fafaf9;
  --bg-warm: #f3f2ef;
  --navy: #001226;
  --dark: #001226;
  --text: #1a2130;
  --muted: #5c6778;
  --accent: #b5935b;
  --accent-hover: #927545;
  --accent-soft: rgba(181, 147, 91, 0.15);
  --border: rgba(26, 33, 48, 0.1);
  --demo-banner: #ede6d5;
  --demo-banner-text: #4a442e;
  --gold: #b5935b;
  --gold-soft: rgba(181, 147, 91, 0.2);
  --gold-deep: #8a7147;
  --hero-ink: #001226;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 4px 28px rgba(12, 15, 20, 0.07);
  --shadow-hover: 0 20px 50px rgba(12, 15, 20, 0.14);
  --shadow-card: 0 2px 16px rgba(12, 15, 20, 0.06);
  --header-h: 76px;
  --demo-h: 0px;
  --max: 1220px;
  --space-section: clamp(4.5rem, 10vw, 7rem);

  /* Aliases for portal/admin/login (Claude v2 partial) */
  --color-bg-alt: var(--bg-warm);
  --color-bg-dark: var(--dark);
  --color-border: var(--border);
  --color-accent: var(--accent);
  --color-text: var(--text);
  --color-text-muted: var(--muted);
  --radius-md: var(--radius);
  --shadow-md: var(--shadow);
  --shadow-sm: 0 4px 20px rgba(20, 24, 31, 0.06);
  --font-display: var(--font-heading);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Demo banner */
.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--demo-banner);
  color: var(--demo-banner-text);
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.65rem 1rem;
  font-weight: 500;
}

/* Header */
.site-header {
  position: sticky;
  top: var(--demo-h);
  z-index: 1000;
  background: rgba(250, 250, 249, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(10, 12, 16, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.75rem);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--dark);
}

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

.logo--image {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo__img {
  height: 44px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

.logo--footer {
  background: #fff;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.logo__img--footer {
  height: 48px;
  max-width: 200px;
}

@media (max-width: 520px) {
  .logo__img {
    height: 36px;
    max-width: 38vw;
  }

  .logo__img--footer {
    height: 40px;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--dark);
  font-family: inherit;
  font-size: 0.875rem;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.82rem 1.65rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.2s ease,
    box-shadow 0.22s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(181, 147, 91, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  box-shadow: 0 8px 28px rgba(138, 113, 71, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.btn-secondary:hover {
  background: #0d1015;
  border-color: #0d1015;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--bg-warm);
  border-color: var(--bg-warm);
  color: var(--dark);
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 1.75rem);
  padding-right: clamp(1rem, 4vw, 1.75rem);
}

.pt-main {
  padding-top: calc(var(--demo-h) + var(--header-h));
}

.section {
  padding: var(--space-section) 0;
}

.section--warm {
  background: linear-gradient(180deg, var(--bg-warm) 0%, rgba(250, 250, 249, 0.5) 50%, var(--bg-warm) 100%);
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 0.85rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 44rem;
  margin: 0 0 2rem;
  line-height: 1.65;
}

.page-hero {
  background: linear-gradient(165deg, var(--bg-warm) 0%, rgba(250, 250, 249, 0.96) 48%, var(--bg) 100%);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin: 0 0 0.5rem;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.page-hero__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36rem;
}

.page-hero__cta {
  margin: 1.25rem 0 0;
}

/* Hero home */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  margin-top: calc(var(--demo-h) + var(--header-h));
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 10, 14, 0.75) 0%,
    rgba(12, 15, 20, 0.35) 42%,
    rgba(12, 15, 20, 0.25) 100%
  ),
    linear-gradient(to top, rgba(8, 10, 14, 0.92) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 1.75rem) clamp(2.75rem, 6vw, 4rem);
  width: 100%;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 1.15rem;
  max-width: 14ch;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  opacity: 0.94;
  max-width: 34rem;
  margin: 0 0 2rem;
  line-height: 1.6;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero__scroll {
    display: none;
  }
}

/* Grids */
.grid-3 {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

/* Value cards */
.value-card {
  background: var(--bg);
  border: 1px solid rgba(26, 33, 48, 0.06);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 0 0 0.65rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
}

.section--warm .value-card {
  background: var(--bg);
}

/* Listing cards */
.listing-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.listing-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26, 33, 48, 0.07);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

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

.listing-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.listing-card:hover .listing-card__media img {
  transform: scale(1.06);
}

.listing-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(12, 15, 20, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
}

.listing-card__badge--pending {
  background: var(--muted);
}

.listing-card__badge--new {
  background: var(--accent);
}

.listing-card__body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.listing-card__demo {
  display: none;
}

.listing-card__price {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.listing-card__address {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.listing-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--text);
}

/* Agent cards */
.agent-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.agent-card {
  border: 1px solid rgba(26, 33, 48, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.agent-card__photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-warm);
}

.agent-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.agent-card:hover .agent-card__photo img {
  transform: scale(1.05);
}

.agent-card__body {
  padding: 1.25rem;
}

.agent-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 0.25rem;
  color: var(--dark);
}

.agent-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.65rem;
}

.agent-card__idx {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.agent-card__idx a {
  font-weight: 600;
}

.agent-card__bio {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.agent-card__contact {
  font-size: 0.875rem;
}

.agent-card__contact a {
  display: block;
  word-break: break-word;
}

.agent-card--skeleton {
  pointer-events: none;
}

.agent-card--skeleton:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

.agent-card__photo--skeleton {
  background: linear-gradient(110deg, #e8e6e1 0%, #f5f4f1 45%, #e8e6e1 90%);
  background-size: 200% 100%;
  animation: wr-shimmer 1.2s ease-in-out infinite;
}

@keyframes wr-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agent-card__photo--skeleton {
    animation: none;
    background: #e8e6e1;
  }
}

.skeleton-line {
  height: 0.65rem;
  border-radius: 4px;
  background: #e5e3de;
  margin-bottom: 0.5rem;
}

.skeleton-line--lg {
  height: 1rem;
  width: 70%;
  margin-bottom: 0.65rem;
}

.skeleton-line--sm {
  width: 45%;
  height: 0.55rem;
}

.skeleton-line--short {
  width: 55%;
}

/* Stats banner */
.stats-banner {
  background: linear-gradient(145deg, #0a0c10 0%, #151b26 48%, #0c0f14 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.25rem) clamp(1.25rem, 4vw, 1.75rem);
  position: relative;
}

.stats-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(181, 147, 91, 0.22), transparent 55%);
  pointer-events: none;
}

.stats-banner__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  position: relative;
}

.stats-banner__grid > div {
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .stats-banner__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stats-banner__phrase {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.35vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}

.stats-banner__note {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.7;
  padding: 0 1rem;
}

/* CTA banners */
.cta-strip {
  position: relative;
  padding: clamp(4rem, 10vw, 5.5rem) clamp(1.25rem, 4vw, 1.75rem);
  color: #fff;
  text-align: center;
}

.cta-strip__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-strip__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 12, 16, 0.88) 0%, rgba(12, 15, 20, 0.76) 100%);
}

.cta-strip__inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.cta-strip__inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-strip__inner p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
}

.cta-inline {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  border: 1px solid rgba(26, 33, 48, 0.08);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 2.75rem);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.cta-inline h2 {
  font-family: var(--font-heading);
  margin-top: 0;
  letter-spacing: -0.02em;
}

/* IDX embed slot (vendor script lands here) */
.idx-embed-slot {
  border: 1px dashed rgba(0, 18, 38, 0.18);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, var(--bg-warm) 100%);
  margin-bottom: 2.5rem;
  text-align: center;
}

.idx-embed-slot h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.idx-embed-slot p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Step cards */
.steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step-card {
  border: 1px solid rgba(26, 33, 48, 0.07);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 1.75rem);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

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

.step-card__num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  box-shadow: 0 6px 16px rgba(184, 107, 58, 0.35);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.925rem;
}

/* Market teaser */
.market-teaser {
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  background: var(--bg-warm);
  margin-top: 2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-card);
}

.market-teaser p {
  margin: 0;
  color: var(--text);
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 107, 58, 0.2);
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.info-card {
  border: 1px solid rgba(26, 33, 48, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: linear-gradient(165deg, var(--bg-warm) 0%, var(--bg) 100%);
  box-shadow: var(--shadow-card);
}

.info-card h3 {
  font-family: var(--font-heading);
  margin-top: 0;
}

.gbp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.gbp-actions .btn {
  flex: 1 1 auto;
  min-width: 140px;
  justify-content: center;
}

.gbp-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.info-card p {
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.map-embed {
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Google reviews */
.reviews-section {
  margin-top: 2.5rem;
}

.reviews-section h3 {
  font-family: var(--font-heading);
  margin: 0 0 0.5rem;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.reviews-summary__stars {
  color: var(--accent);
  letter-spacing: 2px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  background: var(--bg);
}

.review-card__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.review-card__author {
  font-weight: 600;
  color: var(--text);
}

.review-card__time {
  margin-left: auto;
}

.review-card__text {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text);
  line-height: 1.55;
}

.reviews-fallback {
  padding: 1rem 0;
}

.reviews-loading {
  color: var(--muted);
  font-size: 0.9375rem;
}

.feedback-subheading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.feedback-lead {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem !important;
}

.site-testimonials-empty {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

.label-hint {
  font-weight: 400;
  color: var(--muted);
}

.code-inline {
  font-size: 0.8125em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
}

/* About values */
.values-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.value-pill {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--bg);
}

.value-pill strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.value-pill span {
  color: var(--muted);
  font-size: 0.925rem;
}

/* Agents page roster */
.roster-page-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.roster-page-head__lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
}

.agent-grid--roster {
  min-height: 14rem;
}

.roster-portal-disclosure {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-warm);
}

.roster-portal-disclosure__summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  color: var(--text);
}

.roster-portal-disclosure__summary::-webkit-details-marker {
  display: none;
}

.roster-portal-disclosure[open] .roster-portal-disclosure__summary {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
}

.portal-cta--nested {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Portal CTA */
.portal-cta {
  margin-top: var(--space-section);
  padding: clamp(2.5rem, 5vw, 3.25rem);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #12161f 0%, #0c0f14 55%, #151d28 100%);
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 48px rgba(12, 15, 20, 0.2);
  position: relative;
  overflow: hidden;
}

.portal-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 80% 20%, rgba(184, 107, 58, 0.15), transparent 55%);
  pointer-events: none;
}

.portal-cta h2 {
  font-family: var(--font-heading);
  margin-top: 0;
  position: relative;
  letter-spacing: -0.02em;
}

.portal-cta p {
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 1.25rem;
  position: relative;
  line-height: 1.65;
}

.portal-cta .btn-light {
  position: relative;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0e1218 0%, #0c0f14 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(3rem, 6vw, 4rem) clamp(1.25rem, 4vw, 1.75rem) 1.5rem;
  font-size: 0.9375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand .logo:hover {
  color: #fff;
}

.footer-brand .logo .dot {
  color: var(--gold);
}

.footer-brand p {
  margin: 0.75rem 0 0;
  opacity: 0.8;
  line-height: 1.55;
  max-width: 280px;
}

.footer-col h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  opacity: 0.75;
}

.footer-bottom p {
  margin: 0;
}

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

.mb-0 {
  margin-bottom: 0;
}

.mt-lg {
  margin-top: 2rem;
}

/* Portal/admin login form primitives */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 107, 58, 0.2);
}

/* —— Premium / conversion layer (Las Vegas brokerage) —— */
.btn-nav-cta {
  background: var(--gold);
  color: var(--hero-ink);
  border-color: var(--gold);
  font-size: 0.7rem;
  padding: 0.72rem 1.25rem;
  box-shadow: 0 4px 18px rgba(201, 169, 98, 0.35);
  flex-shrink: 0;
}

.btn-nav-cta:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff;
}

.btn-nav-review {
  font-size: 0.7rem;
  padding: 0.66rem 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .btn-nav-review {
    display: none;
  }
}


.hero--premium .hero__overlay {
  background: linear-gradient(
      115deg,
      rgba(4, 5, 8, 0.88) 0%,
      rgba(10, 12, 18, 0.55) 45%,
      rgba(10, 12, 18, 0.35) 100%
    ),
    linear-gradient(to top, rgba(4, 5, 8, 0.95) 0%, transparent 58%);
}

.hero--premium .hero__title {
  max-width: 18ch;
  font-weight: 600;
}

.hero--premium .hero__title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--gold), rgba(201, 169, 98, 0.2));
  border-radius: 2px;
}

.hero--premium .hero__sub {
  max-width: 38rem;
  font-weight: 400;
  opacity: 0.92;
}

.btn-hero-primary {
  background: #fff;
  color: var(--hero-ink);
  border-color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.btn-hero-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--hero-ink);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.trust-strip {
  background: var(--hero-ink);
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem clamp(1rem, 4vw, 1.75rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.5rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-strip__item {
  padding: 0.35rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip__item:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .trust-strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip__item:nth-child(2) {
    border-right: none;
  }

  .trust-strip__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0;
  }

  .trust-strip__item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

.section-lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.lead-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .lead-dual {
    grid-template-columns: 1fr;
  }
}

.lead-dual__card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.lead-dual__card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: 0 0 0.65rem;
}

.lead-dual__card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.reviews-google-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 40rem;
}

.reviews-empty-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.reviews-empty-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.reviews-empty-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.visit-strip {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.visit-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  align-items: stretch;
}

@media (max-width: 900px) {
  .visit-strip__grid {
    grid-template-columns: 1fr;
  }
}

.visit-strip__copy {
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.visit-strip__copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.visit-strip__map {
  min-height: 280px;
  border: 0;
}

.visit-strip__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.home-agents-head {
  text-align: center;
  margin-bottom: 2rem;
}

.home-agents-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.agent-card--compact .agent-card__photo {
  aspect-ratio: 1;
  max-height: 220px;
}

.agent-card--compact .agent-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-card--compact .agent-card__bio {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agent-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.agent-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--dark);
  background: var(--bg-warm);
}

.agent-card__btn--call {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.agent-card__btn--call:hover {
  background: #000;
  color: #fff;
}

.agent-card__btn--email:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.cta-strip--split .cta-strip__inner {
  max-width: 960px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.cta-strip--split .cta-strip__inner p {
  flex: 1 1 280px;
  margin: 0;
}

.cta-strip .btn-on-dark-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.cta-strip .btn-on-dark-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.footer-disclaimer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 1.75rem) 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.52);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.info-card--polished h3 {
  font-family: var(--font-heading);
}

.map-embed--framed {
  border: 1px solid rgba(26, 33, 48, 0.12);
  box-shadow: var(--shadow-card);
}


.agent-card__meta {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.agent-card__meta a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 18, 38, 0.28);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.agent-card__meta a:hover {
  color: var(--accent-hover);
}

.agent-card__meta--license {
  margin-top: -0.35rem;
}
