/* ==========================================================================
   SAT ALFA – Sections CSS (Hero, About, Advantages)
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */

.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  /* Black gradient fallback when there is no video */
  background: linear-gradient(170deg, #0D0C11 0%, #1a1924 40%, #0D0C11 100%);
}

/* Full-screen background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(13, 12, 17, 0.45) 0%,
      rgba(13, 12, 17, 0.20) 40%,
      rgba(13, 12, 17, 0.70) 80%,
      rgba(13, 12, 17, 0.92) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 160px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 750px;
}

.hero-title {
  margin-bottom: 20px;
  line-height: 1.08;
}

.hero-title-line1 {
  display: block;
  font-size: clamp(40px, 7vw, 72px);
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero-title-line2 {
  display: block;
  font-size: clamp(22px, 3.5vw, 40px);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-btn {
  font-size: 16px;
  padding: 16px 32px;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.section-about {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Decorative blob */
.decor-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.decor-blob--about-tr {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -100px;
  background: radial-gradient(circle, rgba(241, 255, 10, 0.12) 0%, transparent 70%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

/* Video card */
.about-video-card {
  position: relative;
}

.about-video-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #17161F 0%, #2a2838 100%);
  cursor: pointer;
}

.about-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.about-video-wrap video.playing {
  display: block;
}

.about-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.about-poster--gradient {
  background: linear-gradient(135deg, #17161F 0%, #2a2838 50%, #1a1924 100%);
}

.about-poster.hidden {
  opacity: 0;
  pointer-events: none;
}

.about-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.about-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.about-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.about-video-label {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 14px;
  text-align: center;
}

/* Stats grid */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  min-width: 0;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

@media (max-width: 480px) {
  .about-stats {
    gap: 12px;
  }
  .stat-card {
    padding: 20px 16px;
  }
}

.stat-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Yellow accent shape */
.stat-accent {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.25;
  pointer-events: none;
}

.stat-card:nth-child(2) .stat-accent {
  width: 28px;
  height: 28px;
  top: -6px;
  right: auto;
  left: -6px;
  border-radius: 8px;
  transform: rotate(20deg);
}

.stat-card:nth-child(3) .stat-accent {
  width: 40px;
  height: 20px;
  border-radius: var(--radius-pill);
  top: auto;
  bottom: -4px;
  right: 12px;
}

.stat-card:nth-child(4) .stat-accent {
  width: 24px;
  height: 24px;
  top: 10px;
  right: 10px;
  border-radius: 6px;
  transform: rotate(45deg);
}

.stat-value {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}

.stat-note {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.4;
}

/* ==========================================================================
   ADVANTAGES
   ========================================================================== */

.section-advantages {
  padding-bottom: 0; /* banner sits flush */
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.advantage-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Dark highlighted card */
.advantage-card--dark {
  background: var(--black);
  color: var(--white);
}

.advantage-card--dark .advantage-title {
  color: var(--yellow);
}

.advantage-card--dark .advantage-text {
  color: rgba(255, 255, 255, 0.78);
}

.advantage-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg);
  flex-shrink: 0;
}

.advantage-card--dark .advantage-icon {
  background: rgba(241, 255, 10, 0.12);
}

.advantage-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.25;
}

.advantage-text {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ==========================================================================
   EVENTS BANNER (inside advantages section)
   ========================================================================== */

.events-banner {
  background: var(--yellow);
  padding: 56px 0;
  margin-top: 0;
}

.events-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.events-banner-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: -0.02em;
}

.events-banner-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.events-banner-line {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  color: var(--black);
  text-align: left;
}

.banner-sparkle {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.6;
}

.events-banner-btn {
  margin-top: 8px;
}

/* ==========================================================================
   TEACHERS
   ========================================================================== */

.section-teachers {
  padding: 90px 0;
}

.section-teachers .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-teachers .section-subtitle {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--gray-text);
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .teachers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.teacher-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #17161F;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4.4;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 640px) {
  .teacher-card {
    min-height: 250px;
    aspect-ratio: 3 / 4.2;
  }
}

.teacher-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #181722 0%, #252332 50%, #0D0C11 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(241, 255, 10, 0.12);
  border: 2px solid rgba(241, 255, 10, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

@media (max-width: 640px) {
  .teacher-avatar {
    width: 52px;
    height: 52px;
    margin-bottom: 40px;
  }
}

.teacher-initials {
  font-size: 24px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .teacher-initials {
    font-size: 18px;
  }
}

.teacher-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 12, 17, 0.05) 0%,
    rgba(13, 12, 17, 0.3) 40%,
    rgba(13, 12, 17, 0.85) 75%,
    rgba(13, 12, 17, 0.98) 100%
  );
  pointer-events: none;
}

.teacher-info {
  position: relative;
  z-index: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 640px) {
  .teacher-info {
    padding: 12px 10px;
    gap: 6px;
  }
}

.teacher-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

@media (max-width: 640px) {
  .teacher-name {
    font-size: 12px;
  }
}

.teacher-chips {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.teacher-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
  max-width: 100%;
  word-break: break-word;
}

@media (max-width: 640px) {
  .teacher-chip {
    font-size: 10px;
    padding: 2px 6px;
  }
}

.teacher-chip--sat {
  background: rgba(241, 255, 10, 0.2);
  color: var(--yellow);
  border: 1px solid rgba(241, 255, 10, 0.35);
  font-weight: 700;
}

.chip-label {
  opacity: 0.8;
  font-weight: 500;
}

.chip-val {
  font-weight: 700;
}

/* ==========================================================================
   TARIFFS (Offline & Online)
   ========================================================================== */

.section-tariffs {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}

/* Soft yellow decorative shapes */
.decor-blob--tariffs-left {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  width: 380px;
  height: 380px;
  top: 10%;
  left: -140px;
  background: radial-gradient(circle, rgba(241, 255, 10, 0.12) 0%, transparent 70%);
}

.decor-blob--tariffs-right {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  width: 340px;
  height: 340px;
  bottom: 5%;
  right: -120px;
  background: radial-gradient(circle, rgba(241, 255, 10, 0.10) 0%, transparent 70%);
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .tariffs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 460px;
  }
}

.tariff-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.tariff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Header: Yellow for Group, Black for Individual */
.tariff-header {
  padding: 24px 28px;
}

@media (max-width: 480px) {
  .tariff-header {
    padding: 20px 20px;
  }
}

.tariff-card--group .tariff-header {
  background: var(--yellow);
}

.tariff-card--individual .tariff-header {
  background: var(--black);
}

.tariff-title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

.tariff-card--group .tariff-title {
  color: var(--black);
}

.tariff-card--individual .tariff-title {
  color: var(--yellow);
}

/* Body */
.tariff-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (max-width: 480px) {
  .tariff-body {
    padding: 24px 20px;
  }
}

.tariff-price-wrap {
  margin-bottom: 24px;
}

.tariff-price {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tariff-price-note {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 6px;
  line-height: 1.4;
}

/* Features */
.tariff-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.tariff-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--black);
  line-height: 1.45;
}

.tariff-bolt {
  width: 18px;
  height: 18px;
  color: var(--black);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Full-width Black Button */
.tariff-cta-wrap {
  margin-top: auto;
}

.tariff-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--black);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  text-align: center;
}

.tariff-btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

/* ==========================================================================
   CAROUSEL COMPONENT (Results & Events)
   ========================================================================== */

.carousel-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.carousel-heading-wrap {
  flex: 1;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 12, 17, 0.15);
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-soft);
}

.carousel-btn:hover:not(:disabled) {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.carousel-btn:disabled,
.carousel-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.results-carousel-wrap,
.events-carousel-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding: 8px 4px 20px 4px;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    scroll-behavior: auto !important;
  }
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* ==========================================================================
   RESULTS SECTION
   ========================================================================== */

.section-results {
  padding: 90px 0;
}

.result-card {
  width: clamp(240px, 28vw, 300px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  background: linear-gradient(155deg, #FAFFA5 0%, #F1FF0A 50%, #D8E600 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 22px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.result-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: var(--black);
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.result-student {
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
  margin-top: 6px;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.result-card-media {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 160px;
  border-radius: calc(var(--radius-card) - 6px);
  background: var(--white);
  overflow: hidden;
  margin: 10px 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.result-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* No image fallback */
.result-card-cert {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.cert-watermark {
  position: absolute;
  right: -12px;
  top: -50px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(13, 12, 17, 0.06);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.result-card-footer {
  margin-top: auto;
  border-top: 2px dashed rgba(13, 12, 17, 0.15);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-score-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(13, 12, 17, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-score {
  font-size: clamp(38px, 5.5vw, 52px);
  font-weight: 900;
  color: var(--black);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.results-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.results-cta-btn {
  padding: 16px 36px;
  font-size: 16px;
}

/* ==========================================================================
   EVENTS SECTION
   ========================================================================== */

.section-events {
  padding: 90px 0;
}

.event-poster {
  width: clamp(260px, 30vw, 320px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: #1C1A24;
}

.event-poster:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.event-poster-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.event-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-poster-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(150deg, #1f1d2b 0%, #29273a 50%, #121118 100%);
}

.event-decor-shape {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 255, 10, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.event-poster-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13, 12, 17, 0.1) 0%,
    rgba(13, 12, 17, 0.5) 45%,
    rgba(13, 12, 17, 0.92) 80%,
    rgba(13, 12, 17, 0.98) 100%
  );
  pointer-events: none;
}

.event-poster-content {
  position: relative;
  z-index: 2;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-date-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.event-poster-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.event-poster-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */

.section-location {
  padding: 90px 0;
}

.location-header {
  text-align: center;
  margin-bottom: 48px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.location-map-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg);
  min-height: 380px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.location-map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  display: block;
}

.location-map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, #17161F 0%, #2a2838 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--yellow);
}

.placeholder-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.location-info-card {
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

@media (max-width: 480px) {
  .location-info-card {
    padding: 24px 20px;
    gap: 20px;
  }
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
  margin: 0;
  word-break: break-word;
}

.detail-phone {
  color: var(--black);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.detail-phone:hover {
  color: #333;
  text-decoration: underline;
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   FAQ & CONTACT SECTION
   ========================================================================== */

.section-faq {
  padding: 90px 0;
}

.faq-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .faq-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.faq-heading {
  margin-bottom: 28px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--black);
  transition: color var(--transition-fast);
  font-family: inherit;
}

@media (max-width: 480px) {
  .faq-question {
    padding: 18px 18px;
  }
}

.faq-question-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-icon-line {
  position: absolute;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.faq-icon-line--h {
  width: 14px;
  height: 2px;
}

.faq-icon-line--v {
  width: 2px;
  height: 14px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--yellow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px 24px;
}

@media (max-width: 480px) {
  .faq-answer-inner {
    padding: 0 18px 18px 18px;
  }
}

.faq-answer-inner p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}

/* Contact Card */
.contact-card {
  background: var(--black);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

@media (max-width: 480px) {
  .contact-card {
    padding: 28px 20px;
  }
}

.contact-header {
  margin-bottom: 28px;
}

.contact-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-pill);
  cursor: pointer;
  margin-top: 8px;
}

/* Footer Socials */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}


/* ==========================================================================
   Floating Buttons Container
   ========================================================================== */

.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 900;
}

.floating-buttons .floating-call-btn {
  position: static;
}

.floating-form-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--yellow);
  color: var(--black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(13, 12, 17, 0.35);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.floating-form-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(13, 12, 17, 0.5);
}

/* ==========================================================================
   Application Modal
   ========================================================================== */

.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.apply-modal.open {
  visibility: visible;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .apply-modal {
    transition: none;
  }
}

.apply-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 12, 17, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.apply-modal-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 24px;
  max-width: 480px;
  width: calc(100% - 32px);
  padding: 40px 32px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.apply-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: background var(--transition-fast);
}

.apply-modal-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

.apply-modal-header {
  margin-bottom: 24px;
}

.apply-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

/* Modal form overrides: dark-on-light */
.apply-modal-card .form-input {
  background: #f5f5f5;
  border: 1.5px solid #e0e0e0;
  color: var(--black);
  border-radius: var(--radius-pill);
  padding: 14px 20px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition-fast);
}

.apply-modal-card .form-input::placeholder {
  color: #999;
}

.apply-modal-card .form-input:focus {
  border-color: var(--yellow);
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
  background: #fff;
}

.apply-modal-card .form-group {
  margin-bottom: 16px;
}

.apply-modal-card .btn-primary {
  width: 100%;
}


/* ==========================================================================
   Result Lightbox & View Button
   ========================================================================== */

.result-card[data-lightbox] {
  cursor: pointer;
}

.result-view-btn {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(13, 12, 17, 0.25);
  transition: transform var(--transition-fast), background var(--transition-fast);
  z-index: 2;
  white-space: nowrap;
}

.result-view-btn:hover {
  transform: translateX(-50%) scale(1.05);
}

.result-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 16px;
}

.result-lightbox.open {
  visibility: visible;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .result-lightbox {
    transition: none;
  }
}

.result-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 12, 17, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.result-lightbox-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 24px;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.result-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(13, 12, 17, 0.08);
  gap: 16px;
  flex-shrink: 0;
}

.lightbox-student-name {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--black);
  margin: 0;
}

.lightbox-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lightbox-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.lightbox-score-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.lightbox-score-value {
  font-size: 18px;
  font-weight: 900;
}

.result-lightbox-close {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border: none;
  background: rgba(13, 12, 17, 0.06);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: background var(--transition-fast);
}

.result-lightbox-close:hover {
  background: rgba(13, 12, 17, 0.12);
}

.result-lightbox-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.lightbox-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
}

.lightbox-loader {
  width: 100%;
  min-height: 280px;
  border-radius: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: lightboxPulse 1.5s infinite;
}

@keyframes lightboxPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.lightbox-footer {
  margin-top: 14px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.lightbox-orig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.lightbox-orig-link:hover {
  color: var(--black);
}

@media (max-width: 640px) {
  .result-lightbox {
    padding: 8px;
  }
  .result-lightbox-card {
    border-radius: 16px;
    max-width: 100%;
  }
  .result-lightbox-header {
    padding: 14px 16px;
  }
  .result-lightbox-body {
    padding: 14px 16px;
  }
  .lightbox-score-label {
    display: none;
  }
}
