/* ===========================
   Kingstreet Residences — Pages
   Shared styles for subpages
   =========================== */

/* --- Page Hero Banner --- */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: var(--nav-height);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.4) 0%, rgba(10,22,40,0.7) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}
.page-hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero__desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Breadcrumbs --- */
.breadcrumb {
  padding: 16px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb__list a {
  color: var(--blue);
}
.breadcrumb__list a:hover {
  text-decoration: underline;
}
.breadcrumb__sep {
  color: var(--border);
}

/* --- Page Content --- */
.page-content {
  padding: 80px 0;
}
.page-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}
.page-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.page-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 800px;
}
.page-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}
.page-content ul li {
  list-style: disc;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.two-col--reverse {
  direction: rtl;
}
.two-col--reverse > * {
  direction: ltr;
}

/* --- Content Image --- */
.content-image {
  border-radius: var(--radius);
  overflow: hidden;
}
.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  line-height: 1.4;
  gap: 16px;
}
.faq-question:hover {
  color: var(--blue);
}
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer__inner {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Industry Cards --- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.industry-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}
.industry-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.industry-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.industry-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: none;
  margin-bottom: 0;
}

/* --- Apartment Cards --- */
.apt-grid {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}
.apt-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.apt-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}
.apt-card:nth-child(even) {
  direction: rtl;
}
.apt-card:nth-child(even) > * {
  direction: ltr;
}
.apt-card__image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.apt-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apt-card__info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.apt-card__price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  margin: 12px 0;
}
.apt-card__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}
.apt-card__meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.apt-card__features {
  margin: 16px 0 24px;
}
.apt-card__features li {
  list-style: none !important;
  padding: 6px 0;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.apt-card__features li:last-child {
  border: none;
}

/* --- Pricing Table --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.95rem;
}
.pricing-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.pricing-table tr:hover td {
  background: var(--off-white);
}
.pricing-table .price-highlight {
  font-weight: 700;
  color: var(--blue);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: center;
}
.cta-banner .btn {
  margin: 0 8px;
}

/* --- Stats Row --- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 48px 0;
  text-align: center;
}
.stat-item__num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
}
.stat-item__label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* --- Building Grid --- */
.building-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.building-tag {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: all var(--transition);
}
.building-tag:hover {
  border-color: var(--gold);
  background: var(--white);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .page-hero { height: 35vh; min-height: 260px; }
  .page-hero__title { font-size: 1.8rem; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col--reverse { direction: ltr; }
  .industry-grid { grid-template-columns: 1fr; }
  .apt-card { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .apt-card:nth-child(even) { direction: ltr; }
  .building-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { flex-direction: column; gap: 24px; }
  .cta-banner .btn { display: block; margin: 8px auto; max-width: 280px; }
  .pricing-table { font-size: 0.85rem; }
  .pricing-table th, .pricing-table td { padding: 10px 12px; }
}
