/* ============================================
   3C Realty — Design System & Styles
   ============================================ */

:root {
  --navy-950: #0a1628;
  --navy-900: #0f2140;
  --navy-800: #152d52;
  --navy-700: #1e3a66;
  --navy-600: #2a4a7a;
  --gold-400: #d4a853;
  --gold-500: #c49a3c;
  --gold-300: #e0bc6e;
  --gold-100: #f5e9d0;
  --slate-50: #f8f9fb;
  --slate-100: #eef1f5;
  --slate-200: #dde3eb;
  --slate-300: #c5ced9;
  --slate-400: #8b97a8;
  --slate-500: #6b7789;
  --slate-600: #4a5568;
  --slate-700: #2d3748;
  --white: #ffffff;
  --success: #2d8a5e;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-h: 80px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h4 { font-size: 1.2rem; }

.lead {
  font-size: 1.125rem;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 36em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: var(--slate-50);
}

.section--dark {
  background: var(--navy-900);
  color: var(--slate-200);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark .lead {
  color: var(--slate-300);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header .lead {
  margin: 1rem auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-400);
  color: var(--navy-950);
}

.btn-primary:hover {
  background: var(--gold-300);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.header.is-scrolled,
.header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header.is-scrolled .nav-link,
.header.is-solid .nav-link,
.header.is-scrolled .logo-text,
.header.is-solid .logo-text {
  color: var(--navy-900);
}

.header.is-scrolled .nav-link:hover,
.header.is-solid .nav-link:hover,
.header.is-scrolled .nav-link.active,
.header.is-solid .nav-link.active {
  color: var(--gold-500);
}

.header.is-scrolled .logo-mark,
.header.is-solid .logo-mark {
  background: var(--navy-900);
  color: var(--gold-400);
}

.header.is-scrolled .nav-toggle span,
.header.is-solid .nav-toggle span {
  background: var(--navy-900);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--gold-400);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.logo-text span {
  font-weight: 400;
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-300);
}

.nav-cta {
  margin-left: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: var(--navy-900);
  overflow: hidden;
}

.hero--short {
  min-height: 52vh;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(15, 33, 64, 0.75) 50%, rgba(10, 22, 40, 0.9) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a853' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, 60px 60px;
}

.hero-bg--video {
  background: var(--navy-950);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.78) 0%, rgba(15, 33, 64, 0.55) 45%, rgba(10, 22, 40, 0.82) 100%),
    linear-gradient(to top, rgba(10, 22, 40, 0.55) 0%, transparent 40%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
  z-index: 2;
}

.hero-bg--video::after {
  z-index: 2;
}

.hero--short .hero-bg::after {
  display: none;
}

.hero-video-credit {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 3;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

.hero-video-credit a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-video-credit a:hover {
  color: var(--gold-300);
}

@media (max-width: 600px) {
  .hero-video-credit {
    left: 1rem;
    right: 1rem;
    bottom: 0.75rem;
    text-align: center;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-bg--video {
    background:
      linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(15, 33, 64, 0.75) 50%, rgba(10, 22, 40, 0.9) 100%),
      var(--navy-900);
  }
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.25rem;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}

/* Page hero gradient overlays for variety */
.hero--residential .hero-bg {
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(21, 45, 82, 0.8) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(212, 168, 83, 0.15), transparent 50%);
}

.hero--commercial .hero-bg {
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(15, 33, 64, 0.85) 100%),
    radial-gradient(ellipse at 30% 70%, rgba(42, 74, 122, 0.4), transparent 50%);
}

.hero--pm .hero-bg {
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(30, 58, 102, 0.85) 100%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 168, 83, 0.12), transparent 45%);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gold-100);
  color: var(--gold-500);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--slate-500);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-900);
}

.service-card .link-arrow:hover {
  color: var(--gold-500);
}

.service-card .link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.service-card:hover .link-arrow svg {
  transform: translateX(3px);
}

/* Feature blocks */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-700));
  box-shadow: var(--shadow-lg);
}

.feature-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 30% 40%, rgba(212, 168, 83, 0.2), transparent 50%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
}

.feature-visual-inner .big-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1;
}

.feature-visual-inner p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 220px;
}

.feature-content .eyebrow {
  margin-bottom: 0.5rem;
}

.feature-content h2 {
  margin-bottom: 1rem;
}

.feature-content .lead {
  margin-bottom: 1.75rem;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.975rem;
  color: var(--slate-600);
}

.checklist li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--success);
  margin-top: 2px;
}

/* Property Cards */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.property-image {
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-800));
  overflow: hidden;
}

.property-image-pattern {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 168, 83, 0.15), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
}

.property-image-pattern svg {
  width: 48px;
  height: 48px;
  stroke: rgba(255, 255, 255, 0.25);
  fill: none;
  stroke-width: 1.5;
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--gold-400);
  color: var(--navy-950);
}

.property-badge--commercial {
  background: var(--navy-900);
  color: var(--gold-400);
}

.property-badge--rental {
  background: var(--success);
  color: var(--white);
}

.property-body {
  padding: 1.5rem;
}

.property-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.property-address {
  font-size: 0.95rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.85rem;
  color: var(--slate-500);
}

.property-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.property-meta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.25rem;
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--navy-900);
  color: var(--gold-400);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.why-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h4 {
  margin-bottom: 0.5rem;
  color: var(--navy-900);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
}

.testimonial-stars {
  color: var(--gold-400);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.975rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.author-role {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

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

.cta-banner .hero-actions {
  justify-content: center;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 0.5rem;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 1rem;
  line-height: 1;
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* Service detail lists */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
}

.detail-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-100);
}

.detail-card h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.detail-card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--gold-500);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.detail-card p {
  font-size: 0.925rem;
  color: var(--slate-500);
}

/* About team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--slate-200);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-400);
  border: 3px solid var(--gold-100);
  overflow: hidden;
  object-fit: cover;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* Broker spotlight */
.broker-spotlight {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.broker-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--navy-800);
  box-shadow: var(--shadow-md);
}

.broker-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.broker-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--navy-900);
}

.broker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.license-note {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 1rem;
}

.sales-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sales-link-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--transition);
}

.sales-link-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sales-link-card h4 {
  margin-bottom: 0.4rem;
}

.sales-link-card p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}

.sales-link-card .link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
}

@media (max-width: 960px) {
  .broker-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .broker-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .broker-meta,
  .broker-actions {
    justify-content: center;
  }

  .sales-links {
    grid-template-columns: 1fr;
  }
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-100);
  color: var(--gold-500);
  border-radius: var(--radius-md);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.95rem;
  color: var(--slate-500);
}

.contact-info-item a:hover {
  color: var(--gold-500);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--navy-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
  background: var(--white);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--success);
}

.form-success.is-visible {
  display: block;
}

.form-success svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  stroke: var(--success);
  fill: none;
  stroke-width: 1.75;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid var(--slate-200);
  color: var(--slate-600);
  background: var(--white);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

/* Footer */
.footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 1.25rem;
}

.footer-brand .logo-mark {
  background: var(--gold-400);
  color: var(--navy-950);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--slate-300);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-950);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.925rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--gold-400);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--gold-300);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.35);
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none !important; }

/* Mobile nav */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1000;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-link {
    color: var(--navy-900) !important;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--slate-50);
    color: var(--gold-500) !important;
  }

  .nav-cta {
    margin: 1rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.5);
    z-index: 999;
  }

  .nav-overlay.is-open {
    display: block;
  }

  .services-grid,
  .properties-grid,
  .testimonials-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row,
  .feature-row--reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-row--reverse {
    direction: ltr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }

  .why-grid,
  .process-steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .header.is-scrolled .nav-toggle span,
  .header.is-solid .nav-toggle span {
    background: var(--navy-900);
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeUp 0.6s ease forwards;
}

/* Listing empty state */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--slate-400);
  grid-column: 1 / -1;
}
