/* ============================================
   EDITH REAL ESTATE — PAGE STYLES
   Tightened Inner Pages
   ============================================ */

/* ---------- PAGE HERO ---------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-deep);
  /* Account for fixed header so content never collides with navigation */
  padding-top: 100px;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 8, 8, 0.45) 0%,
    rgba(8, 8, 8, 0.15) 40%,
    rgba(8, 8, 8, 0.55) 75%,
    rgba(12, 12, 12, 0.98) 100%
  );
  z-index: 1;
}
.page-hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(8, 8, 8, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-hero__orbital {
  position: absolute;
  top: 30%;
  right: -5%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.04);
  z-index: 1;
  pointer-events: none;
}
.page-hero__orbital::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.03);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 5vh, 5rem);
  padding-top: var(--space-lg);
  max-width: 800px;
}
.page-hero__label {
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-md);
  display: block;
}
.page-hero__title {
  font-size: var(--text-hero);
  font-weight: var(--weight-bold);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}
.page-hero__title .gold {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero__desc {
  font-size: var(--text-section-sub);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs {
  padding: var(--space-lg) 0 0;
  font-size: var(--text-meta);
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--gold-primary); }
.breadcrumbs__sep { margin: 0 0.5rem; opacity: 0.4; }
.breadcrumbs__current { color: var(--text-primary); }

/* ---------- FILTER BAR ---------- */
.filter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-2xl);
  display: flex;
  gap: var(--space-md);
  align-items: flex-end;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}
.filter-bar__field {
  flex: 1;
  min-width: 150px;
}
.filter-bar__field label {
  display: block;
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}
.filter-bar__field select,
.filter-bar__field input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--text-small);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}
.filter-bar__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A5A5A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}
.filter-bar__field select:hover,
.filter-bar__field select:focus {
  border-color: rgba(212, 175, 55, 0.3);
  outline: none;
}
.filter-bar__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ---------- PROPERTY GRID ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* ---------- EMPTY STATE ---------- */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--container-padding);
}
.empty-state__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-xl);
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state__icon svg { width: 28px; height: 28px; stroke: var(--text-muted); }
.empty-state__title {
  font-family: var(--font-display);
  font-size: var(--text-section);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.empty-state__desc {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ---------- PAGINATION ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-3xl);
}
.pagination__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  transition: all var(--duration-fast) var(--ease-out);
  background: transparent;
  cursor: pointer;
}
.pagination__btn:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.pagination__btn.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--text-dark);
  font-weight: var(--weight-bold);
}
.pagination__btn--prev, .pagination__btn--next {
  width: auto;
  padding: 0 var(--space-md);
}

/* ---------- SERVICE DETAIL ---------- */
.service-detail { background: var(--bg-primary); }
.service-detail__grid {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.service-detail__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: var(--weight-bold);
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  transition: color var(--duration-slow) var(--ease-out);
}
.service-detail:hover .service-detail__number { color: rgba(212, 175, 55, 0.1); }
.service-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: var(--space-md) 0 var(--space-lg);
  line-height: 1.25;
}
.service-detail__desc {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.service-detail__list { margin-top: var(--space-md); }
.service-detail__list li {
  font-size: var(--text-small);
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  padding-left: var(--space-xl);
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
.service-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--gold-primary);
}
.service-detail__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.service-detail__visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform var(--duration-dramatic) var(--ease-out);
}
.service-detail__visual:hover img { transform: scale(1.04); }

/* ---------- ABOUT ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.about-story--reversed .about-story__visual { order: -1; }
.about-story__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: var(--space-md) 0 var(--space-lg);
  line-height: 1.25;
}
.about-story__text p {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.about-story__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.about-story__visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform var(--duration-dramatic) var(--ease-out);
}
.about-story__visual:hover img { transform: scale(1.04); }

/* About Values */
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.about-value {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-normal) var(--ease-out);
}
.about-value:hover { border-color: var(--border-gold); }
.about-value__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: var(--weight-bold);
  color: rgba(255, 255, 255, 0.04);
  display: block;
  margin-bottom: var(--space-md);
}
.about-value:hover .about-value__number { color: rgba(212, 175, 55, 0.1); }
.about-value__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  transition: color var(--duration-fast) var(--ease-out);
}
.about-value:hover .about-value__title { color: var(--gold-light); }
.about-value__desc {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
.contact-info__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: var(--space-md) 0 var(--space-lg);
  line-height: 1.25;
}
.contact-info__desc {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}
.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg { width: 16px; height: 16px; stroke: var(--gold-primary); }
.contact-info__icon svg[fill='currentColor'] { stroke: none; fill: var(--gold-primary); width: 16px; height: 16px; }
.contact-info__label {
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-info__value {
  font-size: var(--text-body);
  color: var(--text-primary);
  transition: color var(--duration-fast) var(--ease-out);
}
a.contact-info__value:hover { color: var(--gold-primary); }

/* Contact Form */
.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
}
.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
}
.contact-form__field { margin-bottom: var(--space-md); }
.contact-form__field label {
  display: block;
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--text-small);
  font-family: var(--font-body);
  transition: border-color var(--duration-fast) var(--ease-out);
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: rgba(212, 175, 55, 0.3);
  outline: none;
}
.contact-form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A5A5A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.contact-form__field textarea { resize: vertical; min-height: 100px; }

