/* ==========================================================================
   ADDITIONAL COMPONENT STYLES (matching template class names)
   ========================================================================== */

/* --- Buttons --- */
.btn--gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  color: #0a0a0a;
  background-color: #c9a84c;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  filter: brightness(1.1);
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  color: #fff;
  background-color: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn--outline:hover {
  border-color: #c9a84c;
  color: #c9a84c;
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 120px 0 80px;
  overflow: hidden;
  flex-direction: column !important;
}
.hero--short {
  min-height: 40vh;
  padding: 120px 0 60px;
}
.hero .hero__content {
  position: relative;
  z-index: 2;
  text-align: center !important;
  width: 100%;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.hero__title {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #fff;
  text-align: center;
}
.hero__subtitle {
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  line-height: 1.6;
  margin: 0 auto 2rem;
  text-align: center;
}
.hero__subtitle-legal {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2.5rem auto;
  justify-content: center;
}
.hero__ctas,
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

/* --- Cards --- */
.card--tilted {
  transform: rotate(-2deg);
}
.card--tilted:nth-child(even) {
  transform: rotate(2deg);
}
.card--tilted:hover {
  transform: rotate(0deg) translateY(-4px);
}
.card__zone {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c9a84c;
  margin-bottom: 0.5rem;
}
.card__stats {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* --- Stat Boxes --- */
.stat-box {
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
}
.stat-number {
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #c9a84c;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}
.section--light .stat-label {
  color: rgba(26,26,26,0.6);
}

/* --- Process Timeline --- */
.process-timeline {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}
.process-step {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
  scroll-snap-align: start;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
}
.section--light .process-step {
  background: rgba(255,255,255,0.7);
  border-color: rgba(13, 43, 30, 0.2);
}
.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #c9a84c;
  color: #0a0a0a;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.process-step__title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.process-step__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.section--light .process-step__desc {
  color: rgba(26,26,26,0.6);
}

@media (max-width: 768px) {
  .process-timeline {
    flex-direction: column;
    align-items: stretch;
  }
  .process-step {
    width: 100%;
  }
  .hero__stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* --- Data Tables --- */
.sortable-table th {
  cursor: pointer;
  user-select: none;
  position: relative;
}
.sortable-table th::after {
  content: ' \2195';
  font-size: 0.7em;
  opacity: 0.4;
}
.sortable-table th.sort-asc::after {
  content: ' \2191';
  opacity: 1;
}
.sortable-table th.sort-desc::after {
  content: ' \2193';
  opacity: 1;
}

/* --- Disclaimer Text --- */
.disclaimer-text {
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  margin-top: 1rem;
}
.section--light .disclaimer-text {
  color: rgba(26,26,26,0.4);
}

/* --- FAQ Sections --- */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
}
.section--light .faq-item {
  border-bottom-color: rgba(0,0,0,0.1);
}
.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: inherit;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item--open .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  line-height: 1.7;
}
.faq-item--open .faq-answer {
  max-height: 500px;
  padding-bottom: 0.5rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #c9a84c;
}
.breadcrumb span {
  margin: 0 0.4rem;
}

/* --- Warning Box --- */
.warning-box {
  background: rgba(255, 100, 50, 0.1);
  border: 1px solid rgba(255, 100, 50, 0.4);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.warning-box strong {
  color: #ff6432;
}

/* --- Disclaimer Highlight Box --- */
.disclaimer-highlight {
  background: rgba(201, 168, 76, 0.08);
  border-left: 4px solid #c9a84c;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Legal Content --- */
.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.4rem;
  color: #0d2b1e;
}
.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1.15rem;
  color: #1a4a2e;
}
.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
}
.legal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #1a1a1a;
}

/* --- Scorecard Bars --- */
.scorecard-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.scorecard-bar__label {
  width: 120px;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.scorecard-bar__track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.scorecard-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a84c, #e8c860);
  border-radius: 4px;
  transition: width 1s ease;
}
.scorecard-bar__value {
  width: 36px;
  text-align: right;
  font-weight: 600;
  font-size: 0.9rem;
  color: #c9a84c;
}

/* --- Container Narrow --- */
.container--narrow {
  max-width: 800px;
}

/* --- Updated At Badge --- */
.updated-badge {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}
.section--light .updated-badge {
  color: rgba(26,26,26,0.4);
}

/* --- TOC Sidebar --- */
.toc-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(123, 47, 255, 0.2);
}
.toc-sidebar a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
}
.toc-sidebar a:hover,
.toc-sidebar a.toc-link--active {
  color: #c9a84c;
  border-left-color: #c9a84c;
}

@media (max-width: 768px) {
  .toc-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 2rem;
  }
}

/* --- Neighborhood Card Grid --- */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.neighborhood-card {
  padding: 1.5rem;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.neighborhood-card:hover {
  transform: translateY(-4px);
}
.neighborhood-card__name {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.neighborhood-card__price {
  font-weight: 600;
  color: #c9a84c;
  font-size: 1rem;
}
.neighborhood-card__score {
  font-size: 0.85rem;
  opacity: 0.7;
}
.neighborhood-card__note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.neighborhood-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #c9a84c;
  text-decoration: none;
}
.neighborhood-card__link:hover {
  text-decoration: underline;
}

/* --- Wave Divider --- */
.wave-divider {
  height: 60px;
  position: relative;
  overflow: hidden;
}
.wave-divider--dark-to-light {
  background: #0a0a0a;
}
.wave-divider--dark-to-light::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fafaf8;
  clip-path: ellipse(55% 60% at 50% 100%);
}
.wave-divider--light-to-dark {
  background: #fafaf8;
}
.wave-divider--light-to-dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  clip-path: ellipse(55% 60% at 50% 100%);
}

/* --- Footer --- */
.footer {
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
}
@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer__logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #c9a84c;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
}
.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.footer__updated {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer__heading {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c9a84c;
  margin-bottom: 0.75rem;
}
.footer__link {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color 0.2s;
}
.footer__link:hover {
  color: #c9a84c;
}
.footer__col {
  min-width: 0;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
}
.footer__disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}
.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}
.footer__legal {
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer__legal a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__legal a:hover {
  color: #c9a84c;
}
.footer__credit {
  font-size: 0.75rem;
  color: rgba(201, 168, 76, 0.5);
}
.footer__credit a {
  color: rgba(201, 168, 76, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__credit a:hover {
  color: #c9a84c;
}
