/* ============================================
   GUILD STONE GROUP — Luxury Real Estate
   Design: Editorial luxury, warm coastal tones
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Warm coastal luxury palette */
  --sand: #F5F0EA;
  --sand-dark: #E8E0D4;
  --charcoal: #1A1A1A;
  --charcoal-light: #2D2D2D;
  --warm-gray: #8A8378;
  --warm-gray-light: #B5AEA4;
  --gold: #C4A35A;
  --gold-light: #D4BA7A;
  --ocean: #2C4A52;
  --ocean-light: #3D6670;
  --white: #FFFFFF;
  --cream: #FAF8F5;

  /* Typography */
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container: 1280px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.03);
}

/* On hero pages, add a dark gradient behind the nav for contrast */
.nav.hero-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.nav.hero-nav.scrolled::before {
  opacity: 0;
}

/* On hero pages, nav links are white until scrolled */
.nav.hero-nav .nav-links a {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.nav.hero-nav .nav-toggle span {
  background: var(--white);
}

.nav.hero-nav.scrolled .nav-links a {
  color: var(--charcoal);
}

.nav.hero-nav.scrolled .nav-toggle span {
  background: var(--charcoal);
}

.nav.hero-nav .nav-cta {
  border-color: rgba(255,255,255,0.5);
  color: var(--white) !important;
}

.nav.hero-nav .nav-cta:hover {
  background: var(--white);
  color: var(--charcoal) !important;
  border-color: var(--white);
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}

.nav.hero-nav.scrolled .nav-cta {
  border-color: var(--charcoal);
  color: var(--charcoal) !important;
}

.nav.hero-nav.scrolled .nav-cta:hover {
  background: var(--charcoal);
  color: var(--white) !important;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Nav brand — text-based logo, no images */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.4s ease;
}

.nav-brand-divider {
  width: 1px;
  height: 22px;
  background: var(--gold);
  opacity: 0.6;
}

.nav-brand-tagline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.4s ease;
}

/* Hero nav — brand text is white with shadow for legibility */
.nav.hero-nav .nav-brand-name {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.nav.hero-nav .nav-brand-tagline {
  color: var(--gold-light);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Scrolled nav — brand text goes dark, remove shadow */
.nav.hero-nav.scrolled .nav-brand-name {
  color: var(--charcoal);
  text-shadow: none;
}

.nav.hero-nav.scrolled .nav-brand-tagline {
  color: var(--gold);
  text-shadow: none;
}

.nav.hero-nav.scrolled .nav-links a {
  text-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  transition: color 0.35s ease, opacity 0.35s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

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

.nav.hero-nav .nav-links a:hover {
  color: var(--gold-light);
}

.nav.hero-nav.scrolled .nav-links a:hover {
  color: var(--gold);
}

.nav-links a:active {
  opacity: 0.6;
  transition-duration: 0.05s;
}

.nav-cta {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 10px 24px;
  border: 1px solid var(--charcoal);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-cta:hover {
  background: var(--charcoal);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,26,26,0.2);
}

.nav-cta::after { display: none !important; }

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s ease;
}

/* When menu is open, hamburger turns white */
.nav-toggle.menu-open span {
  background: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('https://photos.zillowstatic.com/fp/7906f05e880908568165f6d4066ed24f-cc_ft_960.jpg');
  transform: scale(1.08);
  animation: heroZoom 25s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26, 26, 26, 0.6) 0%, transparent 22%),
    radial-gradient(ellipse at center 40%, rgba(26, 26, 26, 0.3) 0%, transparent 65%),
    linear-gradient(
      to top,
      rgba(26, 26, 26, 0.7) 0%,
      rgba(26, 26, 26, 0.4) 35%,
      rgba(26, 26, 26, 0.5) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 60px);
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero brand — typographic centerpiece */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero-brand-sub {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.3vw, 0.92rem);
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 10px;
}

.hero-brand-line {
  width: clamp(80px, 14vw, 180px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 16px 0;
}

.hero-headline {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-headline em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-tag::before,
.hero-tag::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.hero-tag::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.0s forwards;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(196, 163, 90, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; height: 40px; }
  50% { opacity: 1; height: 50px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page transition */
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pageFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

#app {
  transition: opacity 0.2s ease;
}

#app.page-exit {
  animation: pageFadeOut 0.18s ease-out forwards;
}

#app.page-transition {
  animation: pageEnter 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn:active {
  transform: scale(0.97) translateY(0);
  transition-duration: 0.1s;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 163, 90, 0.3);
}

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

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.08);
}

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

.btn-dark:hover {
  background: var(--charcoal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.2);
}

/* ============================================
   SECTION STYLES
   ============================================ */

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

.section-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

/* ============================================
   FEATURED PROPERTIES (Homepage)
   ============================================ */

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.property-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.05);
}

.property-card:active {
  transform: translateY(-2px) scale(0.99);
  transition-duration: 0.12s;
}

.property-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), filter 0.7s ease;
  will-change: transform;
}

.property-card:hover .property-card-image img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.property-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--charcoal);
}

.property-card-badge.sold {
  background: var(--charcoal);
  color: var(--white);
}

.property-card-body {
  padding: 28px;
}

.property-card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.property-card-address {
  font-size: 0.88rem;
  color: var(--warm-gray);
  margin-bottom: 20px;
}

.property-card-specs {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--sand-dark);
}

.property-card-spec {
  font-size: 0.78rem;
  color: var(--charcoal);
  font-weight: 500;
}

.property-card-spec span {
  color: var(--warm-gray);
  font-weight: 400;
}

/* ============================================
   INTRO / ABOUT STRIP
   ============================================ */

.intro {
  background: var(--charcoal);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.intro .section-tag { color: var(--gold-light); }
.intro .section-title { color: var(--white); }

.intro-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-top: 24px;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.intro-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold-light);
}

.intro-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.intro-image {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196, 163, 90, 0.3);
  margin: 16px;
  pointer-events: none;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: var(--sand);
  padding: clamp(40px, 6vw, 80px) 0;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--warm-gray);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  padding: clamp(40px, 6vw, 80px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-brand-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  padding: 5px 0;
  transition: color 0.35s ease, padding-left 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-address {
  font-size: 0.85rem;
}

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */

.property-hero {
  padding-top: 100px;
  background: var(--sand);
}

.property-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4px;
  height: 540px;
  overflow: hidden;
}

.property-hero-main {
  height: 100%;
  overflow: hidden;
}

.property-hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 100%;
}

.property-hero-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail {
  padding: clamp(40px, 5vw, 64px) 0;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(40px, 5vw, 64px);
}

.property-detail-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.property-detail-address {
  font-size: 1.05rem;
  color: var(--warm-gray);
  margin-bottom: 32px;
}

.property-specs-row {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--sand-dark);
  border-bottom: 1px solid var(--sand-dark);
  margin-bottom: 32px;
}

.property-spec-item {
  text-align: center;
}

.property-spec-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
}

.property-spec-item span {
  font-size: 0.75rem;
  color: var(--warm-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-description {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--charcoal-light);
  margin-bottom: 40px;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.property-feature-tag {
  font-size: 0.78rem;
  padding: 8px 16px;
  background: var(--sand);
  color: var(--charcoal);
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
}

.property-feature-tag:hover {
  background: var(--sand-dark);
  transform: translateY(-1px);
}

/* Sidebar */
.property-sidebar {
  position: sticky;
  top: 120px;
}

.property-contact-card {
  background: var(--charcoal);
  color: var(--white);
  padding: 36px;
}

.property-contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.property-contact-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.property-contact-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.property-info-card {
  background: var(--sand);
  padding: 28px;
  margin-top: 4px;
}

.property-info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--sand-dark);
}

.property-info-row:last-child {
  border-bottom: none;
}

.property-info-row span:first-child {
  color: var(--warm-gray);
}

.property-info-row span:last-child {
  font-weight: 600;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
  padding: 160px 0 80px;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.about-hero .section-title {
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 16px;
}

.about-hero p {
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto;
}

.about-content {
  padding: var(--section-pad) 0;
}

.about-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--charcoal-light);
}

.about-text p + p { margin-top: 24px; }

.team-section {
  background: var(--sand);
  padding: var(--section-pad) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  text-align: center;
  padding: 40px 28px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.team-card-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--sand-dark);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 500;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.82rem;
  color: var(--warm-gray);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
  padding: 160px 0 var(--section-pad);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal);
  transition: border-color 0.3s ease;
  outline: none;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
  border-color: var(--gold);
}

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

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--warm-gray);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-detail h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.92rem;
  color: var(--warm-gray);
}

/* ============================================
   PORTFOLIO / ALL PROPERTIES PAGE
   ============================================ */

.portfolio-hero {
  padding: 160px 0 60px;
  background: var(--charcoal);
  color: var(--white);
}

.portfolio-hero .section-title {
  color: var(--white);
}

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

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(196, 163, 90, 0.08);
  transform: translateY(-1px);
}

.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(196, 163, 90, 0.15);
}

.portfolio-grid {
  padding: var(--section-pad) 0;
}

.portfolio-grid .properties-grid {
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================
   ADMIN PAGE
   ============================================ */

.admin-page {
  padding: 100px 0 60px;
  min-height: 100vh;
  background: var(--sand);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-table {
  width: 100%;
  background: var(--white);
  border-collapse: collapse;
  margin-bottom: 32px;
}

.admin-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  padding: 14px 16px;
  border-bottom: 2px solid var(--sand-dark);
}

.admin-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--sand);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: var(--cream);
}

.admin-table img {
  width: 60px;
  height: 40px;
  object-fit: cover;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-btn:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.admin-btn.delete:hover {
  background: #c0392b;
  border-color: #c0392b;
}

/* Admin tabs */
.admin-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--sand-dark);
}

.admin-tab {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  background: transparent;
  color: var(--warm-gray);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.admin-tab:hover {
  color: var(--charcoal);
}

.admin-tab.active {
  color: var(--charcoal);
}

.admin-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

/* Team admin cards */
.team-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.team-admin-card {
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-admin-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
}

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

.team-admin-photo .team-card-avatar {
  width: 80px;
  height: 80px;
  margin: 0;
}

.team-admin-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.team-admin-info p {
  font-size: 0.82rem;
  color: var(--warm-gray);
}

/* Team photo upload in modal */
.team-photo-upload {
  display: flex;
  align-items: center;
  gap: 16px;
}

.team-photo-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand);
  flex-shrink: 0;
}

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

/* Team card with photo on about page */
.team-card-link {
  cursor: pointer;
}

.team-card-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
}

.team-card-listings {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
  padding: 4px 12px;
  background: rgba(196, 163, 90, 0.1);
}

/* Admin modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--warm-gray);
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--sand-dark);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

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

.status-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.status-badge.active {
  background: rgba(196, 163, 90, 0.15);
  color: var(--gold);
}

.status-badge.sold {
  background: rgba(26, 26, 26, 0.1);
  color: var(--charcoal);
}

/* ============================================
   AGENT PROFILE PAGE
   ============================================ */

.agent-hero {
  padding: 160px 0 80px;
  background: var(--charcoal);
  color: var(--white);
}

.agent-hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.agent-photo-wrap {
  flex-shrink: 0;
}

.agent-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(196, 163, 90, 0.3);
}

.agent-photo-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--charcoal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  font-weight: 400;
  border: 3px solid rgba(196, 163, 90, 0.3);
}

.agent-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.agent-title {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}

.agent-license {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.agent-contact-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.agent-bio-section {
  padding: var(--section-pad) 0;
}

.agent-bio-content {
  max-width: 700px;
  margin: 0 auto;
}

.agent-bio-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--charcoal-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--charcoal);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
    animation: mobileMenuIn 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .nav-links.open a {
    color: var(--white) !important;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    text-shadow: none;
  }

  .nav-links.open a:hover {
    color: var(--gold-light) !important;
  }

  .nav-links.open a.active {
    color: var(--gold) !important;
  }

  .nav-links.open .nav-cta {
    border-color: rgba(255,255,255,0.3) !important;
    color: var(--white) !important;
  }

  .nav-links.open .nav-cta:hover {
    background: var(--white) !important;
    color: var(--charcoal) !important;
    border-color: var(--white) !important;
  }

  @keyframes mobileMenuIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .intro-grid,
  .contact-grid,
  .property-detail-grid { grid-template-columns: 1fr; }

  .property-hero-inner {
    grid-template-columns: 1fr;
    height: auto;
  }

  .property-hero-main { height: 300px; }
  .property-hero-side { grid-template-columns: 1fr 1fr; height: 200px; }

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

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

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

  .nav-brand-name,
  .nav-brand-tagline {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
  }

  .nav-brand-divider {
    height: 16px;
  }

  .hero-brand-name {
    font-size: clamp(1.8rem, 9vw, 3rem);
    letter-spacing: 0.1em;
  }

  .agent-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .agent-contact-row {
    justify-content: center;
  }

  .agent-photo,
  .agent-photo-placeholder {
    width: 140px;
    height: 140px;
  }

  .agent-photo-placeholder {
    font-size: 2.8rem;
  }

  .admin-tabs {
    overflow-x: auto;
  }

  .hero-scroll { display: none; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .property-specs-row { flex-wrap: wrap; }
  .intro-stats { grid-template-columns: 1fr; }
}

/* ============================================
   LOGIN PAGE
   ============================================ */

.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  background: var(--sand);
}

.login-card {
  background: var(--white);
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.login-header p {
  font-size: 0.88rem;
  color: var(--warm-gray);
}

.login-error {
  background: #fef2f2;
  color: #c0392b;
  padding: 10px 14px;
  font-size: 0.82rem;
  margin-bottom: 16px;
  border-left: 3px solid #c0392b;
}

/* ============================================
   IMAGE MANAGER
   ============================================ */

.img-manager {
  margin-top: 8px;
}

.img-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  border: 2px dashed var(--sand-dark);
  background: var(--cream);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 0.88rem;
  color: var(--charcoal);
}

.img-upload-zone:hover,
.img-upload-zone.dragover {
  border-color: var(--gold);
  background: rgba(196, 163, 90, 0.06);
}

.img-upload-icon {
  color: var(--gold);
  margin-bottom: 4px;
}

.upload-bar {
  height: 4px;
  background: var(--sand-dark);
  margin: 12px 0 8px;
  overflow: hidden;
}

.upload-bar-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.4s ease;
}

#upload-status {
  font-size: 0.78rem;
  color: var(--warm-gray);
}

.img-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.img-thumb-item {
  position: relative;
  background: var(--sand);
  overflow: hidden;
}

.img-thumb-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}

.img-thumb-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.img-thumb-item:hover .img-thumb-delete {
  opacity: 1;
}

.img-thumb-name {
  padding: 4px 6px;
  font-size: 0.68rem;
  color: var(--warm-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   CAROUSEL STRIP & GALLERY
   ============================================ */

/* Main carousel image crossfade */
.property-hero-main {
  position: relative;
}

.property-hero-main img {
  transition: opacity 0.5s ease;
}

.property-hero-main img.carousel-fade-out {
  opacity: 0;
}

/* Side images in property hero */
.property-hero-side img {
  cursor: pointer;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.property-hero-side img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.carousel-strip {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
}

.carousel-strip-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  flex-shrink: 0;
}

.carousel-strip-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-strip-thumb.active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.gallery-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-img:hover {
  opacity: 0.9;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ============================================
   FILE MANAGER (Admin Modal)
   ============================================ */

.file-manager {
  margin-top: 8px;
}

.file-share-section {
  background: var(--cream);
  padding: 16px;
  margin-bottom: 16px;
}

.file-share-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.file-share-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--charcoal);
  outline: none;
  min-width: 0;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--cream);
  transition: background 0.2s ease;
}

.file-list-item:hover {
  background: var(--sand);
}

.file-list-icon {
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
}

.file-list-info {
  flex: 1;
  min-width: 0;
}

.file-list-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.file-list-name:hover {
  color: var(--gold);
}

.file-cat-select {
  padding: 4px 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
}

.file-cat-select:focus {
  border-color: var(--gold);
}

.file-list-size {
  font-size: 0.72rem;
  color: var(--warm-gray);
  margin-top: 2px;
}

/* ============================================
   PUBLIC SHARE PAGE
   ============================================ */

.share-page {
  min-height: 100vh;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(0,0,0,0.08);
}

@media (min-width: 681px) {
  .share-page {
    margin-top: 24px;
    margin-bottom: 24px;
    min-height: calc(100vh - 48px);
  }
  body:has(.share-page) {
    background: var(--sand-dark);
  }
}

.share-brand {
  padding: 14px 24px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.share-brand .nav-brand-name {
  font-size: 0.95rem;
  color: var(--white);
}

.share-brand .nav-brand-tagline {
  font-size: 0.95rem;
  color: var(--gold-light);
}

.share-brand .nav-brand-divider {
  height: 16px;
  background: var(--gold);
  opacity: 0.4;
}

/* Hero strip: image left, property info right */
.share-hero-strip {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--white);
  border-bottom: 1px solid var(--sand-dark);
}

.share-hero-left {
  overflow: hidden;
}

.share-hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.share-hero-right {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.share-hero-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.share-hero-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  width: fit-content;
  margin-bottom: 2px;
}

.share-hero-badge.active {
  background: rgba(196, 163, 90, 0.15);
  color: var(--gold);
}

.share-hero-badge.sold {
  background: rgba(26, 26, 26, 0.1);
  color: var(--charcoal);
}

.share-hero-info h1 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.25;
}

.share-hero-location {
  font-size: 0.82rem;
  color: var(--warm-gray);
}

.share-hero-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 2px;
}

.share-hero-specs {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.share-hero-specs span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--warm-gray);
  padding: 3px 8px;
  background: var(--sand);
  letter-spacing: 0.02em;
}

/* Agent row inside hero right */
.share-hero-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--sand-dark);
}

.share-agent-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.share-agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
}

.share-agent-info {
  flex: 1;
  min-width: 0;
}

.share-agent-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
}

.share-agent-title {
  font-size: 0.68rem;
  color: var(--warm-gray);
}

.share-agent-call,
.share-agent-email {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.share-agent-call {
  background: var(--charcoal);
  color: var(--white);
}

.share-agent-call:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.share-agent-email {
  background: var(--sand);
  color: var(--charcoal);
}

.share-agent-email:hover {
  background: var(--sand-dark);
}

/* Thumbnail strip */
.share-thumbs {
  display: flex;
  gap: 1px;
  overflow: hidden;
  background: var(--sand-dark);
}

.share-thumb {
  flex: 1;
  min-width: 0;
  height: 64px;
  overflow: hidden;
}

.share-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.share-thumb:hover img {
  opacity: 0.8;
}

/* Files area */
.share-files-container {
  padding: 20px 24px;
  flex: 1;
  background: var(--cream);
}

.share-files-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--charcoal);
}

.share-files-header svg {
  color: var(--gold);
}

.share-files-count {
  margin-left: auto;
  font-weight: 400;
  color: var(--warm-gray);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
}

.share-category {
  margin-bottom: 20px;
}

.share-category-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.share-file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.share-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.share-file-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.share-file-item:active {
  transform: translateY(0);
  box-shadow: none;
  transition-duration: 0.08s;
}

.share-file-icon {
  width: 36px;
  height: 36px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  border-radius: 4px;
}

.share-file-info {
  flex: 1;
  min-width: 0;
}

.share-file-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-file-size {
  font-size: 0.72rem;
  color: var(--warm-gray);
  margin-top: 2px;
}

.share-file-download {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.share-file-item:hover .share-file-download {
  color: var(--gold);
}

/* States */
.share-loading,
.share-not-found {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.share-not-found h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.share-not-found p {
  color: var(--warm-gray);
  font-size: 0.92rem;
}

/* Footer */
.share-footer {
  padding: 24px 24px;
  background: var(--charcoal);
  text-align: center;
}

.share-footer-brand {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}

.share-footer-sub {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.share-footer-link {
  font-size: 0.75rem;
  color: var(--gold-light);
  transition: color 0.3s ease;
}

.share-footer-link:hover {
  color: var(--white);
}

/* Share page responsive */
@media (max-width: 600px) {
  .share-page {
    max-width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .share-brand {
    padding: 12px 16px;
  }

  .share-hero-strip {
    grid-template-columns: 120px 1fr;
  }

  .share-hero-left img {
    min-height: 160px;
  }

  .share-hero-right {
    padding: 14px 16px;
    gap: 10px;
  }

  .share-hero-info h1 {
    font-size: 1.05rem;
  }

  .share-hero-price {
    font-size: 1.1rem;
  }

  .share-hero-specs span {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .share-hero-agent {
    flex-wrap: wrap;
    gap: 6px;
  }

  .share-agent-call,
  .share-agent-email {
    min-height: 44px;
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
  }

  .share-thumbs {
    gap: 1px;
  }

  .share-thumb {
    height: 52px;
  }

  .share-files-container {
    padding: 16px;
  }

  .share-files-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
    font-size: 0.72rem;
  }

  .share-category {
    margin-bottom: 16px;
  }

  .share-file-list {
    gap: 4px;
  }

  .share-file-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .share-file-icon {
    width: 32px;
    height: 32px;
  }

  .share-file-icon svg {
    width: 16px;
    height: 16px;
  }

  .share-file-name {
    font-size: 0.82rem;
  }

  .share-file-download {
    width: 44px;
    height: 44px;
  }

  .share-footer {
    padding: 20px 16px;
  }
}

@media (max-width: 380px) {
  .share-hero-strip {
    grid-template-columns: 100px 1fr;
  }

  .share-hero-info h1 {
    font-size: 0.95rem;
  }

  .share-hero-badge {
    font-size: 0.58rem;
  }

  .share-hero-location {
    font-size: 0.75rem;
  }

  .share-hero-price {
    font-size: 1rem;
  }
}
