/* ============================================================================
   BTS Detail Pages — Doctrina
   ============================================================================ */

/* Hero Section */
.bts-detail-hero {
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
}

.bts-detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* SLAM = Violet */
.bts-detail-slam {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 40%, #a78bfa 100%);
}

/* SISR = Blue */
.bts-detail-sisr {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 40%, #60a5fa 100%);
}

/* CIEL = Red */
.bts-detail-ciel {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 40%, #f87171 100%);
}

.bts-detail-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.bts-detail-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

.bts-detail-hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
  max-width: 700px;
  animation: slide-up 0.6s ease-out;
}

.bts-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  transition: var(--transition);
}

.bts-detail-back:hover {
  color: var(--white);
  gap: 12px;
}

.bts-detail-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.bts-detail-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
}

.bts-detail-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.1;
}

.bts-detail-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 32px;
}

.bts-detail-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Info Bar — Floating Cards */
.bts-detail-info-bar {
  position: relative;
  z-index: 50;
  margin-top: -60px;
  padding: 0 0 32px;
  background: none;
  border: none;
  box-shadow: none;
}

.bts-detail-info-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 0;
}

.bts-detail-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px 12px 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bts-detail-info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6, #a78bfa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bts-detail-info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
}

.bts-detail-info-item:hover::before {
  opacity: 1;
}

.bts-detail-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(139,92,246,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.bts-detail-info-icon svg {
  width: 22px;
  height: 22px;
  color: #7c3aed;
  transition: all 0.3s ease;
}

.bts-detail-info-item:hover .bts-detail-info-icon {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.bts-detail-info-item:hover .bts-detail-info-icon svg {
  color: var(--white);
}

.bts-detail-info-item strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 600;
}

.bts-detail-info-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bts-detail-info-item span:not(.bts-detail-info-icon) {
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 700;
}

/* SISR blue variant for info cards */
.bts-detail-sisr + .bts-detail-info-bar .bts-detail-info-item::before {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6, #60a5fa);
}

.bts-detail-sisr + .bts-detail-info-bar .bts-detail-info-icon {
  background: linear-gradient(135deg, rgba(29,78,216,0.1), rgba(59,130,246,0.06));
}

.bts-detail-sisr + .bts-detail-info-bar .bts-detail-info-icon svg {
  color: #1d4ed8;
}

.bts-detail-sisr + .bts-detail-info-bar .bts-detail-info-item:hover .bts-detail-info-icon {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.bts-detail-sisr + .bts-detail-info-bar .bts-detail-info-item:hover .bts-detail-info-icon svg {
  color: var(--white);
}

/* Main Content Layout */
.bts-detail-content {
  padding: 60px 0;
  background: var(--light);
}

.bts-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.bts-detail-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Sections */
.bts-detail-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.bts-detail-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.bts-detail-section h2 svg {
  color: var(--violet);
  flex-shrink: 0;
}

.bts-detail-slam ~ .bts-detail-content .bts-detail-section h2 svg,
.bts-detail-slam + .bts-detail-info-bar + .bts-detail-content .bts-detail-section h2 svg { color: var(--violet); }
.bts-detail-sisr ~ .bts-detail-content .bts-detail-section h2 svg,
.bts-detail-sisr + .bts-detail-info-bar + .bts-detail-content .bts-detail-section h2 svg { color: var(--blue); }
.bts-detail-ciel ~ .bts-detail-content .bts-detail-section h2 svg,
.bts-detail-ciel + .bts-detail-info-bar + .bts-detail-content .bts-detail-section h2 svg { color: var(--red); }

.bts-detail-section p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.bts-detail-section p:last-child {
  margin-bottom: 0;
}

/* Lists */
.bts-detail-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.bts-detail-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
}

.bts-detail-list li:last-child {
  border-bottom: none;
}

.bts-detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--violet);
}

.bts-detail-sisr + .bts-detail-info-bar + .bts-detail-content .bts-detail-list li::before { color: var(--blue); }
.bts-detail-ciel + .bts-detail-info-bar + .bts-detail-content .bts-detail-list li::before { color: var(--red); }

/* Modules (accordion) */
.bts-detail-modules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bts-detail-module {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.bts-detail-module:hover {
  border-color: var(--violet);
}

.bts-detail-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  background: var(--light);
  transition: var(--transition);
}

.bts-detail-module-header:hover {
  background: var(--gradient-subtle);
}

.bts-detail-module-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bts-detail-module-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bts-detail-module-title h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.bts-detail-module-chevron {
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.bts-detail-module.open .bts-detail-module-chevron {
  transform: rotate(180deg);
}

.bts-detail-module-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.bts-detail-module.open .bts-detail-module-body {
  max-height: 200px;
  padding: 0 20px 18px;
}

.bts-detail-module-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Admission Steps */
.bts-detail-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
}

.bts-detail-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.bts-detail-step:last-child {
  border-bottom: none;
}

.bts-detail-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.bts-detail-step strong {
  display: block;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.bts-detail-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.bts-detail-note {
  background: var(--gradient-subtle);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--violet);
  font-weight: 500;
  margin-top: 8px;
}

/* Study Formats */
.bts-detail-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.bts-detail-format {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.bts-detail-format:hover {
  border-color: var(--violet);
  box-shadow: var(--shadow-md);
}

.bts-detail-format-alt {
  border-color: var(--violet);
  background: rgba(139,92,246,0.03);
}

.bts-detail-format-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bts-detail-format-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.bts-detail-format-badge {
  background: var(--gradient-main);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.bts-detail-format ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bts-detail-format ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.bts-detail-format ul li:last-child {
  border-bottom: none;
}

/* Career Outcomes */
.bts-detail-careers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.bts-detail-career {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.bts-detail-career:hover {
  border-color: var(--violet);
  transform: translateX(4px);
}

.bts-detail-career-icon {
  font-size: 1.3rem;
}

.bts-detail-career span:last-child {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

/* Pathways */
.bts-detail-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.bts-detail-path {
  background: var(--light);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.bts-detail-path h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--violet);
}

.bts-detail-path ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bts-detail-path ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text);
  position: relative;
  padding-left: 16px;
}

.bts-detail-path ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--violet);
  font-weight: 700;
}

/* Sidebar */
.bts-detail-sidebar {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bts-detail-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--violet);
}

.bts-detail-sidebar-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  text-align: center;
}

.bts-detail-sidebar-card > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.bts-detail-form .form-group {
  margin-bottom: 14px;
}

.bts-detail-form .form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: var(--transition);
}

.bts-detail-form .form-group input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(139,92,246,0.1);
}

.bts-detail-form button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.bts-detail-form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Sidebar Highlights — Enhanced */
.bts-detail-sidebar-highlights {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: fade-in-up 0.6s ease-out 0.3s backwards;
}

.bts-detail-sidebar-highlights::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

.bts-detail-sidebar-highlights h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  padding: 24px 28px 16px;
}

.bts-detail-highlights-list {
  padding: 0 28px 28px;
}

.bts-detail-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

.bts-detail-highlight:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bts-detail-highlight:first-child {
  padding-top: 0;
}

.bts-detail-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.bts-detail-highlight:hover .bts-detail-highlight-icon {
  transform: scale(1.1);
}

.bts-detail-highlight p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  padding-top: 2px;
}

.bts-detail-highlight p strong {
  color: var(--dark);
  font-weight: 600;
}

/* Year Titles — Gradient Banners */
.bts-detail-year-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 20px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  border-radius: var(--radius-lg);
  letter-spacing: 0.3px;
}

.bts-detail-year-title:first-of-type {
  margin-top: 0;
}

/* SISR year title blue */
.bts-detail-sisr + .bts-detail-info-bar + .bts-detail-content .bts-detail-year-title {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

/* ============================================================================
   Module Cards Grid (replaces accordions)
   ============================================================================ */

.bts-detail-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bts-detail-module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  animation: card-pop 0.5s ease-out backwards;
}

.bts-detail-module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bts-detail-module-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bts-detail-module-card:hover::before {
  opacity: 1;
}

/* Stagger animation delays */
.bts-detail-module-card:nth-child(1) { animation-delay: 0.05s; }
.bts-detail-module-card:nth-child(2) { animation-delay: 0.1s; }
.bts-detail-module-card:nth-child(3) { animation-delay: 0.15s; }
.bts-detail-module-card:nth-child(4) { animation-delay: 0.2s; }
.bts-detail-module-card:nth-child(5) { animation-delay: 0.25s; }
.bts-detail-module-card:nth-child(6) { animation-delay: 0.3s; }

.bts-detail-module-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(139,92,246,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.bts-detail-module-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--violet);
  transition: color 0.3s ease;
}

.bts-detail-module-card:hover .bts-detail-module-card-icon {
  background: var(--gradient-main);
}

.bts-detail-module-card:hover .bts-detail-module-card-icon svg {
  color: var(--white);
}

/* SISR blue variant */
.bts-detail-sisr + .bts-detail-info-bar + .bts-detail-content .bts-detail-module-card-icon {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(59,130,246,0.04));
}

.bts-detail-sisr + .bts-detail-info-bar + .bts-detail-content .bts-detail-module-card-icon svg {
  color: var(--blue);
}

.bts-detail-sisr + .bts-detail-info-bar + .bts-detail-content .bts-detail-module-card:hover {
  border-color: var(--blue);
}

.bts-detail-sisr + .bts-detail-info-bar + .bts-detail-content .bts-detail-module-card:hover .bts-detail-module-card-icon {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
}

.bts-detail-module-card-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.bts-detail-module-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
  line-height: 1.3;
}

.bts-detail-module-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Card pop animation */
@keyframes card-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Fade-in-up for sections */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bts-detail-section {
  animation: fade-in-up 0.6s ease-out backwards;
}

.bts-detail-section:nth-of-type(1) { animation-delay: 0.1s; }
.bts-detail-section:nth-of-type(2) { animation-delay: 0.2s; }
.bts-detail-section:nth-of-type(3) { animation-delay: 0.3s; }
.bts-detail-section:nth-of-type(4) { animation-delay: 0.4s; }
.bts-detail-section:nth-of-type(5) { animation-delay: 0.5s; }
.bts-detail-section:nth-of-type(6) { animation-delay: 0.6s; }
.bts-detail-section:nth-of-type(7) { animation-delay: 0.7s; }
.bts-detail-section:nth-of-type(8) { animation-delay: 0.8s; }

/* Info bar cards pop-in */
.bts-detail-info-item {
  animation: card-pop 0.4s ease-out backwards;
}

.bts-detail-info-item:nth-child(1) { animation-delay: 0.15s; }
.bts-detail-info-item:nth-child(2) { animation-delay: 0.22s; }
.bts-detail-info-item:nth-child(3) { animation-delay: 0.29s; }
.bts-detail-info-item:nth-child(4) { animation-delay: 0.36s; }
.bts-detail-info-item:nth-child(5) { animation-delay: 0.43s; }
.bts-detail-info-item:nth-child(6) { animation-delay: 0.50s; }

/* Badge hover effect */
.bts-detail-badge {
  transition: all 0.3s ease;
}

.bts-detail-badge:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* Certifications */
.bts-detail-certifs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.bts-detail-certif {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}

.bts-detail-certif:hover {
  border-color: var(--violet);
  box-shadow: var(--shadow-sm);
}

.bts-detail-certif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.bts-detail-certif-header strong {
  font-size: 1.1rem;
  color: var(--violet);
}

.bts-detail-certif-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: var(--violet);
  padding: 3px 10px;
  border-radius: 20px;
}

.bts-detail-certif p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  margin: 4px 0;
}

/* Stack technique */
.bts-detail-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.bts-detail-stack-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.bts-detail-stack-group h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.bts-detail-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bts-detail-stack-tags span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  background: var(--light);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* Career descriptions */
.bts-detail-career div strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.bts-detail-career div p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 1024px) {
  .bts-detail-layout {
    grid-template-columns: 1fr;
  }

  .bts-detail-sidebar {
    position: static;
  }

  .bts-detail-hero h1 {
    font-size: 2.4rem;
  }

  .bts-detail-info-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .bts-detail-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bts-detail-formats {
    grid-template-columns: 1fr;
  }

  .bts-detail-paths {
    grid-template-columns: 1fr;
  }

  .bts-detail-certifs {
    grid-template-columns: 1fr;
  }

  .bts-detail-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bts-detail-hero {
    padding-top: 80px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .bts-detail-hero h1 {
    font-size: 1.8rem;
  }

  .bts-detail-subtitle {
    font-size: 1rem;
  }

  .bts-detail-hero-actions {
    flex-direction: column;
  }

  .bts-detail-info-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .bts-detail-info-item {
    padding: 16px 10px 14px;
  }

  .bts-detail-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .bts-detail-info-icon svg {
    width: 18px;
    height: 18px;
  }

  .bts-detail-section {
    padding: 28px 20px;
  }

  .bts-detail-section h2 {
    font-size: 1.25rem;
  }

  .bts-detail-careers {
    grid-template-columns: 1fr;
  }

  .bts-detail-modules-grid {
    grid-template-columns: 1fr;
  }

  .bts-detail-content {
    padding: 32px 0;
  }
}
