/*
 * Social Swap — Page-Specific Styles
 * swap.phoenixareahome.com/social
 * Layered on top of /css/styles.css
 * Accent color: violet (#6d28d9)
 */

/* === Social Hero === */

.social-hero {
  background: #fff;
  padding: 3.5rem 1.5rem 2.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.social-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.social-hero-tag {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6d28d9;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.social-hero-inner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 1rem;
}

.social-hero-inner .lead {
  font-size: 1.1875rem;
  color: #334155;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 1.25rem;
}

.social-hero-note {
  font-size: 0.9375rem;
  color: #475569;
  max-width: 600px;
  line-height: 1.5;
}

/* === Section Layout === */

.social-section {
  padding: 3rem 1.5rem;
  scroll-margin-top: 80px;
}

.social-section--alt {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.social-section--dark {
  background: #0f172a;
  color: #f8fafc;
}

.social-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.social-section-inner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.social-section--dark h2 {
  color: #f8fafc;
}

.social-section-inner .section-subtitle {
  font-size: 1rem;
  color: #475569;
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

.social-section--dark .section-subtitle {
  color: #94a3b8;
}

/* === Body Copy === */

.social-prose {
  font-size: 1.0625rem;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.social-prose:last-child {
  margin-bottom: 0;
}

.social-section--dark .social-prose {
  color: #cbd5e1;
}

.social-prose strong {
  color: #0f172a;
  font-weight: 600;
}

.social-section--dark .social-prose strong {
  color: #f1f5f9;
}

/* === Group Headings (coworking type groups) === */

.social-group-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 0.375rem;
}

.social-group-heading:first-of-type {
  margin-top: 0;
}

.social-group-desc {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 1rem;
}

/* === Coworking Cards === */

.cowork-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.cowork-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.cowork-card-header {
  margin: 0 0 0.625rem;
}

.cowork-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.cowork-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cowork-card-neighborhood {
  font-size: 0.8125rem;
  color: #475569;
}

.cowork-type-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
}

.cowork-type-badge--tech {
  background: #ede9fe;
  color: #6d28d9;
}

.cowork-type-badge--corporate {
  background: #e0f2fe;
  color: #0369a1;
}

.cowork-type-badge--community {
  background: #dcfce7;
  color: #15803d;
}

.cowork-type-badge--creative {
  background: #fce7f3;
  color: #be185d;
}

.cowork-type-badge--boutique {
  background: #fef3c7;
  color: #92400e;
}

.cowork-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 0.625rem;
}

.cowork-card-rate {
  font-size: 0.9375rem;
  color: #1e293b;
}

.cowork-card-rate strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: #6d28d9;
}

.cowork-card-rate--free strong {
  color: #15803d;
}

.cowork-card-day {
  font-size: 0.8125rem;
  color: #475569;
}

.cowork-card-character {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  flex: 1;
}

.cowork-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.cowork-amenity {
  font-size: 0.6875rem;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 500;
}

/* === Social Callouts === */

.social-callout {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-left: 4px solid #6d28d9;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 0;
}

.social-callout--highlight {
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-left-color: #15803d;
  margin-top: 1rem;
}

.social-callout-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.social-callout-text {
  font-size: 0.9375rem;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}

/* === Meetup List === */

.meetup-list {
  margin: 0 0 1.5rem;
}

.meetup-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.meetup-item:first-child {
  padding-top: 0;
}

.meetup-item:last-child {
  border-bottom: none;
}

.meetup-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.meetup-item-desc {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* === Social Insight (honest comparison callout) === */

.social-insight {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.social-insight-title {
  font-size: 1rem;
  font-weight: 700;
  color: #6d28d9;
  margin: 0 0 0.5rem;
}

.social-insight-text {
  font-size: 0.9375rem;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}

/* === Network Blocks (transplant networks) === */

.network-block {
  margin: 0 0 1.5rem;
}

.network-block:last-of-type {
  margin-bottom: 0;
}

.network-block-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

/* === Risk Blocks (reused pattern, scoped to social-section--dark) === */

.risk-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #dc2626;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 0 0 1rem;
}

.risk-block-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.risk-block-text {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.social-section--dark .risk-block {
  background: #1e293b;
  border-color: #475569;
  border-left-color: #f59e0b;
}

.social-section--dark .risk-block-title {
  color: #f8fafc;
}

.social-section--dark .risk-block-text {
  color: #94a3b8;
}

/* === Social CTA === */

.social-cta {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0 0;
}

.social-cta h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.social-cta p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

/* === Section Anchor Links (page-specific color) === */

.social-hero .section-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
}

.social-hero .section-anchor {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 44px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.social-hero .section-anchor:hover {
  background: #6d28d9;
  color: #fff;
  border-color: #6d28d9;
}

/* === Responsive === */

@media (max-width: 767px) {
  .social-hero-inner h1 {
    font-size: 1.875rem;
  }

  .cowork-cards {
    grid-template-columns: 1fr;
  }

  .social-section {
    padding: 2rem 1rem;
  }

  .social-hero {
    padding: 2.5rem 1rem 2rem;
  }

  .risk-block {
    padding: 1rem;
  }

  .social-cta {
    padding: 1.5rem 1rem;
  }

  .social-callout {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .cowork-card-pricing {
    flex-direction: column;
    gap: 0.25rem;
  }

  .cowork-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}