@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  color-scheme: dark;
  font-family: 'Inter', sans-serif;
  background: #080707;
  color: #f5f2ef;
  --accent: #c7a27b;
  --muted: #b8b1a7;
  --panel: rgba(16, 14, 12, 0.88);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.65;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c7a27b 0%, #f1e7d8 100%);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-tag {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  min-height: 100vh;
  padding-top: 120px;
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 5, 0.35), rgba(8, 6, 5, 0.88));
  z-index: 0;
}

.hero-copy {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1,
.section-panel h2,
.feature-item h3,
.neighborhood-details strong,
.contact-panel h2 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  color: #fff;
}

.hero h1 {
  font-size: clamp(3.4rem, 4.5vw, 5rem);
  line-height: 0.95;
  margin-bottom: 22px;
}

.hero-text,
.section-panel p,
.feature-item p,
.neighborhood p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #c7a27b, #e8d4b2);
  color: #111;
}

.btn-secondary {
  border: 1px solid rgba(199, 162, 123, 0.3);
  color: #f7f2eb;
  background: transparent;
}

.hero-card {
  position: relative;
  z-index: 1;
  max-width: 440px;
  padding: 36px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(13,10,8,0.94));
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  gap: 18px;
  align-content: end;
}

.hero-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

.hero-card strong {
  font-size: 2rem;
  line-height: 1.05;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 48px 0;
}

.stats-grid article {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 13, 11, 0.7);
}

.stats-grid span {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.stats-grid strong {
  display: block;
  font-size: 1.25rem;
}

.section-panel {
  display: grid;
  gap: 32px;
  padding: 48px 0;
}

.about {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.panel-copy {
  max-width: 720px;
}

.panel-highlights {
  display: grid;
  gap: 22px;
}

.panel-highlights div {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 13, 11, 0.72);
}

.panel-highlights h3 {
  margin-bottom: 12px;
}

.features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-item {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 13, 11, 0.72);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 48px 0;
}

.gallery-card {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 5, 0.05), rgba(8, 6, 5, 0.72));
}

.gallery-caption {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 28px;
  background: rgba(10, 8, 6, 0.65);
  color: #f7f2eb;
  font-size: 1rem;
  line-height: 1.5;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(7, 6, 4, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 1120px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  gap: 18px;
}

.lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 24px;
  background: #111;
}

.lightbox-caption {
  color: #f5f2ef;
  font-size: 1rem;
  line-height: 1.7;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(13, 11, 9, 0.75);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f2ef;
  font-size: 1.8rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.neighborhood {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  padding: 48px 0;
}

.neighborhood-details {
  display: grid;
  gap: 16px;
}

.neighborhood-details div {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 13, 11, 0.72);
}

.neighborhood-details strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 40px;
  border-radius: 32px;
  background: rgba(19, 17, 15, 0.88);
  border: 1px solid rgba(255,255,255,0.08);
  margin: 48px 0;
}

.contact-copy {
  padding-top: 8px;
}

.contact-panel h2 {
  max-width: 520px;
  margin-bottom: 16px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4ccc4;
  letter-spacing: 0.03em;
}

.form-optional {
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f2ef;
  font-family: inherit;
  font-size: 0.97rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(184, 177, 167, 0.45);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(199, 162, 123, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.form-submit {
  border: none;
  cursor: pointer;
  font-size: 1rem;
  justify-self: start;
  min-width: 160px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: 12px;
}

.form-status--ok {
  background: rgba(100, 200, 130, 0.1);
  color: #7fd8a0;
  border: 1px solid rgba(100, 200, 130, 0.2);
}

.form-status--err {
  background: rgba(220, 80, 80, 0.1);
  color: #f08080;
  border: 1px solid rgba(220, 80, 80, 0.2);
}

@media (max-width: 960px) {
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 28px;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.footer {
  text-align: center;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .features,
  .gallery,
  .neighborhood {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 24px 18px 40px;
  }

  .header {
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.6rem;
  }
}
