/* ===== NANCE APARTMENTS — Stylesheet ===== */

:root {
  /* Refined to match the real Nance logo */
  --navy: #1e3a5f;
  --navy-deep: #15294a;
  --navy-dark: #0e1c33;
  --gold: #c9a456;
  --gold-light: #ddc183;
  --gold-deep: #a8843d;
  --cream: #f6f1e7;
  --cream-warm: #ebe3d1;
  --char: #1c1c1e;
  --grey: #6e6e73;
  --grey-light: #b8b8be;
  --light-bg: #fafaf7;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(20, 33, 61, 0.08);
  --shadow-md: 0 8px 30px rgba(20, 33, 61, 0.12);
  --shadow-lg: 0 20px 60px rgba(20, 33, 61, 0.18);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--char);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; }

p { color: var(--grey); font-size: 1.05rem; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.section { padding: 100px 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow.gold { color: var(--gold); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 { color: var(--navy); margin-bottom: 18px; }
.section-head p { color: var(--grey); font-size: 1.15rem; }
.section-head.light h2 { color: var(--white); }
.section-head.light p { color: var(--grey-light); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  padding: 14px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: rgba(20,33,61,0.06); }
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { height: 42px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy); font-weight: 900; letter-spacing: 0.08em; }
.logo-text span { font-size: 0.65rem; letter-spacing: 0.25em; color: var(--gold); font-weight: 700; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  color: var(--char); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 10px 22px; border-radius: 30px; font-weight: 600 !important;
  transition: all 0.25s ease;
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; gap: 5px; flex-direction: column; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  padding: 120px 28px 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,23,41,0.45) 0%, rgba(13,23,41,0.6) 50%, rgba(13,23,41,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 920px; }
.hero-tag {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  padding: 8px 20px; border-radius: 30px;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.2em;
  margin-bottom: 28px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; font-weight: 900; }
.hero-sub { color: rgba(255,255,255,0.9); font-size: 1.25rem; max-width: 620px; margin: 0 auto 40px; }
.hero-sub strong { color: var(--gold); font-weight: 600; }

.hero-price {
  display: inline-flex; align-items: flex-end;
  gap: 8px; margin-bottom: 36px;
  padding: 18px 36px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
}
.price-label { font-size: 0.85rem; letter-spacing: 0.15em; color: var(--gold); font-weight: 700; padding-bottom: 14px; text-transform: uppercase; }
.price-value {
  font-family: 'Playfair Display', serif; font-size: 3.5rem; line-height: 1;
  color: var(--white); font-weight: 900;
  font-feature-settings: 'kern' 1, 'lnum' 1;
  letter-spacing: 0.01em;
  padding-left: 0.18em;
}
.price-mo { font-size: 1.1rem; color: rgba(255,255,255,0.7); padding-bottom: 12px; margin-left: 0.15em; }

.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-special {
  font-size: 0.95rem; letter-spacing: 0.05em;
  color: var(--gold-light);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 14px 24px; display: inline-block;
}
.hero-special strong { color: var(--white); font-weight: 700; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.45); border-radius: 14px;
  display: block;
}
.scroll-cue span {
  display: block; width: 3px; height: 8px;
  background: var(--gold); border-radius: 2px;
  margin: 6px auto 0;
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue { 0%,100% { opacity:1; transform:translateY(0); } 50% { opacity:0.3; transform:translateY(12px); } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 14px 30px; border-radius: 30px; cursor: pointer; border: none;
  font-size: 0.98rem; letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 20px rgba(196,154,79,0.4); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(196,154,79,0.5); }
.btn-ghost { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-ghost-dark { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border: none; cursor: pointer; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-full { width: 100%; text-align: center; padding: 16px 30px; display: block; }
button.btn { font-family: inherit; font-size: 0.98rem; }

/* ===== FACTS STRIP ===== */
.facts { background: var(--navy); padding: 36px 0; }
.facts .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.fact strong {
  display: block;
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700;
  color: var(--gold); margin-bottom: 4px;
}
.fact span { display: block; color: var(--grey-light); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== GALLERY ===== */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  grid-auto-rows: 260px;
}
.g-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--navy); color: var(--gold);
  padding: 6px 14px; border-radius: 4px;
  font-size: 0.75rem; letter-spacing: 0.15em; font-weight: 700; text-transform: uppercase;
}
.g-large { grid-row: span 2; }
.g-large img { object-position: center; }

/* ===== FEATURES ===== */
.features { background: var(--light-bg); color: var(--char); }
.features .section-head.light h2 { color: var(--navy); }
.features .section-head.light p { color: var(--grey); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.feature {
  padding: 38px 32px;
  background: var(--white);
  border: 1px solid rgba(20,33,61,0.06);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.feature::before {
  content: ''; position: absolute; top: 0; left: 32px;
  width: 40px; height: 3px; background: var(--gold);
  border-radius: 2px;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-num {
  font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--gold);
  font-weight: 900; line-height: 1; margin-bottom: 18px;
}
.feature h3 { color: var(--navy); margin-bottom: 12px; }
.feature p { color: var(--grey); font-size: 0.98rem; }

/* ===== OFFER ===== */
.offer-section { background: var(--cream-warm); }
.offer-card {
  background: var(--white); border-radius: 24px;
  padding: 60px 60px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}
.offer-left h2 { color: var(--navy); margin-bottom: 18px; }
.offer-left .gold { color: var(--gold); }
.offer-left p { font-size: 1.1rem; margin-bottom: 28px; }
.offer-right { display: flex; justify-content: center; }
.offer-badge {
  width: 260px; height: 260px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--navy); box-shadow: 0 20px 50px rgba(196,154,79,0.45);
  position: relative;
}
.offer-badge::before {
  content: ''; position: absolute; inset: 12px; border-radius: 50%;
  border: 2px dashed rgba(20,33,61,0.4);
}
.offer-badge .b-top { font-weight: 700; letter-spacing: 0.2em; font-size: 0.8rem; }
.offer-badge .b-mid { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 4.4rem; line-height: 1; margin: 6px 0; }
.offer-badge .b-bot { font-weight: 700; letter-spacing: 0.18em; font-size: 0.75rem; }

.lease-card {
  background: var(--navy); color: var(--white);
  padding: 36px 40px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.lease-icon {
  width: 70px; height: 70px; flex-shrink: 0;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
}
.lease-text { flex: 1; min-width: 260px; }
.lease-text h3 { color: var(--white); margin-bottom: 6px; }
.lease-text p { color: var(--grey-light); font-size: 0.98rem; }
.lease-card .btn-outline { color: var(--white); }

/* ===== LOCATION ===== */
.location { background: var(--light-bg); }
.location-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.location-text h2 { color: var(--navy); margin-bottom: 18px; }
.location-text p { font-size: 1.1rem; margin-bottom: 28px; }
.location-list { list-style: none; margin-bottom: 32px; }
.location-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(20,33,61,0.08);
  color: var(--char);
  font-weight: 500;
}
.location-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.location-photo img { width: 100%; height: 540px; object-fit: cover; }

/* ===== CONTACT ===== */
.contact { background: var(--navy); color: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.contact-info h2 { color: var(--white); margin-bottom: 18px; }
.contact-info p { color: var(--grey-light); font-size: 1.1rem; margin-bottom: 36px; }
.contact-methods { display: flex; flex-direction: column; gap: 18px; }
.cm {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--white); text-decoration: none;
  transition: all 0.25s;
}
.cm:hover { background: rgba(255,255,255,0.08); transform: translateX(4px); }
.cm-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.cm span { display: block; font-size: 0.75rem; letter-spacing: 0.15em; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.cm strong { display: block; color: var(--white); font-weight: 500; font-size: 0.95rem; word-break: break-word; }

.contact-form {
  background: var(--white); color: var(--char);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { color: var(--navy); margin-bottom: 22px; }
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form label span {
  display: block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--navy); margin-bottom: 6px; text-transform: uppercase;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e2e2e2;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--char);
  background: #fafaf7;
  transition: all 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196,154,79,0.12);
}
.contact-form textarea { resize: vertical; min-height: 80px; }
.form-note { margin-top: 14px; font-size: 0.9rem; text-align: center; color: var(--grey); min-height: 22px; }
.form-note.success { color: #2d6a4f; font-weight: 600; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: var(--grey-light); padding: 60px 0 26px; }
.footer-managed {
  text-align: center;
  padding: 22px 0;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-managed span {
  display: block;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey-light); font-weight: 600;
  margin-bottom: 4px;
}
.footer-managed strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.04em;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 36px; margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap; gap: 20px;
}
.footer-logo-wrap {
  background: var(--white);
  padding: 14px 26px;
  border-radius: 10px;
}
.footer-logo-img { height: 90px; width: auto; display: block; }
.footer-info p { color: var(--grey-light); font-size: 0.95rem; margin: 2px 0; }
.footer-bottom {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; color: var(--grey-light);
  flex-wrap: wrap; gap: 10px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(13,23,41,0.95);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,0.1);
  color: var(--white); border: none; cursor: pointer;
  width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.6rem;
  transition: background 0.2s;
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--navy); }
.lb-caption {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--white); background: rgba(0,0,0,0.5);
  padding: 8px 22px; border-radius: 30px; font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ===== INTRO / LIFESTYLE GRID ===== */
.intro { background: var(--white); }
.intro-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center;
}
.intro-photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.intro-photo::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(196,154,79,0.12);
  border-radius: var(--radius);
  pointer-events: none;
}
.intro-photo img { width: 100%; height: 560px; object-fit: cover; }
.intro-text h2 { color: var(--navy); margin-bottom: 22px; }
.intro-text p { font-size: 1.08rem; margin-bottom: 28px; }
.intro-list { list-style: none; }
.intro-list li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid rgba(20,33,61,0.08);
  position: relative;
  color: var(--char); font-weight: 500;
}
.intro-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 2px; background: var(--gold);
}

/* ===== LIFESTYLE BAND ===== */
.lifestyle-band {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}
.lifestyle-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.lf-card {
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.35s ease;
}
.lf-card:hover { transform: translateY(-6px); }
.lf-card img { width: 100%; height: 280px; object-fit: cover; }
.lf-card figcaption { padding: 22px 26px 26px; }
.lf-card figcaption strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--gold); margin-bottom: 8px;
}
.lf-card figcaption span { color: var(--grey-light); font-size: 0.95rem; line-height: 1.55; }

/* ===== ABOUT ===== */
.about { background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center;
}
.about-photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-photo img { width: 100%; height: 600px; object-fit: cover; object-position: center 30%; }
.about-photo::before {
  content: ''; position: absolute;
  top: -18px; left: -18px; right: 18px; bottom: 18px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.about-text h2 { color: var(--navy); margin-bottom: 22px; }
.about-text p { font-size: 1.08rem; margin-bottom: 18px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(20,33,61,0.12);
}
.about-stats > div { text-align: center; }
.about-stats strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 700; color: var(--gold);
  margin-bottom: 4px;
}
.about-stats span {
  display: block;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); font-weight: 600;
}

/* ===== RESIDENTS / APPLICANTS ===== */
.residents { background: var(--light-bg); }
.residents-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.residents-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.res-card {
  background: var(--white);
  border: 1px solid rgba(20,33,61,0.08);
  border-radius: var(--radius);
  padding: 44px 38px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.res-icon {
  width: 64px; height: 64px;
  background: var(--cream); color: var(--navy);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.res-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; color: var(--navy); margin-bottom: 14px;
}
.res-card > p {
  color: var(--grey); font-size: 1rem;
  margin-bottom: 28px; flex: 1;
}
.res-note {
  margin-top: 16px !important; margin-bottom: 0 !important;
  font-size: 0.82rem !important; color: var(--grey) !important;
  letter-spacing: 0.02em;
}
.res-link { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); }
.res-link:hover { color: var(--gold); }
.inline-link { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); transition: all 0.2s; }
.inline-link:hover { color: var(--gold); }

.managed-by {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
}
.mb-label {
  display: block;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey); font-weight: 600;
  margin-bottom: 6px;
}
.mb-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--navy); letter-spacing: 0.04em;
  position: relative;
  padding: 0 26px;
}
.mb-name::before, .mb-name::after {
  content: ''; position: absolute; top: 50%; width: 14px; height: 2px;
  background: var(--gold);
}
.mb-name::before { left: 0; }
.mb-name::after { right: 0; }

/* ===== MAINTENANCE FORM (inside modal) ===== */
.maint-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.maint-form label { display: block; }
.maint-form label span {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--navy);
  margin-bottom: 6px; text-transform: uppercase;
}
.maint-form input, .maint-form select, .maint-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-family: inherit; font-size: 0.95rem;
  color: var(--char);
  background: var(--light-bg);
  transition: all 0.2s;
}
.maint-form input:focus, .maint-form select:focus, .maint-form textarea:focus {
  outline: none; border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196,154,79,0.12);
}
.maint-form textarea { resize: vertical; min-height: 80px; }
.maint-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.checkbox-label {
  display: flex !important; align-items: flex-start; gap: 10px;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.checkbox-label > span {
  font-size: 0.88rem !important; letter-spacing: 0 !important;
  text-transform: none !important; color: var(--grey) !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
  line-height: 1.4;
}

/* ===== PAY MODAL ===== */
.pay-modal {
  position: fixed; inset: 0;
  background: rgba(13,23,41,0.7);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  z-index: 1100;
  padding: 20px;
}
.pay-modal.active { display: flex; }
.pay-modal-inner {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 36px 30px;
  max-width: 500px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: payIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes payIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.pay-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none; background: var(--cream);
  color: var(--navy);
  font-size: 1.4rem; cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.pay-close:hover { background: var(--gold); color: var(--white); }
.pay-modal-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; color: var(--navy); margin-bottom: 8px;
  padding-right: 40px;
}
.pay-sub { color: var(--grey); font-size: 0.95rem; margin-bottom: 24px; }
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pay-method {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: var(--light-bg);
  border: 1px solid rgba(20,33,61,0.06);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.pay-method:hover { border-color: var(--gold); background: var(--white); transform: translateX(2px); }
.pm-left { display: flex; align-items: center; gap: 14px; }
.pm-logo {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: var(--white);
  flex-shrink: 0;
}
.pm-cashapp { background: #00d632; }
.pm-paypal { background: #003087; font-family: serif; font-style: italic; }
.pm-zelle { background: #6d1ed4; }
.pm-venmo { background: #3d95ce; }
.pm-applepay {
  background: #000;
  position: relative;
}
.pm-applepay::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.05 12.04c-.03-2.86 2.34-4.24 2.45-4.31-1.34-1.95-3.42-2.22-4.16-2.25-1.77-.18-3.45 1.04-4.35 1.04-.91 0-2.29-1.02-3.77-.99-1.94.03-3.73 1.13-4.72 2.86-2.02 3.5-.51 8.66 1.44 11.5.95 1.39 2.09 2.95 3.57 2.9 1.44-.06 1.98-.93 3.72-.93 1.73 0 2.22.93 3.74.9 1.55-.03 2.52-1.42 3.46-2.81 1.09-1.61 1.54-3.17 1.56-3.25-.03-.01-2.99-1.15-3.02-4.56zM14.71 4.04c.78-.94 1.31-2.25 1.17-3.55-1.13.05-2.5.75-3.31 1.69-.73.83-1.36 2.16-1.19 3.44 1.26.1 2.55-.64 3.33-1.58z'/%3E%3C/svg%3E");
  background-size: 20px; background-repeat: no-repeat; background-position: center;
}
.pm-left strong {
  display: block; color: var(--navy); font-weight: 700;
  font-size: 0.98rem; margin-bottom: 2px;
}
.pm-left span { color: var(--grey); font-size: 0.85rem; font-family: 'Courier New', monospace; }
.pm-action {
  color: var(--navy); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.02em; text-decoration: none;
}
.pm-action:hover { color: var(--gold); }
.pay-warning {
  font-size: 0.82rem; color: var(--grey);
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  margin: 0;
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-target.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--white); padding: 20px 28px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid #eee; }
  .nav-links.open .nav-cta { padding: 14px 22px; margin-top: 10px; }
  .hamburger { display: flex; }
  .logo-mark { height: 36px; }

  .facts .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .intro-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-photo img, .about-photo img { height: 420px; }

  .lifestyle-grid { grid-template-columns: 1fr; gap: 20px; }
  .lf-card img { height: 240px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .g-large { grid-row: span 1; }

  .feature-grid { grid-template-columns: 1fr; gap: 20px; }

  .residents-grid, .residents-grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .res-card { padding: 36px 28px; }
  .managed-by { margin-top: 36px; }
  .mb-name { font-size: 1.35rem; }

  .pay-modal-inner { padding: 28px 24px; }
  .pm-logo { width: 34px; height: 34px; }

  .about-stats { grid-template-columns: 1fr; gap: 18px; }
  .about-stats > div { text-align: left; padding: 12px 0; border-bottom: 1px solid rgba(20,33,61,0.08); }
  .about-stats > div:last-child { border-bottom: none; }

  .offer-card {
    grid-template-columns: 1fr; padding: 40px 30px; gap: 30px; text-align: center;
  }
  .offer-badge { width: 220px; height: 220px; }
  .offer-badge .b-mid { font-size: 3.6rem; }

  .lease-card { padding: 28px 24px; flex-direction: column; align-items: flex-start; text-align: left; }

  .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-photo img { height: 380px; }

  .hero { padding: 100px 20px 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .price-value { font-size: 2.8rem; }

  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .container { padding: 0 20px; }
  .contact-form { padding: 28px 22px; }
}
