@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&display=swap');

:root {
  --mono-dark: #7A0000;
  --mono-light: #ffffff;
  --mono-grey: #f4f4f4;
  
  /* ВАЖНО: font-base — простой системный шрифт */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-serif: 'Cinzel', serif;
  
  --gap-xl: clamp(2rem, 6vw, 5rem);
  --gap-l: clamp(1.5rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  line-height: 1.6;
  color: #222;
  background-color: var(--mono-light);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

.wrapper {
  width: min(90%, 1200px);
  margin-inline: auto;
}

.flow > * + * {
  margin-top: 1em;
}

/* Медиазапросы */
@media (min-width: 800px) {
  .trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .card {
    padding: 1.25rem;
  }

  .footer {
    text-align: center;
  }

  .hero__content {
    margin-top: -20%;
  }

  .logo {
    padding-left: 0;
    padding-right: 0;
  }
}
