/* Awards page — recognition cards layout */

.awards-page {
  --awards-navy: #1a2b48;
  --awards-gold: #c5a073;
  --awards-ink: #1a2b48;
  --awards-ink-soft: #6b7280;
  --awards-line: #eceff3;
  --awards-white: #ffffff;
  --awards-paper: #ffffff;
  width: 100%;
  padding: 48px 0 80px;
  color: var(--awards-ink);
}

.awards-heading {
  text-align: center;
  margin-bottom: 48px;
}

.awards-heading__eyebrow {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--awards-gold);
}

.awards-heading__title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--awards-navy);
}

.awards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  width: 100%;
}

.awards-card {
  background: var(--awards-white);
  border: 1px solid var(--awards-line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 0 1 calc((100% - 56px) / 3);
  width: calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  box-shadow: 0 10px 30px rgba(26, 43, 72, 0.06);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.awards-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(26, 43, 72, 0.12);
}

.awards-card:focus-visible {
  outline: 2px solid var(--awards-gold);
  outline-offset: 3px;
}

.awards-card .imgbox {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.awards-card:hover .imgbox {
  box-shadow: none;
}

.awards-card .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 28px 24px 12px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.awards-card:hover .imgbox img {
  transform: scale(1.03);
}

.awards-card .content {
  padding: 8px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.awards-card .category {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--awards-navy);
  margin: 0 0 18px;
  text-transform: none;
}

.awards-view {
  margin-top: auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--awards-gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease, gap 0.3s ease;
}

.awards-view::after {
  display: none;
}

.awards-card:hover .awards-view {
  gap: 10px;
  color: #b08958;
}

/* Lightbox */
.awards-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000000;
  padding: 28px 16px;
  opacity: 0;
}

.awards-lightbox.open {
  display: flex;
  opacity: 1;
  animation: awardsLbFade 0.35s ease both;
}

@keyframes awardsLbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.awards-lightbox .lb-inner {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  background: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
  animation: awardsLbUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes awardsLbUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.awards-lightbox .lb-image {
  position: relative;
  background: #fff;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 48px 12px;
}

.awards-lightbox .lb-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92vh - 180px);
  object-fit: contain;
  display: block;
}

.awards-lightbox .lb-info {
  padding: 16px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  border-top: 1px solid var(--awards-line);
  text-align: center;
}

.awards-lightbox .lb-index {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--awards-ink-soft);
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}

.awards-lightbox .lb-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--awards-navy);
}

.awards-lightbox .lb-divider {
  display: none;
}

.awards-lightbox .lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--awards-line);
  background: rgba(255, 255, 255, 0.95);
  color: var(--awards-ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.awards-lightbox .lb-close:hover {
  background: #f5f7f8;
  border-color: var(--awards-gold);
  transform: rotate(90deg);
}

.awards-lightbox .lb-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--awards-line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--awards-navy);
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.awards-lightbox .lb-nav:hover {
  background: #fff;
  border-color: var(--awards-gold);
  transform: translateY(-50%) scale(1.06);
}

.awards-lightbox .lb-prev {
  left: 12px;
}

.awards-lightbox .lb-next {
  right: 12px;
}

.awards-lightbox .lb-dots {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.awards-lightbox .lb-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--awards-line);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.awards-lightbox .lb-dots button.active {
  background: var(--awards-gold);
  width: 16px;
  border-radius: 3px;
}

@media (max-width: 991px) {
  .awards-page {
    padding: 36px 0 60px;
  }

  .awards-card {
    flex: 0 1 calc((100% - 28px) / 2);
    width: calc((100% - 28px) / 2);
    max-width: calc((100% - 28px) / 2);
  }
}

@media (max-width: 760px) {
  .awards-heading {
    margin-bottom: 32px;
  }

  .awards-heading__title {
    font-size: 28px;
  }

  .awards-card {
    flex: 0 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .awards-card .content {
    padding: 8px 20px 24px;
  }

  .awards-lightbox {
    padding: 12px;
  }

  .awards-lightbox .lb-image {
    padding: 48px 16px 8px;
  }

  .awards-lightbox .lb-image img {
    max-height: calc(92vh - 200px);
  }

  .awards-lightbox .lb-info {
    padding: 14px 16px 20px;
  }

  .awards-lightbox .lb-prev {
    left: 6px;
  }

  .awards-lightbox .lb-next {
    right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awards-card,
  .awards-card .imgbox img,
  .awards-view,
  .awards-lightbox,
  .awards-lightbox .lb-inner,
  .awards-lightbox .lb-close,
  .awards-lightbox .lb-nav,
  .awards-lightbox .lb-dots button {
    transition: none !important;
    animation: none !important;
  }
}
