@font-face {
  font-family: "TT Norms";
  src: url("../fonts/TTNorms-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Norms";
  src: url("../fonts/TTNorms-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Norms";
  src: url("../fonts/TTNorms-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Norms";
  src: url("../fonts/TTNorms-ExtraBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #dc0d15;
  --black: #000;
  --white: #fff;
  --gray: #6b6b6b;
  --font: "TT Norms", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 20px 20px auto;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.site-header a,
.site-header button {
  pointer-events: auto;
}

.logo img {
  width: 120px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.menu-toggle {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 5px;
  box-shadow: 0 8px 24px rgba(220, 13, 21, 0.35);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.nav-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.nav-drawer__list a {
  color: #fff;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav-drawer__list a:hover {
  color: var(--red);
}

.nav-drawer__contacts {
  margin-top: 40px;
}

.nav-drawer__contacts a {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.hero__decor--wave {
  left: 0;
  bottom: -5%;
  width: min(70vw, 900px);
  opacity: 0.95;
}

.hero__decor--circle-left {
  left: -8%;
  top: -10%;
  width: min(38vw, 420px);
  opacity: 0.7;
  animation: pulse 4s ease-in-out infinite;
}

.hero__decor--circle-right {
  right: -10%;
  top: 5%;
  width: min(42vw, 480px);
  opacity: 0.55;
}

.hero__decor--ring {
  right: 8%;
  top: 18%;
  width: min(36vw, 420px);
  animation: spin 75s linear infinite;
}

.hero__decor--triangle {
  left: 28%;
  top: 30%;
  width: min(22vw, 260px);
  opacity: 0.35;
}

.hero__layout {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  min-height: calc(100vh - 200px);
}

.hero__typed {
  min-height: 1.2em;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin-top: 28px;
  max-width: 420px;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.35;
  text-transform: uppercase;
  white-space: pre-line;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__visual img {
  width: min(100%, 560px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

/* Sections */
.section {
  padding: 90px 0;
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section-title {
  margin: 0 0 48px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title .accent {
  color: var(--red);
}

.pride-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pride-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 18px;
  min-height: 180px;
  display: grid;
  place-items: center;
}

.pride-card img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
  margin-top: 48px;
}

.brands-row img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.values-grid,
.speakers-grid,
.pubs-grid {
  display: grid;
  gap: 20px;
}

.values-grid {
  grid-template-columns: repeat(5, 1fr);
}

.speakers-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pubs-grid {
  grid-template-columns: repeat(5, 1fr);
}

.media-card {
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.assoc {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
}

.assoc__country {
  font-size: 28px;
  font-weight: 800;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.12em;
}

.assoc__list {
  display: grid;
  gap: 28px;
}

.assoc__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
}

.assoc__item h3 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Form */
.form-section {
  position: relative;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.form-section__decor {
  position: absolute;
  opacity: 0.35;
  pointer-events: none;
}

.form-section__decor--1 {
  right: -40px;
  top: 40px;
  width: 280px;
}

.form-section__decor--2 {
  left: -60px;
  bottom: 20px;
  width: 320px;
}

.form-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
  white-space: pre-line;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  padding: 14px 4px;
  outline: none;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-form label.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form label.check a {
  color: var(--red);
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 30px;
  background: var(--red);
  color: #fff;
  padding: 14px 28px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.form-message {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.form-message--ok {
  background: rgba(40, 180, 90, 0.2);
  color: #b7ffd0;
}

.form-message--err {
  background: rgba(220, 13, 21, 0.2);
  color: #ffc9cb;
}

/* Footer / contacts */
.contacts {
  padding: 70px 0 40px;
  background: #fff;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.contacts__text {
  font-size: 18px;
  line-height: 1.6;
}

.contacts__text strong {
  font-weight: 800;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  flex-wrap: wrap;
}

.social {
  display: flex;
  gap: 14px;
}

.social img {
  width: 28px;
  height: 28px;
}

/* Legal pages */
.page {
  min-height: 100vh;
  padding: 120px 0 80px;
}

.page h1 {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 48px);
}

.page-content {
  max-width: 760px;
  line-height: 1.7;
  font-size: 17px;
}

.page-content p {
  margin: 0 0 16px;
}

/* Cookie */
.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: min(360px, calc(100% - 40px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
  padding: 20px;
}

.cookie p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
}

.cookie a {
  color: var(--red);
  font-weight: 700;
}

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

.cookie__close {
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 960px) {
  .hero__layout,
  .form-layout,
  .contacts__grid,
  .assoc {
    grid-template-columns: 1fr;
  }

  .assoc__country {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .pride-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid,
  .speakers-grid,
  .pubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 100px;
  }

  .hero__visual {
    order: -1;
  }
}

@media (max-width: 560px) {
  .pride-grid,
  .values-grid,
  .speakers-grid,
  .pubs-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    width: 96px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }
}
