/* ── VS-AGENCY COMPARISON PAGE ── */

/* Hero */
.vsa-hero {
  padding: 72px 40px 64px;
  border-bottom: 1px solid var(--border);
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_165445/882949de-954c-432e-b64e-158265900f92.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}

.vsa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  pointer-events: none;
  z-index: 0;
}

.vsa-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.vsa-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Table section */
.vsa-table-section {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}

.vsa-table-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.vsa-table-inner .section-heading {
  margin-bottom: 48px;
}

/* Desktop table */
.vsa-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}

.vsa-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

/* Column headers */
.vsa-th {
  padding: 20px 20px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  background: var(--bg-card);
}

.vsa-th:not(:last-child) {
  border-right: 1px solid var(--border);
}

.vsa-th--row-label {
  width: 22%;
  color: var(--fg-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.vsa-th--bayfull {
  background: rgba(245, 166, 35, 0.05);
  border-top: 3px solid var(--accent);
}

.vsa-col-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vsa-col-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 4px;
  width: fit-content;
}

.vsa-col-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.vsa-col-price {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* Table rows */
.vsa-row {
  border-bottom: 1px solid var(--border);
}

.vsa-row:last-child {
  border-bottom: none;
}

.vsa-row--alt .vsa-td {
  background: rgba(255, 255, 255, 0.015);
}

.vsa-row--alt .vsa-td--bayfull {
  background: rgba(245, 166, 35, 0.04);
}

.vsa-td {
  padding: 16px 20px;
  vertical-align: top;
  color: var(--fg-muted);
  border-right: 1px solid var(--border);
  line-height: 1.5;
}

.vsa-td:last-child {
  border-right: none;
}

.vsa-td--label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--bg-card);
}

.vsa-td--bayfull {
  background: rgba(245, 166, 35, 0.03);
}

/* Indicators */
.vsa-check {
  color: #22c55e;
  font-size: 0.9rem;
  margin-right: 4px;
  display: inline;
}

.vsa-x {
  color: #ef4444;
  font-size: 0.9rem;
  margin-right: 4px;
  display: inline;
}

.vsa-maybe {
  color: var(--accent);
  font-size: 0.9rem;
  margin-right: 4px;
  display: inline;
  font-weight: 700;
}

.vsa-val {
  font-size: 0.85rem;
  color: var(--fg);
  font-weight: 500;
}

.vsa-note {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* Mobile stacked cards — hidden on desktop */
.vsa-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  margin-top: 32px;
}

.vsa-mobile-card {
  background: var(--bg);
  padding: 28px 24px;
}

.vsa-mobile-card--bayfull {
  background: rgba(245, 166, 35, 0.04);
  border-left: 3px solid var(--accent);
}

.vsa-mobile-card-header {
  margin-bottom: 20px;
}

.vsa-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vsa-mobile-list li {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.vsa-mobile-list li .vsa-check,
.vsa-mobile-list li .vsa-x,
.vsa-mobile-list li .vsa-maybe {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Narrative section */
.vsa-narrative-section {
  padding: 80px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.vsa-narrative-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.vsa-narrative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vsa-narrative-card {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vsa-narrative-card--accent {
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
}

.vsa-narrative-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vsa-narrative-icon--neutral {
  background: rgba(240, 237, 230, 0.06);
  color: var(--fg-muted);
}

.vsa-narrative-icon--accent {
  background: var(--accent-dim);
  color: var(--accent);
}

.vsa-narrative-icon svg {
  width: 20px;
  height: 20px;
}

.vsa-narrative-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.vsa-narrative-body {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.vsa-narrative-body strong {
  color: var(--fg);
}

.vsa-narrative-cta {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s;
}

.vsa-narrative-cta:hover {
  opacity: 0.75;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .vsa-narrative-grid {
    grid-template-columns: 1fr;
  }

  .vsa-narrative-card--accent {
    border-top: none;
    border-left: 3px solid var(--accent);
  }
}

@media (max-width: 768px) {
  /* Swap table for cards */
  .vsa-table-wrap {
    display: none;
  }

  .vsa-mobile-cards {
    display: flex;
  }

  .vsa-table-section {
    padding: 56px 24px;
  }

  .vsa-hero {
    padding: 56px 24px 48px;
  }

  .vsa-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vsa-hero-actions .btn-primary,
  .vsa-hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .vsa-narrative-section {
    padding: 56px 24px;
  }

  .vsa-narrative-card {
    padding: 28px 20px;
  }
}
