/* ============================================================
   B.Tech — cards, grid and the homepage teaser band.

   These colleges carry no verified fee/seat/cutoff data, so the card is built
   around labelled rows (affiliation, route) rather than the four-up numeric
   fact grid used by .college-card. Same navy/gold system, different content
   shape — do not merge the two.
   ============================================================ */

.btech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: var(--space-lg);
}

.btech-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}
.btech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-200);
}

.btech-card-top {
  position: relative;
  padding: var(--space-lg);
  background: var(--gradient-hero);
  color: #fff;
}
.btech-card-top::after {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.btech-card-top .chip {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}
.btech-card-top .chip-gold {
  background: rgba(212, 160, 23, 0.2);
  color: var(--gold-light);
  border-color: rgba(212, 160, 23, 0.36);
}
.btech-card-title {
  position: relative;
  color: #fff;
  font-size: var(--text-lg);
  line-height: 1.35;
}

.btech-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-lg);
  gap: var(--space-md);
}

.btech-card-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btech-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: var(--space-sm);
  align-items: baseline;
  font-size: var(--text-sm);
}
.btech-row-label {
  color: var(--text-dark-tertiary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btech-row-value {
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.45;
}
.btech-row-value.muted {
  color: var(--text-dark-tertiary);
  font-weight: 400;
  font-style: italic;
}

.btech-card-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
  list-style: none;
  margin: 0;
}
.btech-card-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-dark-secondary);
  line-height: 1.5;
}
.btech-card-points svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--gold-dark);
}

/* Push the CTA to the card floor so buttons line up across a ragged row. */
.btech-card .college-card-actions {
  margin-top: auto;
  padding-top: var(--space-sm);
}

/* ---------- Homepage teaser band ---------- */

.btech-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  background: var(--gradient-hero);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.btech-band::after {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.18) 0%, transparent 68%);
  pointer-events: none;
}

.btech-band-copy { position: relative; }
.btech-band-copy h2 {
  color: #fff;
  margin-bottom: var(--space-md);
}
.btech-band-copy p {
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: var(--space-lg);
}
.btech-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
/* .btn-outline is tuned for light sections; lift it onto the navy band. */
.btech-band-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btech-band-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btech-band-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  list-style: none;
  margin: 0;
}
.btech-band-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.btech-band-list li strong { color: #fff; font-weight: 600; }
.btech-band-list svg {
  flex: 0 0 auto;
  width: 15px; height: 15px;
  color: var(--gold-light);
}
.btech-band-more {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.btech-band-more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
}
.btech-band-more a:hover { color: #fff; }
.btech-band-more svg { width: 14px; height: 14px; color: currentColor; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .btech-band {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
  }
}

@media (max-width: 640px) {
  .btech-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .btech-card-top,
  .btech-card-body { padding: var(--space-md); }

  /* Stack label over value — a 92px label column strands the value at 320px. */
  .btech-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .btech-band {
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
  }
  .btech-band-actions { flex-direction: column; }
  .btech-band-actions .btn { width: 100%; }
  .btech-band-list { padding: var(--space-md); }
}
