/* ===================================================
   INNER PAGE STYLES — Norma Martinez
   =================================================== */

/* Active nav link */
.nav-active { color: var(--gold) !important; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 0 96px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.page-hero--buyers { background: linear-gradient(160deg, #f0ebe0 0%, var(--cream) 100%); }
.page-hero--sellers { background: linear-gradient(160deg, #e8eff5 0%, #f2f7fa 100%); }
.page-hero--about { background: linear-gradient(160deg, var(--navy) 0%, #1a3a55 100%); }
.page-hero--neighborhoods { background: linear-gradient(160deg, #f5f0e8 0%, var(--cream) 100%); }
.page-hero--listings { background: linear-gradient(160deg, #1a2f44 0%, #2d4a6e 100%); }
.page-hero--contact { background: linear-gradient(160deg, #1a2f44 0%, #253d56 100%); }
.page-hero--testimonials { background: linear-gradient(160deg, #2c2c2c 0%, #3d3d3d 100%); }

.page-hero--about .page-hero-title,
.page-hero--listings .page-hero-title,
.page-hero--contact .page-hero-title,
.page-hero--testimonials .page-hero-title { color: var(--white); }
.page-hero--about .page-hero-sub,
.page-hero--listings .page-hero-sub,
.page-hero--contact .page-hero-sub,
.page-hero--testimonials .page-hero-sub { color: rgba(255,255,255,0.75); }
.page-hero--about .section-label,
.page-hero--listings .section-label,
.page-hero--contact .section-label,
.page-hero--testimonials .section-label { color: var(--gold); }

.page-hero-content { max-width: 720px; }
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 12px 0 20px;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 600px;
}
.page-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== FIRST-TIME BUYER CALLOUT ===== */
.ftb-callout { background: var(--navy); }
.ftb-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.ftb-badge {
  display: inline-block;
  background: rgba(201,169,110,0.2);
  border: 1px solid rgba(201,169,110,0.5);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.ftb-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}
.ftb-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ===== BUYER TIMELINE ===== */
.buyer-timeline-section { background: var(--cream); }
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 800px; margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-num {
  width: 52px;
  height: 52px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  padding-top: 12px;
}
.timeline-content p { font-size: 0.95rem; color: var(--slate); line-height: 1.7; margin-bottom: 12px; }
.timeline-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  background: rgba(201,169,110,0.1);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ===== PROGRAMS GRID ===== */
.ftb-programs { background: var(--white); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.program-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.program-icon { font-size: 2rem; margin-bottom: 12px; }
.program-card h3 { font-size: 1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.program-card p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; }

/* ===== BUYER FAQ ===== */
.buyer-faq { background: var(--cream); }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.faq-text { position: sticky; top: 100px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-arrow { color: var(--gold); font-size: 1.1rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 0 20px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.92rem; color: var(--slate); line-height: 1.7; }

/* ===== SELLERS SPECIFIC ===== */
.seller-value-section { background: var(--navy); padding: 80px 0; }
.seller-value-inner { max-width: 860px; margin: 0 auto; }
.seller-value-section .section-label { color: var(--gold); }
.seller-value-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  margin: 12px 0 20px;
}
.seller-value-section p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.75; margin-bottom: 32px; }

.seller-steps { background: var(--white); }
.seller-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.seller-step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--cream);
  transition: all var(--transition);
}
.seller-step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.seller-step-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 16px;
}
.seller-step-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.seller-step-card p { font-size: 0.9rem; color: var(--slate); line-height: 1.65; }

/* ===== ABOUT PAGE ===== */
.about-bio-section { background: var(--white); }
.about-bio-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}
.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}
.about-photo-placeholder {
  height: 520px;
  background: linear-gradient(160deg, #2d4a6e 0%, #1a2f44 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-norma-photo-bg {
  width: 100%;
  height: 520px;
  background:
    url('assets/norma-headshot-flat.png') no-repeat center bottom / contain,
    linear-gradient(170deg, #243d55 0%, #1a2f44 100%);
}
.about-photo-placeholder .photo-initials {
  font-size: 5rem;
  color: rgba(201,169,110,0.5);
}
.about-bio-content { padding-top: 16px; }
.about-bio-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2; margin-bottom: 24px;
}
.about-bio-content p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--charcoal);
  font-weight: 500;
}
.credential-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ===== CONTACT PAGE ===== */
.contact-section { background: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--charcoal);
  font-weight: 600;
  margin: 12px 0 20px;
  line-height: 1.2;
}
.contact-info p { font-size: 1rem; color: var(--slate); line-height: 1.75; margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-method:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-method-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-method-label { font-size: 0.75rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact-method-value { font-size: 1rem; font-weight: 600; color: var(--charcoal); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.contact-form-card .form-note { margin-bottom: 28px; }
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.contact-form select:focus { border-color: var(--gold); }
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color var(--transition);
}
.contact-form textarea:focus { border-color: var(--gold); }

/* ===== NEIGHBORHOODS PAGE ===== */
.neighborhood-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.neighborhood-detail:nth-child(even) { background: var(--cream); }
.neighborhood-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.neighborhood-detail:nth-child(even) .neighborhood-detail-inner { direction: rtl; }
.neighborhood-detail:nth-child(even) .neighborhood-detail-text { direction: ltr; }
.neighborhood-detail:nth-child(even) .neighborhood-detail-visual { direction: ltr; }
.neighborhood-visual-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.neighborhood-detail-text .section-label { margin-bottom: 8px; }
.neighborhood-detail-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.neighborhood-detail-text p { font-size: 0.97rem; color: var(--slate); line-height: 1.75; margin-bottom: 16px; }
.neighborhood-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.neighborhood-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.neighborhood-stat-value {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
}
.neighborhood-stat-label { font-size: 0.72rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* ===== LISTINGS PAGE ===== */
.listings-page-section { background: var(--cream); }
.listings-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.listings-filters select,
.listings-filters input {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.listings-filters select:focus,
.listings-filters input:focus { border-color: var(--gold); }
.listings-filters .filter-search-btn {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.listings-filters .filter-search-btn:hover { background: var(--gold-dark); }
.idx-placeholder {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
}
.idx-placeholder h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--charcoal); margin-bottom: 12px; }
.idx-placeholder p { color: var(--slate); font-size: 0.95rem; max-width: 500px; margin: 0 auto 24px; }

/* ===== TESTIMONIALS PAGE ===== */
.testimonials-page { background: var(--cream); }
.testimonials-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-full-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition);
}
.testimonial-full-card:hover { box-shadow: var(--shadow-md); }
.testimonial-full-card blockquote { font-size: 0.97rem; color: var(--slate); line-height: 1.75; font-style: italic; flex: 1; }
.testimonial-full-card .testimonial-stars { color: var(--gold); }
.testimonial-full-card .testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-full-card .testimonial-avatar {
  width: 48px; height: 48px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--gold-dark);
  flex-shrink: 0;
}
.testimonial-transaction {
  font-size: 0.8rem;
  color: var(--warm-gray);
  background: var(--cream);
  padding: 6px 14px;
  border-radius: 100px;
  display: inline-block;
}

/* ===== RESPONSIVE (INNER) ===== */
@media (max-width: 900px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-text { position: static; }
  .about-bio-inner { grid-template-columns: 1fr; }
  .about-photo-frame { position: static; }
  .contact-inner { grid-template-columns: 1fr; }
  .seller-steps-grid { grid-template-columns: 1fr; }
  .neighborhood-detail-inner { grid-template-columns: 1fr; }
  .neighborhood-detail:nth-child(even) .neighborhood-detail-inner { direction: ltr; }
  .testimonials-full-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .programs-grid { grid-template-columns: 1fr; }
  .page-hero-ctas { flex-direction: column; }
  .contact-form-card { padding: 28px; }
  .neighborhood-stats { grid-template-columns: repeat(3, 1fr); }
  .timeline-item { grid-template-columns: 48px 1fr; gap: 16px; }
}
