@import url('https://fonts.googleapis.com/css2?family=Gantari:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Gantari", sans-serif;
  color: #000;
  margin: 0;
  padding: 0;
}

html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  padding: 0;
  margin: 0;
}

body {
  color: #111111;
  background: #ffffff;
}

.tr {
  font-size: 15px;
  font-style: italic;
  margin-top: 5px !important;
  font-weight: 500;
  color: #8a8a8a !important;
  border-top: 1px dashed #6b7280;
  padding-top: 5px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-header__logo {
  display: block;
  height: 28px;
  width: auto;
}

.site-header__title {
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.2px;
}

.site-header__nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__nav a {
  color: #334155;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__nav a:hover {
  background: #f1f5f9;
  color: #0f172a;
}

@media (max-width: 600px) {
  .site-header__title {
    display: none;
  }

  .site-header__nav {
    display: none;
  }
}

.page {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.article {
  line-height: 1.7;
  font-size: 16px;
}

@media (min-width: 768px) {
  .article {
    font-size: 18px;
  }
}

.article__header {
  margin: 32px 0 20px;
}

.article__kicker {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
  font-size: 0.85em;
}

.article__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: #0f172a;
}

.article__subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #334155;
  margin: 0 0 12px;
}

.article__meta {
  color: #6b7280;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article__meta .dot {
  opacity: 0.6;
}

.article__content > * + * {
  margin-top: 16px;
}

.article__content h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-top: 28px;
  color: #111827;
}

.article__content h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin-top: 24px;
  color: #111827;
}

.article__content p {
  color: #111;
}

.article__figure {
  margin: 20px 0;
}

.article__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.article__caption {
  color: #6b7280;
  font-size: 0.9em;
  margin-top: 8px;
  text-align: center;
}

.article__figure:has(img + img) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.article__figure:has(img + img) .article__caption {
  grid-column: 1 / -1;
  margin-top: 0;
}

.article__quote {
  border-left: 4px solid #0ea5e9;
  padding: 8px 16px;
  background: #f0f9ff;
  color: #0b2540;
  border-radius: 6px;
}

.article__quote p {
  margin: 0 0 6px;
  font-style: italic;
}

.article__quote cite {
  color: #334155;
  font-size: 0.95em;
}

.article__footer {
  margin: 32px 0;
  color: #6b7280;
}

.article__tags {
  color: #6b7280;
}

strong {
  color: #000000;
  font-weight: 700;
  text-decoration: underline;
}

.cta {
  margin: 28px 0;
  padding: 28px 24px;
  background: #1d4ed8;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta__inner {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.35;
}

.cta__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.cta__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: clamp(16px, 2.4vw, 18px);
  background: #ffffff;
  color: #1d4ed8;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15), inset 0 -2px 0 rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.06);
}

@media (max-width: 520px) {
  .cta {
    padding: 22px 16px;
  }
}

.video {
  margin: 20px 0;
  position: relative;
}

.video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #000;
}

.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: url('./assets/play.png') center center / contain no-repeat;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.video.is-playing .video__play {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 480px) {
  .video__play {
    width: 60px;
    height: 60px;
  }
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.slider__track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider__btn:hover {
  background: rgba(255, 255, 255, 0.95);
}

.slider__btn--prev {
  left: 10px;
}

.slider__btn--next {
  right: 10px;
}

@media (max-width: 480px) {
  .slider__btn {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

.article__figure.no-grid {
  display: block;
}

.article__figure.no-grid .article__caption {
  margin-top: 8px;
}

.site-header {
  --h: 60px;
  background: rgba(255, 255, 255, 0.92);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.5), rgba(16, 185, 129, 0.5), rgba(99, 102, 241, 0.5));
  pointer-events: none;
}

.site-header__toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.8);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  backdrop-filter: blur(6px) saturate(140%);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.site-header__toggle-line {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.site-header__toggle-line:nth-child(1) {
  top: 12px;
}

.site-header__toggle-line:nth-child(2) {
  top: 19px;
}

.site-header__toggle-line:nth-child(3) {
  top: 26px;
}

.site-header.is-open .site-header__toggle-line:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.site-header.is-open .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__toggle-line:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.site-header__overlay {
  display: none;
}

.site-header__mobile {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--h);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 49;
}

.site-header__mobile ul {
  display: grid;
  padding: 12px 16px 16px;
  gap: 6px;
}

.site-header__mobile a {
  display: block;
  padding: 14px 12px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(203, 213, 225, 0.8);
}

.site-header__mobile a:hover {
  background: rgba(226, 232, 240, 0.9);
}

.site-header.is-open .site-header__mobile {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header.is-open + .page {
}

.site-header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 48;
}

.site-header.is-open .site-header__overlay {
  opacity: 1;
  pointer-events: auto;
  display: block;
}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 600px) {
  .site-header__title {
    display: none;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__toggle {
    display: inline-block;
  }

  .site-header__inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #0f172a;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 6px rgba(2, 6, 23, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.3s ease, border-color 0.3s ease;
  text-transform: uppercase;
  font-size: 12px;
}

.news-badge:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 14px rgba(2, 6, 23, 0.10);
  background: linear-gradient(135deg, #f1f5f9 0%, #e0e7ff 100%);
  border-color: #d1d5db;
}

.news-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffedd5 0, #fb923c 40%, #ea580c 100%);
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.15), 0 0 8px rgba(234, 88, 12, 0.35);
  animation: pulseNews 1.8s ease-in-out infinite;
}

@keyframes pulseNews {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.18), 0 0 8px rgba(234, 88, 12, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.10), 0 0 14px rgba(234, 88, 12, 0.55);
    transform: scale(1.04);
  }
}

.site-header__mobile-news {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 16px 0;
  padding: 14px 14px;
  border-radius: 12px;
  font-weight: 700;
  color: #0f172a;
  border: 1px dashed #fed7aa;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(255, 237, 213, 0.9));
}

.site-header__mobile-news .news-badge__dot {
  width: 10px;
  height: 10px;
}

.hash {
  color: #009eff;
}

.site-footer {
  margin-top: 28px;
  padding: 22px 0 28px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.6), rgba(16, 185, 129, 0.6), rgba(99, 102, 241, 0.6));
}

.site-footer__head {
  text-align: center;
  margin-bottom: 14px;
}

.site-footer__title {
  font-size: clamp(18px, 3.6vw, 22px);
  color: #0f172a;
  margin-bottom: 6px;
}

.site-footer__subtitle {
  font-size: 13px;
  color: #64748b;
}

/* Certificates: mobile-first (horizontal scroll with snap) */
.certs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.certs::-webkit-scrollbar {
  height: 8px;
}

.certs::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.certs::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.6);
}

.certs__item {
  scroll-snap-align: start;
  flex: 0 0 72%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.06);
  display: block;
}

.certs__item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

/* Larger screens: nice grid */
@media (min-width: 700px) {
  .certs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    overflow: visible;
  }

  .certs__item {
    flex: initial;
  }

  .certs__item img {
    height: 260px;
  }
}
