:root {
  --vygor-blue: #0b57b8;
  --vygor-blue-dark: #063d82;
  --italy-green: #16853f;
  --italy-white: #f2f4fa;
  --italy-red: #d92c2c;
  --text-dark: #10151c;
  --header-height: 188px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Kanit', 'Helvetica Neue', Arial, sans-serif;
  background: #fff;
  color: var(--text-dark);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  z-index: 20;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo--header {
  height: 145px;
  width: auto;
}

.site-nav a {
  color: var(--vygor-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.30rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  border-color: var(--vygor-blue);
}

/* Hero / background video */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--vygor-blue);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.hero-sponsor {
  position: absolute;
  bottom: clamp(16px, 4vw, 40px);
  right: clamp(16px, 4vw, 40px);
  z-index: 15;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  padding: 12px 16px;
  transition: transform 0.2s ease;
}

.hero-sponsor:hover {
  transform: translateY(-2px);
}

.logo--hero-sponsor {
  height: 100px;
  width: auto;
}

/* Footer */

.site-footer {
  background: var(--italy-white);
  padding: 48px clamp(20px, 5vw, 64px) 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo--footer {
  height: 168px;
  width: auto;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.footer-contact a {
  color: var(--vygor-blue-dark);
  text-decoration: none;
  font-size: 1.30rem;
  font-weight: 600;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-sponsor {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-sponsor__label {
  font-size: 1.30rem;
  color: #5b6472;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.logo--sponsor {
  height: 72px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.logo--sponsor:hover {
  opacity: 1;
}

.footer-copyright {
  text-align: center;
  margin-top: 28px;
  font-size: 1.30rem;
  color: #7a8290;
}

/* Responsive */

@media (max-width: 640px) {
  :root {
    --header-height: 114px;
  }

  .logo--header {
    height: 82px;
  }

  .site-nav a {
    font-size: 1.2rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact a,
  .footer-sponsor__label,
  .footer-copyright {
    font-size: 1.1rem;
  }

  .logo--footer {
    height: 100px;
  }

  .logo--sponsor {
    height: 48px;
  }

  .hero-sponsor {
    max-width: calc(100% - 32px);
    padding: 10px 14px;
  }

  .logo--hero-sponsor {
    height: 56px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .logo--footer {
    height: 130px;
  }

  .logo--sponsor {
    height: 56px;
  }
}
