:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --surface-deep: #0f0f0f;
  --text: #171717;
  --text-soft: #5b5b5b;
  --line: rgba(23, 23, 23, 0.1);
  --gold: #D4AF37;
  --gold-deep: #b8941f;
  --success: #1f8f4f;
  --warning: #c66b12;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --radius: 24px;
  --container: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: #ffffff;
  animation: pageFade 0.7s ease;
}
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

body.is-loading {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  gap: 1rem;
  background: #101010;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
}

.loader-mark img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  place-items: center;
  z-index: 1;
  
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid rgba(212, 175, 55, 0.22);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
}

.site-loader p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 15, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  color: #fff;
}

.brand strong {
  display: block;
  color: var(--gold);
  font-size: 1.08rem;
}

.brand small {
  /* display: block; */
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
/* Site Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.site-nav > a {
  color: #fff;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}
.site-nav > button {
  font-size: 0.96rem;
}
a.button-gold.nav-cta, 
.button.button-gold, 
.button.button-light  {
  color: #171717!important;
  font-weight: 500;
  border-radius: 0.25rem;
}
a.homelink{
  color: var(--gold);
}
/* .site-nav > a:hover,
.site-nav > a.is-active {
  color: var(--gold);
} */

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.button-gold {
  background: var(--gold);
  color: #111;
}

.button-gold:hover {
  background: var(--gold-deep);
}

.button-light {
  background: #fff;
  color: #111;
}

.button-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(135deg, rgba(16, 16, 16, 0.92), rgba(29, 23, 10, 0.82)),
    radial-gradient(circle at top left, rgba(223, 182, 68, 0.18), transparent 42%);
  transform: scale(1.04);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.66));
}

.hero-content,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: #fff;
  animation: heroRise 0.9s ease both;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 4.8rem);
  max-width: 14ch;
  margin: 0 auto 1.25rem;
  line-height: 1;
}

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

.hero-copy {
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

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

.page-hero {
  padding: 5.5rem 0;
}

.page-hero.dark {
  background: linear-gradient(180deg, #121212 0%, #1d1d1d 100%);
  color: #fff;
}

.page-hero h1,
.section-heading h1,
.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin: 0 0 1rem;
  line-height: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.84);
}

.page-top {
  padding-top: 7rem;
}

.section {
  padding: 5.5rem 0;
}

.section-soft {
  background: #ffffff;
}

.section-heading {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 720px;
}

.section-heading.left {
  text-align: left;
}

.section-heading p,
.contact-stack p,
.feature-card p,
.info-card p,
.project-card p,
.mini-card p,
.mini-card small,
.availability-footer p,
.note-box p,
.helper-link,
.login-copy,
.faq-answer,
.testimonial-card p,
.panel-heading p {
  line-height: 1.7;
  color: var(--text-soft);
}

.helper-link-button {
  border: 0;
  padding: 15px;
  background: transparent;
  font: inherit;
  color: var(--text-soft);
  cursor: pointer;
  text-decoration: underline;
}

.helper-link-button:hover {
  color: var(--accent-dark);
}

.forgot-password-timer {
  margin-top: 0.75rem;
  font-weight: 600;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.info-card,
.project-card,
.filter-panel,
.availability-panel,
.form-card,
.login-card,
.demo-box,
.info-panel,
.stat-card,
.mini-card,
.faq-item,
.testimonial-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.feature-card,
.info-card,
.mini-card,
.testimonial-card {
  padding: 2rem;
}

.icon-badge {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 1.25rem;
  background: white (135deg, white, var(--gold));
  color: goldenrod;
  font-weight: 800;
}
.icon-badge.material-symbols-outlined {
  font-size: 2rem;
  font-weight: 200;
}

.about-pillars-grid {
  margin-top: 1.5rem;
  align-items: stretch;
}

.about-pillar-card {
  padding: 2.4rem 2.2rem 2.1rem;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.about-pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d4af37;
  color: #050505;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.about-pillar-icon svg {
  width: 30px;
  height: 30px;
}

.about-pillar-card h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #050505;
  font-weight: 600;
}

.about-pillar-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #45556f;
}
#about-mission,
#about-vision,
#about-values {
  text-align: justify;
  max-width: 720px;
  margin: 0 auto;
}
.project-grid,
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card,
.property-card {
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 15, 15, 0.08);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.1);
}

.project-card-media,
.property-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-media-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-card-media img,
.property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

#schedule-visit {
  border-radius: 25px;
  border-color: #000;
  background-color: white;
}
.project-card:hover img,
.property-card:hover img {
  transform: scale(1.06);
}

.project-card:hover,
.property-card:hover,
.testimonial-card:hover,
.mini-card:hover,
.stat-card:hover,
.info-panel:hover,
.form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

.cards-section {
  margin-top: 1rem;
}

.property-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.property-card-actions .button {
  width: 100%;
  justify-content: center;
}
.project-card-body,
.property-card-body,
.availability-panel,
.form-card,
.info-panel {
  padding: 1.5rem;
}
.availability-panel {
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.availability-panel .section-heading {
  margin-top: 1rem;
}
.availability-panel .section-heading h2 {
  font-size: 2.3rem;
}
.project-card-body {
  background: #ffffff;
}

.property-card-body {
  padding: 1.45rem 1.45rem 1.55rem;
}

.property-card-body h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #050505;
}

.status-pill,
.price-pill,
.lot-pill,
.status-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill,
.price-pill {
  top: 1rem;
  right: 1rem;
}

.lot-pill {
  top: 1rem;
  left: 1rem;
  background: #fff;
  color: #111;
  padding: 0.62rem 1.05rem;
  font-size: 0.88rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.status-pill {
  background: var(--gold);
  color: #111;
}

.price-pill {
  background: rgba(214, 176, 49, 0.98);
  color: #111;
  padding: 0.78rem 1.28rem;
  border-radius: 16px;
  font-size: 0.9rem;
  box-shadow: 0 16px 30px rgba(171, 131, 13, 0.25);
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 18px 50px rgba(148, 112, 15, 0.08);
}

.field-group,
.site-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.field-group label {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5e563a;
}

.input-shell {
  position: relative;
}

.field-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #9e8a43;
  font-size: 1rem;
  pointer-events: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-weight: 500;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.input-shell input,
.input-shell select {
  min-height: 60px;
  padding-left: 3rem;
  border-radius: 22px;
}

input::placeholder {
  color: #8a8a8a;
  font-weight: 500;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(212, 175, 55, 0.25);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.12);
}

.property-meta,
.availability-footer,
.contact-stack,
.footer-links,
.document-list {
  display: grid;
  gap: 0.85rem;
}

.property-meta {
  margin-top: 1rem;
  gap: 0.9rem;
}

.property-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.property-meta-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #4b5563;
  background: transparent;
  flex-shrink: 0;
}

.property-meta-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.property-meta-copy {
  display: grid;
  gap: 0.18rem;
}

.property-meta-copy strong {
  font-size: 0.94rem;
  font-weight: 500;
  color: #374151;
}

.property-meta-copy span {
  font-size: 0.82rem;
  color: #667085;
}

.button.button-property-map {
  min-height: 46px;
  border-radius: 8px;
  background: #050505;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-color: #050505;
  padding: 0.65rem 1rem;
}

.button.button-property-map:hover {
  background: #151515;
  border-color: #151515;
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--text-soft);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0 2rem;
  color: var(--text-soft);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.status-swatch {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  display: inline-block;
  border: 2px solid transparent;
}

.status-swatch.available {
  background: #e8f7ee;
  border-color: #3ca66a;
}

.status-swatch.reserved {
  background: #fff7d9;
  border-color: #dba928;
}

.status-swatch.sold {
  background: #e0e0e0;
  border-color: #a9a9a9;
}

.lot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.lot-tile {
  padding: 1rem;
  text-align: center;
  border-radius: 18px;
  border: 2px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lot-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.lot-tile small {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
}

.lot-tile.available {
  background: #effaf2;
  border-color: #4aa56b;
  color: #1f8f4f;
}

.lot-tile.reserved {
  background: #fff9df;
  border-color: #d4a83a;
  color: #9c6900;
}

.lot-tile.sold {
  background: #ececec;
  border-color: #aaaaaa;
  color: #666;
}

.availability-footer {
  place-items: center;
  text-align: center;
  margin-top: 2rem;
}

#about-hero-title {
  text-align: center;
   font-size: 2.3rem;
}
#about-hero-copy {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.58);
}

article.info-card h3 {
  font-weight: 500;
  font-size: 2rem;
}
.dark-panel,
.cta-panel {
  padding: 2.4rem;
  border-radius: 10px;
}

.dark-panel {
  background: linear-gradient(135deg, #101010, #1f1f1f);
  color: #fff;
  margin-top: 3rem;
  padding: 2.1rem 2.4rem 1.7rem;
  border-radius: 20px;
}
.section .section-heading h2, 
.dark-panel .section-heading h2 {
  font-size: 2.3rem;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.split-list p {
  color: rgba(255, 255, 255, 0.74);
}

.testimonial-card .stars {
  color: var(--gold);
  letter-spacing: 0.2rem;
  margin-bottom: 1rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid lightgrey;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  border-radius: 25px;
} 

.faq-question:hover {
  background: rgb(255, 255, 255);
  border: 1px solid black;
}

.faq-question strong {
  font-size: 1.25rem;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.faq-answer {
  padding: 0.5rem 1.5rem;
  animation: expandFade 0.3s ease;
}
.faq-answer strong  {
  color: var(--surface-deep);
  font-weight: 500;
}
/* contact us */
.contact-layout,
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

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

.icon-box {
  background-color: #c9a227; /* gold */
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  flex-shrink: 0;
}

.contact-text h3 {
  margin: 0 0 5px;
}

.contact-text p {
  margin: 2px 0;
  color: #555;
}

.contact-stack article,
.note-box {
  padding: 1rem;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 20px;
  background: #fff;
}

/* Responsive map — padding-top trick keeps aspect ratio on any screen */
.map-wrapper {
  position: relative;
  width: 100%;
  margin-top: 1rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  /* 16:9 aspect ratio */
  padding-top: 56.25%;
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.form-card {
  margin-top: 4.3rem;
  max-height: 700px!important;
   overflow-y: auto;
}
#contact-form {
  margin-top: 2rem;
}
.form-card h2 {
  text-align: center;
  font-size: 2rem;
}
#contact-form .button {
  border-radius: 25px;
}
.site-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.form-feedback {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-feedback.info {
  background: rgba(30, 64, 175, 0.1);
  color: #1d4ed8;
}

.form-feedback.success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.form-feedback.error {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

#ocular-form {
  margin-top: 0.5rem;
}
.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-span {
  grid-column: 1 / -1;
}

.login-shell {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  gap: 1.5rem;
  padding: 2rem 1rem 4rem;
  background: #ffffff;
}

.login-card {
  width: min(100%, 520px);
  padding: 2.5rem;
  text-align: center;
}

.login-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
}

.demo-box {
  width: min(100%, 520px);
  padding: 1.25rem 1.5rem;
  background: #eef5ff;
  border-color: #bfd9ff;
}

.helper-link a {
  color: var(--gold-deep);
  font-weight: 800;
}

.dashboard-shell {
  display: grid;
  gap: 2rem;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.dashboard-content-stack {
  display: grid;
  gap: 1.4rem;
}

.hoa-property-rail {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 48%),
    linear-gradient(180deg, #111111 0%, #171717 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hoa-property-rail .eyebrow,
.hoa-property-rail h2,
.hoa-property-rail-copy {
  color: #f8fafc;
}

.hoa-property-rail .eyebrow {
  margin-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.66);
}

.hoa-property-rail h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.1;
}

.hoa-property-rail-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.hoa-property-rail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hoa-property-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  font-size: 0.98rem;
  font-weight: 800;
}

.hoa-property-selector {
  display: grid;
  gap: 0.8rem;
}

.hoa-property-pick {
  display: grid;
  gap: 0.28rem;
  width: 100%;
  padding: 0.9rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  text-align: left;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.hoa-property-pick:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.hoa-property-pick.active {
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.hoa-property-pick strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.hoa-property-pick p,
.hoa-property-pick small {
  margin: 0;
}

.hoa-property-pick p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.hoa-property-pick small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.8rem;
  line-height: 1.35;
}

.hoa-property-pick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  margin-bottom: 0.2rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.hoa-panel {
  background: #f8f9fb;
  border-color: rgba(23, 23, 23, 0.07);
  padding: 0.85rem;
}

.hoa-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.35rem 1rem;
}

.hoa-section-head h2 {
  margin: 0 0 0.35rem;
}

.hoa-section-head p {
  margin: 0;
  color: var(--text-soft);
}

.dashboard-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-card {
  padding: 1.5rem;
}

.stat-card span,
.property-meta-grid span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Container for alignment */
.notif-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 0px;
}

/* This ONLY affects the specific email row in Account Details */
#email-full-row {
  grid-column: 1 / -1; /* Spans the full width of the box */
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05); /* Optional subtle divider */
  padding-bottom: 10px;
}

/* Force long emails to wrap to a new line inside the box */
#hoa-account-email {
  word-break: break-all;
  display: block;
  white-space: normal;
}

/* Ensure the rest of the grid items stay in their lanes */
#account-details-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.notif-bell:hover {
  color: #d4af37; 
  transform: translateY(-1px);
}

/* The Bell Button */
.notif-bell {
  background: transparent;
  border: none;
  color: #ffffff; /* Default White */
  cursor: pointer;
  padding: 8px;
  position: relative;
  transition: color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
}

.notif-bell:hover { opacity: 0.8; }

.bell-icon {
  width: 24px;
  height: 24px;
}

.notif-badge {
  display: none;           /* JS overrides to flex when unread count > 0    */
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e53e3e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  z-index: 10;
}

.notif-badge:empty {
  display: none;
}

/* Dropdown Menu */
.notif-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  right: -10px;
  width: 320px; /* Increased size */
  background: #1a1a1a; /* Darker to match site depth */
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.7);
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

.notif-header {
  padding: 18px; /* Bigger padding */
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid #333;
  color: #fff;
}

.notif-body {
  max-height: 400px;
  overflow-y: auto;
  padding: 0; /* items touch the edges; empty state adds its own padding */
}

.notif-body::-webkit-scrollbar {
  width: 5px;
}

.notif-body::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 10px;
}

.empty-notif {
  padding: 16px;
  font-size: 13px;
  color: #888;
  text-align: center;
  margin: 0;
}

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

/* Individual Notification Item */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  cursor: default;
  transition: background 0.15s;
}

.notif-item:last-child {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}

.notif-item.is-unread {
  background: rgba(196, 160, 0, 0.08); /* subtle gold tint for unread */
}

.notif-item.is-read {
  opacity: 0.65;
}

.notif-item:hover {
  background: #252525;
}

.notif-item-content {
  flex: 1;
  min-width: 0;
}

.notif-item-message {
  margin: 0 0 3px;
  font-size: 13px;
  line-height: 1.45;
  color: #eee;
  word-break: break-word;
}

.notif-item-date {
  font-size: 11px;
  color: #888;
}

.notif-item-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  background: #c4a000; /* gold — matches the A&Z brand */
  transition: background 0.2s;
}

.notif-item.is-read .notif-item-dot {
  background: #555;
}

/* The "Type" Label (e.g., PAYMENT, SECURITY) */
.notif-type-tag {
  font-size: 10px;
  font-weight: 800;
  color: #d4af37; /* Gold */
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

/* The Message Text */
.notif-msg {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.4;
}

/* The Timestamp */
.notif-time {
  color: #777;
  font-size: 11px;
  margin-top: 8px;
  display: block;
}

.hidden { display: none; }

.stat-card strong {
  font-size: 2rem;
}

.positive {
  color: var(--success);
}

.warning {
  color: var(--warning);
}

.property-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

.payment-history-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(23, 23, 23, 0.07);
}

#hoa-payments-body {
  display: grid;
  gap: 0;
  max-height: 270px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.payment-history-head,
.payment-history-row {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 1.4fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.payment-history-head {
  padding: 0.1rem 0.6rem 0.55rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.07);
  color: #111;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.payment-history-row {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.07);
  font-size: 0.93rem;
}

.payment-history-cell {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.payment-history-label {
  display: none;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-history-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.payment-history-date-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  color: #98a2b3;
  flex-shrink: 0;
}

.payment-history-date-icon svg {
  width: 100%;
  height: 100%;
}

.payment-history-empty {
  padding: 1.25rem 0.75rem 0;
  color: var(--text-soft);
}

.hoa-payment-methods-grid {
  margin-top: 0.35rem;
}

.hoa-payment-method-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 24px;
  padding: 1.55rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.hoa-payment-method-card h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hoa-payment-method-card p {
  margin: 0 0 0.95rem;
  color: var(--text-soft);
  max-width: 24ch;
}

.hoa-payment-method-card small {
  display: block;
  color: #6b7280;
  font-size: 0.95rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  text-align: left;
}

.data-table th {
  color: var(--text-soft);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-tag {
  position: static;
  min-width: 84px;
  padding: 0.26rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  text-align: center;
}

.status-tag.completed {
  background: #e9f9ee;
  color: #137a43;
}

.status-tag.pending {
  background: #fff4c7;
  color: #a96b00;
}

.status-tag.failed,
.status-tag.overdue {
  background: #fde3e3;
  color: #b23a3a;
}

.document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 13px;
  margin-top: 0.62rem;
  background: #fefefe;
}

.document-item-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.document-item-icon {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #cfb441;
  color: #111;
  flex-shrink: 0;
}

.document-item-icon svg {
  width: 16px;
  height: 16px;
}

.document-item strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.2;
}

.document-item p {
  margin: 0.08rem 0 0;
  color: #8a8f98;
  font-size: 0.84rem;
}

#hoa-documents-list .button.button-outline {
  min-height: 34px;
  border-radius: 10px;
  border-color: rgba(23, 23, 23, 0.08);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.85rem;
  background: #fff;
}

#hoa-documents-list .button.button-outline:hover {
  background: #f8fafc;
  border-color: rgba(23, 23, 23, 0.14);
}

.documents-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.documents-header h2 {
  margin: 0 0 0.1rem;
}

.documents-header p {
  margin: 0;
  color: #8a8f98;
  font-size: 0.88rem;
}

.documents-header-icon {
  color: #98a2b3;
  width: 22px;
  height: 22px;
  line-height: 1;
}

.documents-header-icon svg {
  width: 100%;
  height: 100%;
}

#hoa-documents-list {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.hoa-document-modal-dialog {
  width: min(100% - 2rem, 660px);
  border-radius: 20px;
  padding: 1.35rem;
}

.hoa-document-modal-dialog h2 {
  margin: 0;
  padding-right: 2.2rem;
  font-size: 1.9rem;
}

#hoa-document-modal-note {
  margin: 0.45rem 0 1rem;
  color: #6b7280;
}

.hoa-document-preview {
  min-height: 320px;
  margin: 0;
  border-radius: 16px;
  background: #f3f4f6;
  color: #4b5563;
  overflow: hidden;
  padding: 0;
}

.hoa-document-frame,
.hoa-document-image,
.hoa-document-text,
.hoa-document-fallback {
  width: 100%;
  height: 100%;
}

.hoa-document-frame {
  min-height: 320px;
  border: 0;
  background: #fff;
}

.hoa-document-image {
  min-height: 320px;
  object-fit: contain;
  background: #fff;
}

.hoa-document-text {
  min-height: 320px;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.88rem;
  color: #334155;
  background: #fff;
}

.hoa-document-fallback {
  min-height: 320px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.45rem;
  padding: 1rem;
  text-align: center;
}

.hoa-document-preview-icon {
  width: 74px;
  height: 74px;
  color: #64748b;
}

.hoa-document-preview-icon svg {
  width: 100%;
  height: 100%;
}

.hoa-document-preview h3 {
  margin: 0.2rem 0 0;
  font-size: 1.9rem;
}

#hoa-document-preview-name {
  margin: 0.12rem 0 0;
  font-size: 1rem;
  color: #374151;
  font-weight: 600;
}

#hoa-document-preview-meta,
#hoa-document-preview-date {
  margin: 0;
  font-size: 0.94rem;
  color: #6b7280;
}

.document-item small {
  color: var(--text-soft);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.modal-dialog {
  position: relative;
  width: min(100% - 2rem, 720px);
  margin: 4vh auto;
  padding: 1.5rem;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.24);
  animation: modalIn 0.35s ease;
  max-height: 88vh;
  overflow-y: auto;
}

.modal-wide {
  width: min(100% - 2rem, 920px);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1f1f1;
  font-size: 1.7rem;
  cursor: pointer;
}

.forgot-password-modal-dialog {
  width: min(100% - 2rem, 520px);
  margin-top: 12vh;
}

.document-preview {
  min-height: 240px;
  margin: 1.5rem 0;
  padding: 2rem;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #f4f4f4, #ececec);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0;
}

.project-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.project-detail-block {
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.08);
}

.project-detail-block h3,
.project-amenities-panel h2,
.feedback-success h3 {
  margin-top: 0;
}

.project-detail-block p,
.project-stats-grid p {
  margin-bottom: 0;
}

#project-description {
  white-space: pre-line;
}

#property-description {
  white-space: pre-line;
}

.project-stats-grid .mini-card {
  padding: 1.15rem;
  border-radius: 20px;
  background: #ffffff;
}

.project-stats-grid .mini-card h3 {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6a6041;
}

.project-stats-grid .mini-card p {
  font-size: 1.1rem;
  font-weight: 800;
  color: #171717;
}

.project-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.project-amenities-panel {
  margin-top: 0;
  padding: 1.4rem;
  border-radius: 24px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.86);
}

.amenity-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.project-cta {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 20px;
  text-align: center;
  background: var(--gold);
  color: #111;
}

.project-cta p {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.project-cta .button {
  min-width: 240px;
}

.project-cta-button {
  background: #111;
  color: #fff;
  border-color: #111;
}

#project-modal-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.35rem;
  padding-right: 2.5rem;
}

#project-modal-location {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.project-link-hint {
  margin-top: 0.85rem;
  color: var(--gold-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.feedback-success {
  padding: 2rem 0 1rem;
  text-align: center;
}

.feedback-success .icon-badge {
  margin: 0 auto 1rem;
}

.warning-box {
  background: #fff8df;
  border-color: #ebd57c;
}

.cta-band {
  background: linear-gradient(135deg, #111, #272727);
}

.cta-panel {
  text-align: center;
  color: #fff;
}

.cta-panel p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 4rem 0 1.25rem;
  background: #0f0f0f;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-brand p,
.footer-links a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* Style for the dynamically generated articles */
.about-highlight-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-highlight-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.about-highlight-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #d4af37;
  color: #050505;
}

.about-highlight-icon svg {
  width: 28px;
  height: 28px;
}

.about-highlight-copy h3 {
  color: #ffffff;
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;
}

.about-highlight-copy p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 0.9rem;
  margin: 0;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.08s;
}

.stagger-2 {
  transition-delay: 0.16s;
}

.stagger-3 {
  transition-delay: 0.24s;
}

.stagger-4 {
  transition-delay: 0.32s;
}

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

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

@keyframes expandFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@media (max-width: 980px) {
  .card-grid-3,
  .project-grid,
  .property-grid,
  .stats-grid,
  .footer-grid,
  .contact-layout,
  .dashboard-grid,
  .split-list,
  .card-grid-2,
  .property-meta-grid,
  .project-gallery,
  .project-stats-grid,
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .hoa-property-rail {
    position: static;
    top: auto;
  }

  .lot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-shell {
    min-height: 76px;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(15, 15, 15, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav > a,
  .site-nav > button,
  .nav-cta {
    width: 100%;
  }

  .login-shell {
    min-height: auto;
    align-content: start;
    padding: 1.5rem 1rem 3rem;
  }

  .login-card,
  .demo-box {
    width: 100%;
    max-width: 100%;
  }

  .login-card {
    padding: 1.75rem 1.25rem;
  }

  .login-logo {
    width: 76px;
    height: 76px;
  }

  .login-card h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.1;
  }

  .login-copy,
  .helper-link,
  .demo-box p {
    font-size: 0.98rem;
  }

  .filter-panel,
  .two-column,
  .dashboard-header,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-content-stack,
  .hoa-property-selector {
    gap: 1rem;
  }

  .hoa-property-rail {
    padding: 1rem 0.95rem;
  }

  .payment-history-head {
    display: none;
  }

  .payment-history-grid {
    gap: 0.85rem;
  }

  #hoa-payments-body {
    gap: 0.85rem;
  }

  .payment-history-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1rem;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  }

  .payment-history-cell {
    align-items: flex-start;
  }

  .payment-history-label {
    display: inline-flex;
  }

  .payment-history-empty {
    padding: 0.25rem 0;
  }

  .dashboard-header {
    display: grid;
  }

  .dashboard-actions,
  .modal-actions {
    flex-direction: column;
  }

  .page-top {
    padding-top: 5.5rem;
  }

  .hero {
    min-height: 560px;
  }

  .section,
  .page-hero {
    padding: 4rem 0;
  }

  .lot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 1.25rem, 1120px);
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand small {
    font-size: 0.64rem;
    line-height: 1.3;
  }

  .login-shell {
    padding: 1.25rem 0.75rem 2.5rem;
  }

  .login-card {
    padding: 1.5rem 1rem;
    border-radius: 20px;
  }

  .demo-box {
    padding: 1rem;
    border-radius: 20px;
  }

  .site-form input,
  .site-form select,
  .site-form textarea {
    min-height: 54px;
    padding-inline: 0.95rem;
  }

  .button {
    width: 100%;
  }
}