/* =========================================
   RESET / BASE
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #050814;
  color: rgba(255, 255, 255, 0.92);
}

body.lightbox-open,
body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.muted {
  color: rgba(232, 238, 252, 0.72);
}

/* =========================================
   HEADER / NAV
========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-sma-img {
  height: 124px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(232, 238, 252, 0.86);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
}

.main-nav a.active {
  background: rgba(250, 204, 21, 0.18);
}

.nav-toggle {
  display: none;
}

/* =========================================
   BUTTONS
========================================= */
.btn,
.table-link,
.action-btn,
.person-link,
.chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: #facc15;
  color: #111827;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.table-link,
.action-btn {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #164a8c;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.table-link:hover,
.action-btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
  box-shadow: 0 8px 18px rgba(22, 74, 140, 0.2);
}

.action-btn.secondary,
.table-link-light {
  background: #eef4ff;
  color: #164a8c;
}

.person-link {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.12);
  color: rgba(250, 204, 21, 0.98);
}

.chip-link {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0b2c66;
}

.btn-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-size: 18px;
}

.btn-table:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-table.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* =========================================
   GENERIC BLOCKS
========================================= */
.section {
  padding: 36px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
}

.page-head,
.hero-main,
.hero-panel,
.hero-content,
.hero-stat-card,
.feature-card,
.person-card,
.table-card,
.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.page-head {
  padding: 22px;
}

.page-title {
  margin: 0 0 10px;
  font-size: 34px;
}

.page-kicker,
.hero-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 204, 21, 0.98);
}

.page-actions,
.hero-actions,
.hero-main-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================================
   HERO HOME
========================================= */
.hero-home {
  padding: 36px 0 26px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}

.hero-main,
.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-main {
  padding: 26px 22px;
  min-height: 360px;
}

.hero-main-kicker {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd21f;
}

.hero-main-title {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 900;
  color: #f8fafc;
}

.hero-main-text {
  margin: 0;
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #dbe4f0;
}

.hero-main-tags,
.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-tag,
.hero-tags span,
.person-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-panel {
  padding: 18px 20px;
}

.hero-panel-kicker {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
}

.hero-panel-title {
  margin: 0 0 8px;
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  color: #ffd21f;
}

.hero-panel-text {
  margin: 0;
  color: #dbe4f0;
  font-size: 1rem;
}

.hero-slider-shell {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 12px;
  align-items: center;
}

.hero-arrow,
.hero-slider-btn,
.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  flex: 0 0 auto;
}

.hero-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  line-height: 1;
}

.hero-arrow:hover,
.hero-slider-btn:hover,
.slider-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-gallery {
  position: relative;
  height: 280px;
}

.hero-card {
  position: absolute;
  top: 0;
  width: 190px;
  margin: 0;
  transition: all 0.28s ease;
  opacity: 0;
  pointer-events: none;
}

.hero-card.is-left,
.hero-card.is-right,
.hero-card.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-card.is-left {
  left: 4%;
  transform: scale(0.96);
  z-index: 1;
}

.hero-card.is-active {
  left: 50%;
  transform: translateX(-50%) scale(1);
  z-index: 2;
}

.hero-card.is-right {
  right: 4%;
  transform: scale(0.96);
  z-index: 1;
}

.hero-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  cursor: zoom-in;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, filter 0.3s ease;
}

.hero-card:hover .hero-photo,
.hero-slide:hover img {
  transform: scale(1.04);
}

.hero-slider:hover .hero-slide:not(:hover) img {
  filter: brightness(0.7);
}

/* =========================================
   HERO ALT / SLIDER
========================================= */
.hero {
  padding: 80px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.hero-content {
  padding: 22px;
}

.hero-content h1 {
  font-size: 40px;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.hero-stat-card {
  padding: 20px;
}

.stat-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-size: 14px;
  margin: 0 0 10px;
  color: #cbd5e1;
}

.stat-value {
  font-size: 44px;
  line-height: 1;
  color: #facc15;
  font-weight: 900;
  margin: 0 0 8px;
}

.stat-extra {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.hero-slider-wrap,
.slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.hero-slider,
.team-slider {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  gap: 10px;
  flex: 1;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-slider::-webkit-scrollbar,
.team-slider::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  position: relative;
  flex: 0 0 calc(33.33% - 10px);
  max-width: calc(33.33% - 10px);
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.hero-slide:hover {
  transform: translateY(-4px);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   FEATURES / GRIDS
========================================= */
.features-grid,
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cards-grid-3 {
  max-width: 900px;
  margin: 0 auto;
  gap: 20px;
}

.feature-card {
  padding: 18px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* =========================================
   TEAM / TROMBINOSCOPE
========================================= */
.person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.avatar-button {
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avatar-button:hover {
  transform: scale(1.04);
}

.person-content h3,
.person-meta h3 {
  margin: 0;
}

.person-role {
  margin: 6px 0 0;
  font-weight: 700;
  color: #facc15;
}

.person-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-slider {
  gap: 18px;
  padding: 8px 4px 12px;
}

.team-slider .person-card {
  flex: 0 0 280px;
  min-width: 280px;
  max-width: 280px;
}

.team-slider .avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 18px;
}

.team-slider .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-slider .person-meta {
  width: 100%;
}

.team-slider .person-meta h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.team-slider .person-meta p {
  margin: 0;
  color: rgba(232, 238, 252, 0.78);
}

.team-slider .person-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.slider-btn-prev,
.slider-btn-next {
  z-index: 20;
  pointer-events: auto;
}

/* =========================================
   SPONSORS
========================================= */
.sponsors-home-grid {
  display: flex;
  gap: 20px;
}

.sponsor-home-card {
  flex: 1;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  border-radius: 18px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sponsor-home-link:hover {
  transform: scale(1.02);
}

.sponsor-home-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

/* =========================================
   GALLERY
========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.zoomable {
  cursor: zoom-in;
}

/* =========================================
   LIGHTBOX
========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.open,
.lightbox.is-open {
  display: block;
}

.lightbox__backdrop,
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.lightbox__panel,
.lightbox-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  height: min(90vh, 900px);
  margin: 5vh auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox__img,
.lightbox-figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.lightbox__caption,
.lightbox-figure figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  text-align: center;
}

.lightbox__close,
.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav,
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox__prev,
.lightbox-prev {
  left: 8px;
}

.lightbox__next,
.lightbox-next {
  right: 8px;
}

.lightbox__close:hover,
.lightbox__nav:hover,
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* =========================================
   COURSES
========================================= */
.courses-hero {
  padding: 72px 0 42px;
  background: linear-gradient(135deg, #0b234c 0%, #164a8c 100%);
  color: #fff;
}

.courses-eyebrow,
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.courses-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.courses-intro,
.hero-text {
  max-width: 760px;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.courses-page,
.courses-section {
  padding: 42px 0 80px;
  background: #f4f7fb;
}

.courses-kpis,
.hero-kpis,
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.kpi-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.kpi-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.kpi-value {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.kpi-note {
  margin: 0;
  font-size: 12px;
  color: rgba(232, 238, 252, 0.7);
}

.month-section,
.month-block {
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 32, 66, 0.08);
}

.month-section-head,
.month-header,
.month-title,
.month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf5;
}

.month-label {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7a90;
}

.month-section-head h2,
.month-header h2,
.month-title h2,
.month-head h2 {
  margin: 0;
  font-size: 1.55rem;
  color: #0b234c;
}

.month-badge,
.month-count {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #164a8c;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-table-wrap,
.table-wrap {
  overflow-x: auto;
}

.courses-table {
  width: 100%;
  border-collapse: collapse;
}

.courses-table thead th {
  padding: 14px 12px;
  border-bottom: 1px solid #e7edf5;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  color: #61728a;
  white-space: nowrap;
}

.courses-table tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
  color: #24344d;
}

.courses-table tbody tr:hover {
  background: #f8fbff;
}

.courses-table tbody tr:last-child td {
  border-bottom: none;
}

.course-name,
.td-epreuve,
.course-title {
  font-weight: 700;
  color: #0b234c;
}

.course-date,
.td-date {
  color: #5b6b82;
}

.status-badge,
.badge,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge.confirmé,
.status-badge.confirmee,
.status-badge.confirmée,
.status-badge.confirme {
  background: #e8f7ee;
  color: #18794e;
}

.status-badge.en-attente,
.status-badge.à-confirmer,
.status-badge.a-confirmer,
.status-badge.a-confirme {
  background: #fff4df;
  color: #9a6700;
}

.status-badge.annulé,
.status-badge.annule {
  background: #fdecec;
  color: #b42318;
}

.status-badge.termine {
  background: #edf2ff;
  color: #2847a1;
}

.badge-upcoming,
.pill-green {
  background: #dcfce7;
  color: #166534;
}

.badge-past {
  background: #e2e8f0;
  color: #475569;
}

.pill-blue {
  background: rgba(56, 189, 248, 0.22);
  color: #0b2a38;
}

.pill-yellow {
  background: rgba(250, 204, 21, 0.22);
  color: #3a2c00;
}

.mobile-only,
.mobile-cards {
  display: none;
}

.empty-state {
  padding: 42px 24px;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(12, 32, 66, 0.08);
}

.empty-state h2 {
  margin-top: 0;
  color: #0b234c;
}

.empty-state p {
  margin-bottom: 0;
  color: #61728a;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.course-lieu,
.course-meta p,
.detail-value {
  color: #22324d;
}

.course-links,
.course-actions,
.course-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.course-card-top,
.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.course-card-details,
.course-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7a90;
}

.map-link {
  color: #a8d0ff;
  text-decoration: none;
}

.map-link:hover {
  text-decoration: underline;
}

/* =========================================
   CONTACT
========================================= */
.contact-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.contact-card {
  padding: 28px;
}

.contact-grid,
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #0f172a;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 180px;
}

.form-actions {
  margin-top: 6px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list .label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-list a {
  color: #2563eb;
  text-decoration: none;
}

.bullet-list {
  margin-top: 10px;
  padding-left: 18px;
}

.bullet-list li {
  margin-bottom: 6px;
}

.alert {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 600;
}

.alert-success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-main {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .team-grid,
  .gallery-grid,
  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .hero-kpis,
  .courses-kpis,
  .kpi-grid,
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .courses-kpis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    width: 44px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    padding-top: 10px;
    flex-direction: column;
    gap: 8px;
  }

  .main-nav.open {
    display: flex;
  }

  .hero-panel-title {
    font-size: 3.1rem;
  }

  .hero-slider-shell {
    grid-template-columns: 44px 1fr 44px;
  }

  .hero-gallery {
    height: 280px;
  }

  .hero-card {
    width: 200px;
  }

  .hero-card.is-left {
    left: 4%;
  }

  .hero-card.is-right {
    right: 4%;
  }

  .hero-photo {
    height: 220px;
  }

  .grid-2,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-only,
  .desktop-table-wrap {
    display: none;
  }

  .mobile-only,
  .mobile-cards {
    display: block;
  }

  .courses-hero {
    padding: 56px 0 28px;
  }

  .courses-page {
    padding: 28px 0 56px;
  }

  .month-section,
  .month-block,
  .contact-card {
    padding: 18px;
    border-radius: 18px;
  }

  .month-section-head,
  .month-header,
  .month-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-card-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .hero-main-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.15;
  }

  .hero-panel-kicker {
    font-size: 1.15rem;
  }

  .hero-panel-title {
    font-size: 2.8rem;
  }

  .hero-gallery,
  .gallery-grid,
  .team-grid,
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    height: 235px;
  }

  .hero-card {
    width: 145px;
  }

  .hero-photo {
    height: 190px;
  }

  .hero-main-tags {
    gap: 8px;
  }

  .hero-tag {
    font-size: 0.85rem;
  }

  .hero-slide {
    flex: 0 0 100%;
    max-width: 100%;
    height: 200px;
  }

  .hero-slider-btn,
  .slider-btn {
    display: none;
  }

  .team-slider .person-card {
    flex: 0 0 220px;
    min-width: 220px;
    max-width: 220px;
  }

  .team-slider .avatar {
    width: 72px;
    height: 72px;
  }

  .lightbox-content,
  .lightbox__panel {
    width: 94vw;
    height: 88vh;
  }

  .lightbox-nav,
  .lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .hero-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
}