*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --red:         #E52420;
  --red-dark:    #C41E1A;
  --red-alpha:   rgba(229, 36, 32, 0.12);
  --black:       #111111;
  --white:       #FFFFFF;
  --text-muted:  #555E6D;
  --border:      rgba(0, 0, 0, 0.07);

  --radius-xl:   36px;
  --radius-pill: 9999px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  color: var(--black);
  overflow-x: hidden;
  min-height: 100vh;
}

.navbar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.flags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flag {
  width: 34px;
  height: 23px;
  border: none;
  padding: 0;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  box-shadow: 0 1px 5px rgba(0,0,0,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  flex-shrink: 0;
}

.flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flag:hover {
  transform: scale(1.12);
  box-shadow: 0 3px 12px rgba(0,0,0,0.22);
}

.flag.is-active {
  box-shadow: 0 0 0 2.5px var(--red), 0 3px 10px rgba(229,36,32,0.3);
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(0,0,0,0.1);
}

.footer {
  background: var(--black);
  padding: 64px 40px 40px;
}

.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(18%) sepia(95%) saturate(2800%) hue-rotate(349deg) brightness(95%);
}

.footer__tagline {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 36px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer__link:hover {
  color: #ffffff;
}

@media (hover: none) and (pointer: coarse) {
  .flag:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
