:root {
  --eventy-red: #b8756f;
  --eventy-green: #8aa7a5;
  --eventy-blue: #6e8da2;
  --eventy-ink: #3f3935;
  --eventy-base: #f7efdf;
  --eventy-cream: #fffaf2;
}

html {
  background: #f7efdf;
  color: #3f3935;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

*,
button,
input,
select,
textarea {
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(176deg, rgba(92, 74, 48, 0.05) 0 1px, transparent 1px 100px),
    #f7efdf;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 84px;
  padding: 18px 24px 14px;
  background: rgba(247, 239, 223, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 117, 111, 0.14);
  box-shadow: 0 16px 38px rgba(110, 141, 162, 0.08);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--eventy-red), var(--eventy-green), var(--eventy-blue));
  content: "";
  opacity: 0.58;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #3f3935;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #3f3935;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  box-sizing: border-box;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(184, 117, 111, 0.16);
}

.footer-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a,
.site-nav .nav-action,
.site-footer a {
  color: #3f3935;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav .nav-action:hover,
.site-footer a:hover {
  color: #6e8da2;
  text-decoration: underline;
}

.site-footer .footer-brand {
  font-size: 15px;
}

.site-nav .nav-action {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(180, 120, 86, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(184, 117, 111, 0.14), rgba(138, 167, 165, 0.12)),
    rgba(255, 250, 240, 0.84);
  cursor: pointer;
  place-items: center;
}

.site-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px auto;
  border-radius: 999px;
  background: #3f3935;
}

.legal-page {
  min-height: calc(100vh - 194px);
  box-sizing: border-box;
  padding: 34px 28px 0;
}

.language-menu {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  border: 1px solid rgba(110, 141, 162, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #3f3935;
  font: inherit;
  font-weight: 800;
  padding: 0 15px;
  cursor: pointer;
}

.language-chevron {
  font-size: 17px;
  line-height: 1;
  transform: translateY(-1px);
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 178px;
  padding: 8px;
  border: 1px solid rgba(110, 141, 162, 0.18);
  border-radius: 14px;
  background: rgba(255, 250, 244, 0.98);
  box-shadow: 0 18px 34px rgba(80, 52, 34, 0.1), 0 0 0 1px rgba(184, 117, 111, 0.06);
}

.language-menu.is-open .language-options {
  display: grid;
  gap: 2px;
}

.language-options button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #3f3935;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 11px;
  text-align: left;
}

.language-options button:hover,
.language-options button.is-active {
  background: linear-gradient(90deg, rgba(184, 117, 111, 0.1), rgba(138, 167, 165, 0.08));
}

.language-options button span:first-child {
  width: 28px;
  font-weight: 800;
}

.legal-document {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 0 72px;
}

.legal-document h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

.legal-document h1::after {
  display: block;
  width: 118px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--eventy-red), var(--eventy-green), var(--eventy-blue));
  content: "";
}

.legal-effective {
  margin: 0 0 24px;
  color: #776a5d;
  font-weight: 700;
}

.legal-document p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.68;
}

.contact-action a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(110, 141, 162, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(184, 117, 111, 0.12), rgba(138, 167, 165, 0.11)),
    #fffdf9;
  color: #3f3935;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(110, 141, 162, 0.1);
}

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

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 28px 42px;
  border-top: 1px solid rgba(126, 102, 61, 0.12);
}

.site-footer::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  top: 0;
  background: linear-gradient(90deg, rgba(184, 117, 111, 0.45), rgba(138, 167, 165, 0.42), rgba(110, 141, 162, 0.4));
  content: "";
  pointer-events: none;
}

.site-footer nav {
  display: flex;
  gap: 10px;
}

.site-footer nav a + a::before {
  content: "·";
  margin-right: 10px;
  color: #3f3935;
  text-decoration: none;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 16px;
  }

  .site-header {
    min-height: 74px;
    padding: 14px 18px;
  }

  .site-menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(180, 120, 86, 0.18);
    border-radius: 14px;
    background: rgba(255, 250, 244, 0.98);
    box-shadow: 0 18px 34px rgba(80, 52, 34, 0.12);
  }

  .site-header::after,
  .site-footer::before {
    right: 0;
    left: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-action {
    padding: 12px 14px;
  }

  .language-menu,
  .language-toggle {
    width: 100%;
  }

  .language-toggle {
    justify-content: space-between;
  }

  .language-options {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }

  .legal-document {
    padding-top: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 16px 34px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
