/* ============================================
   LuxurySeaportDistrict.com — V2
   Modern Luxury · Full-Page · Cinematic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@200;300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

:root {
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --graphite: #2a2a2a;
  --slate: #3a3a3a;
  --dim: #6b6b6b;
  --muted: #999999;
  --silver: #c0c0c0;
  --pearl: #e8e6e3;
  --cream: #f5f3f0;
  --ivory: #faf9f7;
  --white: #ffffff;

  --ocean: #1b3a4b;
  --ocean-deep: #0f2635;
  --ocean-light: #2c5f7c;
  --sky: #87b1c7;
  --mist: #c8dbe6;

  --gold: #b8945f;
  --gold-light: #d4b07a;
  --gold-bright: #e6c88a;
  --gold-dim: #8a6d43;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-dramatic: cubic-bezier(0.77, 0, 0.175, 1);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 500; }

/* --- Layout --- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 4rem; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 4rem; }
.container-wide { max-width: 1600px; margin: 0 auto; padding: 0 4rem; }

/* --- Full Page Sections --- */
.section-full { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.section { padding: 8rem 0; position: relative; }
.section-lg { padding: 10rem 0; position: relative; }
.section-sm { padding: 5rem 0; position: relative; }

/* --- Eyebrow --- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.eyebrow-light { color: var(--gold-light); }
.eyebrow-light::before { background: var(--gold-light); }
.eyebrow-no-line::before { display: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--charcoal); color: var(--white); border: 1px solid var(--charcoal); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-outline { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-dim); border-color: var(--gold-dim); }
.btn-white { background: var(--white); color: var(--charcoal); border: 1px solid var(--white); }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-lg { padding: 1.2rem 3.5rem; font-size: 0.72rem; }
.btn-sm { padding: 0.75rem 1.8rem; font-size: 0.62rem; letter-spacing: 2.5px; }
.btn svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); transition: gap 0.3s var(--ease);
}
.arrow-link:hover { gap: 1.25rem; }
.arrow-link svg { width: 18px; height: 18px; }

/* --- Header --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2.5rem; height: 90px;
  display: flex; align-items: center;
  transition: all 0.5s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  height: 80px; box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}
.header-inner {
  width: 100%; max-width: 1600px; margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
}

/* Full original logo — 2048x1054 natural size */
.logo-img-wrap {
  display: flex; align-items: center; text-decoration: none;
  flex-shrink: 0;
  flex-grow: 0;
}
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  /* On transparent/dark header: logo is light grey, brighten to white */
  filter: brightness(4) drop-shadow(0 1px 8px rgba(0,0,0,0.45));
  transition: height 0.5s var(--ease), filter 0.4s var(--ease), opacity 0.3s var(--ease);
}
.site-header.scrolled .logo-img {
  height: 56px;
  /* On white header: polish nickel grey tone */
  filter: brightness(0.68) contrast(1.15) saturate(0);
}
.logo-img-wrap:hover .logo-img { opacity: 0.78; }
/* Header headline wrap — column: H1 on top, tagline below */
.header-headline-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.18rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.header-h1 {
  font-family: var(--font-display);
  font-size: clamp(0.62rem, 0.88vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.site-header.scrolled .header-h1 {
  color: #1a1a1a;
  text-shadow: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}
.header-divider {
  color: rgba(255,255,255,0.25);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: color 0.4s var(--ease);
}
.site-header.scrolled .header-divider {
  color: rgba(0,0,0,0.2);
}
.header-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.44rem, 0.58vw, 0.58rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  /* Flat solid polish nickel — no gradient */
  color: #C4C4C4;
  margin: 0;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.site-header.scrolled .header-tagline {
  color: #C4C4C4;
}
/* Legacy text logo styles kept for footer */
.logo { display: flex; flex-direction: column; transition: color 0.4s var(--ease); }
.logo-text {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  letter-spacing: 0.5px; line-height: 1.3; color: var(--white); transition: color 0.4s var(--ease);
}
.logo-tagline {
  font-family: var(--font-body); font-size: 0.5rem; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase; color: var(--silver); transition: color 0.4s var(--ease);
}
.scrolled .logo-text { color: var(--charcoal); }
.scrolled .logo-tagline { color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }
.main-nav a {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.75); transition: color 0.3s var(--ease); position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.scrolled .main-nav a { color: var(--dim); }
.scrolled .main-nav a:hover, .scrolled .main-nav a.active { color: var(--charcoal); }

.nav-cta-link {
  margin-left: 1rem; padding: 0.65rem 1.6rem !important;
  border: 1px solid rgba(255,255,255,0.3) !important; color: var(--white) !important;
  font-size: 0.62rem !important; letter-spacing: 2.5px !important; transition: all 0.3s var(--ease) !important;
}
.nav-cta-link:hover { background: var(--white) !important; color: var(--charcoal) !important; border-color: var(--white) !important; }
.scrolled .nav-cta-link { border-color: var(--charcoal) !important; color: var(--charcoal) !important; }
.scrolled .nav-cta-link:hover { background: var(--charcoal) !important; color: var(--white) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 0.5rem; z-index: 1001; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--white); transition: all 0.3s var(--ease); }
.scrolled .nav-toggle span { background: var(--charcoal); }

/* --- Hero (Video) --- */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  background: var(--black); overflow: hidden;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.10) 35%, rgba(0,0,0,0.15) 65%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 10; text-align: center;
  color: var(--white); max-width: 850px; padding: 0 2rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; font-weight: 400; letter-spacing: 0.02em; }
.hero-headline-accent {
  display: block; font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8.5rem); font-weight: 400; font-style: italic;
  letter-spacing: 0.04em; color: var(--white); line-height: 1; margin-bottom: 0.5rem;
}
.hero-headline-sub {
  display: block; font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem); font-weight: 500;
  letter-spacing: 6px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 0.25rem;
}
.hero-desc {
  font-family: var(--font-accent); font-size: 1.25rem; font-weight: 300;
  color: rgba(255,255,255,0.7); line-height: 1.8; max-width: 540px; margin-bottom: 3rem;
}
.hero-buttons { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hero-scroll-indicator {
  position: absolute; bottom: 3rem; right: 4rem; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.4); font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* --- Unmute Button --- */
.hero-sound-toggle {
  position: absolute;
  bottom: 3rem;
  left: 4rem;
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.hero-sound-toggle:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.05);
}
.hero-sound-toggle svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.7);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s var(--ease);
}
.hero-sound-toggle:hover svg {
  stroke: var(--white);
}
.hero-sound-toggle .icon-unmuted { display: none; }
.hero-sound-toggle.is-unmuted .icon-muted { display: none; }
.hero-sound-toggle.is-unmuted .icon-unmuted { display: block; }

.hero-sound-label {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.hero-sound-toggle:hover .hero-sound-label {
  opacity: 1;
}

/* --- Property Cards --- */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.property-card {
  position: relative; overflow: hidden; background: var(--white);
  transition: transform 0.5s var(--ease-out);
}
.property-card:hover { transform: translateY(-6px); }
.property-card-image {
  position: relative; height: 320px; overflow: hidden;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-light));
}
.property-card-image::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,0.4)); z-index: 1;
}
.property-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.property-card:hover .property-card-image img { transform: scale(1.05); }
.property-card-badge {
  position: absolute; top: 1.25rem; left: 1.25rem; padding: 0.4rem 1rem;
  background: var(--gold); color: var(--white); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; z-index: 2;
}
.property-card-price {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--white); z-index: 2;
}
.property-card-body { padding: 1.5rem; }
.property-card-address { font-size: 0.95rem; font-weight: 500; color: var(--charcoal); margin-bottom: 0.25rem; }
.property-card-building { font-size: 0.78rem; color: var(--muted); margin-bottom: 1rem; }
.property-card-meta { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--pearl); }
.property-meta-item { font-size: 0.75rem; color: var(--dim); display: flex; align-items: center; gap: 0.35rem; }
.property-meta-item svg { width: 14px; height: 14px; stroke: var(--gold); stroke-width: 1.5; fill: none; }

/* --- Building Showcase --- */
.building-showcase { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.building-showcase-image { position: relative; overflow: hidden; background: var(--ocean-deep); }
.building-showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.building-showcase:hover .building-showcase-image img { transform: scale(1.03); }
.building-showcase-content { display: flex; align-items: center; padding: 6rem; }
.building-showcase-inner { max-width: 480px; }
.building-showcase-inner h2 { margin-bottom: 0.5rem; }
.building-showcase-address { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.5rem; }
.building-type-badge { display: inline-block; font-size: 0.58rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; padding: 0.35rem 0.9rem; border: 1px solid var(--gold); }
.dark .building-type-badge { color: var(--gold-light); border-color: var(--gold-light); }
.building-showcase-desc { font-family: var(--font-accent); font-size: 1.2rem; line-height: 1.8; color: var(--dim); margin-bottom: 2rem; }
.building-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; padding: 2rem 0; border-top: 1px solid var(--pearl); border-bottom: 1px solid var(--pearl); }
.building-stat-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; color: var(--charcoal); }
.building-stat-label { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }
.building-showcase.reversed { direction: rtl; }
.building-showcase.reversed > * { direction: ltr; }
.building-showcase.dark { background: var(--charcoal); }
.building-showcase.dark .building-showcase-content { background: var(--charcoal); }
.building-showcase.dark h2, .building-showcase.dark .building-stat-value { color: var(--white); }
.building-showcase.dark .building-showcase-address, .building-showcase.dark .building-showcase-desc { color: var(--silver); }
.building-showcase.dark .building-stat-label { color: var(--muted); }
.building-showcase.dark .building-stats { border-color: var(--slate); }

.amenity-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.amenity-tag { padding: 0.45rem 1rem; font-size: 0.65rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--pearl); color: var(--dim); }
.dark .amenity-tag { border-color: var(--slate); color: var(--silver); }

/* --- Neighborhood Visual Grid --- */
.visual-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, 380px); gap: 1rem; }
.visual-grid-item { position: relative; overflow: hidden; cursor: pointer; }
.visual-grid-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1; }
.visual-grid-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
.visual-grid-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
.visual-grid-item:nth-child(4) { grid-column: 1 / 5; grid-row: 2; }
.visual-grid-item:nth-child(5) { grid-column: 5 / 9; grid-row: 2; }
.visual-grid-item:nth-child(6) { grid-column: 9 / 13; grid-row: 2; }
.visual-grid-bg { position: absolute; inset: 0; background: var(--ocean); transition: transform 0.7s var(--ease-out); }
.visual-grid-item:hover .visual-grid-bg { transform: scale(1.05); }
.visual-grid-bg img { width: 100%; height: 100%; object-fit: cover; }
.visual-grid-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 50%); transition: background 0.4s var(--ease); }
.visual-grid-item:hover .visual-grid-overlay { background: linear-gradient(0deg, rgba(27,58,75,0.8) 0%, rgba(27,58,75,0.2) 50%); }
.visual-grid-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; color: var(--white); z-index: 2; }
.visual-grid-content h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 0.25rem; }
.visual-grid-content p { font-size: 0.82rem; opacity: 0.7; }

/* --- CTA Section --- */
.cta-full { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; background: var(--charcoal); }
.cta-full-bg { position: absolute; inset: 0; opacity: 0.15; background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 50%, var(--ocean-light) 100%); }
.cta-full-content { position: relative; z-index: 2; max-width: 650px; color: var(--white); }
.cta-full-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.cta-full-content p { font-family: var(--font-accent); font-size: 1.2rem; color: var(--silver); line-height: 1.8; margin-bottom: 3rem; }

/* --- IDX Search --- */
.idx-search-section { background: var(--ivory); padding: 5rem 0; }
.idx-search-wrapper { background: var(--white); padding: 3rem; box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.idx-search-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; align-items: end; }
.idx-search-group label { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.idx-search-group select, .idx-search-group input { width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--pearl); font-family: var(--font-body); font-size: 0.88rem; color: var(--charcoal); background: var(--ivory); appearance: none; transition: border-color 0.3s var(--ease); }
.idx-search-group select:focus, .idx-search-group input:focus { outline: none; border-color: var(--gold); }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.contact-info-panel { background: var(--charcoal); color: var(--white); display: flex; align-items: center; padding: 6rem; }
.contact-info-inner { max-width: 420px; }
.contact-info-inner h2 { color: var(--white); margin-bottom: 0.75rem; }
.contact-info-desc { font-family: var(--font-accent); font-size: 1.15rem; color: var(--silver); line-height: 1.8; margin-bottom: 3rem; }
.contact-detail { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 2rem; }
.contact-detail-icon { width: 44px; height: 44px; border: 1px solid var(--slate); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--gold-light); stroke-width: 1.5; fill: none; }
.contact-detail-text p { font-size: 0.92rem; line-height: 1.6; color: var(--silver); }
.contact-detail-text a { color: var(--white); transition: color 0.3s; }
.contact-detail-text a:hover { color: var(--gold-light); }
.contact-form-panel { display: flex; align-items: center; padding: 6rem; background: var(--white); }
.contact-form-inner { max-width: 500px; width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.65rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.9rem 0; border: none; border-bottom: 1px solid var(--pearl); font-family: var(--font-body); font-size: 0.95rem; color: var(--charcoal); background: transparent; transition: border-color 0.3s var(--ease); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 100px; resize: vertical; border: 1px solid var(--pearl); padding: 1rem; margin-top: 0.25rem; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--silver); }

/* --- Page Header --- */
.page-hero { position: relative; min-height: 55vh; display: flex; align-items: flex-end; padding-bottom: 5rem; overflow: hidden; background: var(--ocean-deep); }
.page-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 50%, var(--ocean-light) 100%); }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%); z-index: 1; }
.page-hero-content { position: relative; z-index: 2; color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { font-family: var(--font-accent); font-size: 1.25rem; color: rgba(255,255,255,0.7); max-width: 500px; line-height: 1.7; }

/* --- Stats Bar --- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.1); margin-top: 4rem; }
.stat-item { padding: 2.5rem 0; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--white); }
.stat-label { font-size: 0.6rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 0.5rem; }
.stats-bar-dark { background: var(--charcoal); }
.stats-bar-dark .stat-item { border-color: var(--slate); }

/* --- Blog Cards --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { display: block; background: var(--white); transition: transform 0.5s var(--ease-out); color: inherit; overflow: hidden; }
.blog-card:hover { transform: translateY(-6px); }
.blog-card-image { height: 240px; overflow: hidden; position: relative; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 2rem; }
.blog-card-category { font-size: 0.6rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.blog-card-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.35; color: var(--charcoal); margin-bottom: 0.75rem; transition: color 0.3s var(--ease); }
.blog-card:hover .blog-card-title { color: var(--ocean-light); }
.blog-card-excerpt { font-size: 0.88rem; color: var(--dim); line-height: 1.7; margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--pearl); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.5px; }

/* --- IDX Notice --- */
.idx-notice { background: var(--ivory); border-left: 3px solid var(--gold); padding: 1.5rem 2rem; margin: 2rem 0; font-size: 0.88rem; color: var(--dim); line-height: 1.7; }

/* --- Dividers --- */
.h-divider { width: 60px; height: 1px; background: var(--gold); margin: 2rem 0; }
.h-divider-center { margin: 2rem auto; }
.h-divider-light { background: var(--gold-light); }

/* --- Map --- */
.map-full { width: 100%; height: 500px; background: var(--pearl); display: flex; align-items: center; justify-content: center; color: var(--muted); }

/* --- Scroll Reveal --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Footer --- */
.site-footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 6rem 0 3rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; opacity: 0.5; margin-top: 1rem; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.62rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.5rem; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { padding-top: 3rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.75rem; opacity: 0.35; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* --- Responsive --- */
@media (max-width: 1200px) {
  .container, .container-narrow, .container-wide { padding: 0 3rem; }
  .site-header { padding: 0 3rem; }
  .header-row-bottom { display: none; }
  .building-showcase { grid-template-columns: 1fr; }
  .building-showcase-image { min-height: 50vh; }
  .building-showcase-content { padding: 4rem; }
  .building-showcase.reversed { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-panel, .contact-form-panel { padding: 4rem; }
  .idx-search-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .container, .container-narrow, .container-wide { padding: 0 1.5rem; }
  .site-header { padding: 0 1.5rem; height: 90px; }
  .site-header.scrolled { height: 80px; }
  .logo-img { height: 44px; }
  .site-header.scrolled .logo-img { height: 38px; }
  .header-row-bottom { display: none; }
  .header-row-top { padding: 0.75rem 0; }
  .section { padding: 5rem 0; }
  .section-lg { padding: 6rem 0; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; flex-direction: column; justify-content: center; align-items: center; background: rgba(10,10,10,0.97); gap: 2rem; padding: 2rem; z-index: 999; }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 0.85rem; color: var(--white) !important; }
  .nav-toggle { display: flex; }
  .hero { padding-bottom: 5rem; }
  h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-headline-accent { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-desc { font-size: 1.1rem; }
  .property-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .building-showcase-content { padding: 3rem 1.5rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; }
  .visual-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 280px); }
  .visual-grid-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .visual-grid-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .visual-grid-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .visual-grid-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
  .visual-grid-item:nth-child(5) { display: none; }
  .visual-grid-item:nth-child(6) { display: none; }
  .contact-info-panel, .contact-form-panel { padding: 3rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .idx-search-grid { grid-template-columns: 1fr; }
  .hero-scroll-indicator { display: none; }
  .hero-sound-toggle { bottom: 2rem; left: 1.5rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}
