/* NNY Property Group — static preview
   Colors: --navy #3a3f47, --navy-light #4a5260, --teal #4cb8e8, --teal-light #2da8dc
*/

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

:root {
  --navy: #3a3f47;
  --navy-light: #4a5260;
  --teal: #4cb8e8;
  --teal-light: #2da8dc;
  --sky: #7dd3fc;
  --white: #ffffff;
  --off-white: #f5f8fb;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --text: #1f2937;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --nav-h: 64px;
  --max: 1100px;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--teal);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

/* ===== NAV ===== */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0.5rem 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
  max-width: min(260px, 62vw);
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0.4rem 0;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

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

.nav-links a {
  color: rgba(255,255,255,0.88);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: var(--teal-light) !important; }

/* ===== HERO / PAGE HEADER ===== */
.hero,
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 62%, #2d4a7a 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 4.5rem 1.25rem 4rem;
}

.page-header {
  padding: 2.75rem 1.25rem 2.5rem;
}

.hero::before,
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner,
.page-header-inner {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
}

.kicker {
  display: inline-block;
  background: rgba(76,184,232,0.18);
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(76,184,232,0.4);
  margin-bottom: 1.1rem;
}

.hero h1,
.page-header h1 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hero h1 { font-size: clamp(1.85rem, 5vw, 3.1rem); }
.page-header h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }

.hero h1 span { color: var(--sky); }

.hero p,
.page-header p {
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
}

.hero p { font-size: 1.08rem; margin-bottom: 1.75rem; }

.actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.45rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }

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

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-light);
}
.btn-ghost:hover { border-color: var(--teal); }

.btn-block { width: 100%; }

/* ===== STATS ===== */
.stats-bar {
  background: var(--navy-light);
  padding: 1.15rem 1.25rem;
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat { text-align: center; color: var(--white); }

.stat-number {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ===== SECTIONS ===== */
.section { padding: 3.5rem 1.25rem; }
.section-alt { background: var(--off-white); }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-tag {
  display: inline-block;
  color: var(--teal-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-header h2,
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== FEATURES ===== */
.features-grid,
.doors,
.buildings {
  display: grid;
  gap: 1.25rem;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--gray-light);
}

.feature-icon {
  width: 42px;
  height: 42px;
  color: var(--teal);
  margin-bottom: 0.9rem;
}
.feature-icon svg { width: 42px; height: 42px; stroke: var(--teal); }

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.card p, .card li {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ===== TWO DOORS ===== */
.doors {
  grid-template-columns: 1fr 1fr;
}

.door {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
}

.door-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: #e8f6fd;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.door.furnished .door-label {
  color: #0f766e;
  background: #e6f7f4;
}

.door p { flex: 1; }

.door-continue {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
}

/* ===== BUILDINGS ===== */
.buildings {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.building {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.building-top {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 1.35rem 1.4rem 1.2rem;
  color: var(--white);
}

.building-top.furnished-accent {
  background: linear-gradient(135deg, #2a6f8a, var(--navy-light));
}

.building-city {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.building-top h3 {
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--white);
  margin: 0;
}

.building-badge {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.7rem;
  font-weight: 650;
  color: #d7f6ff;
  border: 1px solid rgba(125,211,252,0.35);
  background: rgba(76,184,232,0.18);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.building-body {
  padding: 1.2rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.mix {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mix-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.mix-row:last-child { border-bottom: none; }
.mix-row dt { color: var(--gray); }
.mix-row dd { font-weight: 600; color: var(--navy); text-align: right; }

.building-note {
  font-size: 0.85rem;
  color: var(--gray);
}

.building-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

/* ===== NOTICE ===== */
.notice {
  border-radius: 10px;
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
}
.notice-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #1f2937;
}
.notice-warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #1f2937;
}
.notice a { color: var(--teal-light); font-weight: 600; text-decoration: underline; }

/* ===== ABOUT SPLIT ===== */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 3rem;
}

.split-copy h2 {
  color: var(--navy);
  font-size: 1.7rem;
  margin: 0.4rem 0 1rem;
}

.split-copy p { color: var(--gray); margin-bottom: 0.85rem; }

.stat-panel {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 16px;
  padding: 2.1rem;
  color: var(--white);
}

.stat-panel h3 {
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
  color: var(--sky);
}

.stat-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-panel .stat-number { font-size: 2.2rem; }
.stat-panel .stat-label { color: rgba(255,255,255,0.7); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 3.5rem 1.25rem;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 1.6rem;
}

/* ===== PROSE (privacy) ===== */
.prose-wrap { max-width: 760px; margin: 0 auto; }

.prose {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  line-height: 1.85;
  color: var(--text);
}

.prose h2 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.4rem;
}

.prose p { margin-bottom: 0.4rem; color: var(--text); }

.prose a {
  color: var(--teal-light);
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.eho-bar {
  background: #f0f9ff;
  border-top: 1px solid #bae6fd;
  padding: 0.95rem 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  color: #374151;
}

.eho-bar a { color: var(--teal-light); font-weight: 600; }

.contact-bar {
  background: var(--navy);
  color: var(--white);
  padding: 0.95rem 1.25rem;
  text-align: center;
  font-size: 0.92rem;
}

.contact-bar a { color: #e0f2fe; }
.contact-bar a:hover { text-decoration: underline; }
.sep { margin: 0 0.55rem; opacity: 0.5; }

.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.62);
  padding: 1.75rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer strong { color: var(--white); }
.site-footer p + p { margin-top: 0.35rem; }
.site-footer a {
  color: var(--sky);
  text-decoration: underline;
}

/* ===== 404 ===== */
.notfound {
  text-align: center;
  padding: 4rem 1.25rem 5rem;
}
.notfound .code {
  font-size: 3.2rem;
  font-weight: 750;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.6rem;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 0.35rem 0 1rem;
  }

  .nav-links.is-open { display: flex; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
  }

  .nav-logo img {
    height: 34px;
    max-width: min(210px, 58vw);
  }

  .doors,
  .split { grid-template-columns: 1fr; }

  .stats-inner { gap: 1.35rem; }

  .hero { padding: 3.25rem 1.1rem 2.75rem; }
  .section { padding: 2.75rem 1.1rem; }
}

@media (max-width: 400px) {
  .nav-logo img { max-width: 52vw; height: 30px; }
  .btn { width: 100%; }
  .actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    transform: none !important;
  }
}
