* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #444;
  background: #fff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 90px;
  background: #fff;
  border-bottom: 1px solid #e1e1e1;
}

.header-inner {
  width: min(100%, 1160px);
  min-height: 90px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo img {
  display: block;
  width: 300px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  color: #222;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: -1px;
  height: 2px;
  background: #9e2c2c;
}

.hero-slider {
  position: relative;
  height: min(42vw, 536px);
  min-height: 310px;
  overflow: hidden;
  background: #111;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: misianoSlider 15s infinite;
}

.slide:nth-child(2) {
  animation-delay: 5s;
}

.slide:nth-child(3) {
  animation-delay: 10s;
}

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

.slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.slider-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}

@keyframes misianoSlider {
  0%, 29% {
    opacity: 1;
  }
  35%, 100% {
    opacity: 0;
  }
}

.page-wrap {
  border-top: 1px solid #e1e1e1;
}

.content {
  width: min(100%, 1030px);
  margin: 0 auto;
  padding: 50px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .72fr);
  gap: 48px;
  align-items: start;
}

.text-block p {
  margin: 0 0 13px;
}

.text-block strong {
  color: #333;
}

.page-photo {
  display: block;
  max-width: 100%;
  height: auto;
}

.privacy-content {
  color: #555;
}

.privacy-content p {
  margin: 0 0 13px;
}

.privacy-content table {
  width: 100%;
  margin: 12px 0 20px;
  border-collapse: collapse;
}

.privacy-content td {
  padding: 9px 10px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.privacy-content ul {
  margin: 0 0 16px 22px;
  padding: 0;
}

.site-footer {
  padding: 31px 20px 27px;
  color: #8d8d8d;
  background: #222;
  border-top: 1px solid #333;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-line {
  display: inline-block;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  padding: 12px 20px;
  color: #fff;
  background: rgba(0, 0, 0, .9);
  text-align: center;
}

.cookie-bar p {
  margin: 0 12px 0 0;
}

.cookie-bar a,
.cookie-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-bar button {
  min-width: 80px;
  border-color: #fff;
  background: #fff;
  color: #111;
  font-weight: 400;
}

.cookie-bar.is-hidden {
  display: none;
}

@media (max-width: 767px) {
  .site-header {
    position: relative;
    min-height: 80px;
  }

  .header-inner {
    min-height: 80px;
    padding: 12px 24px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .logo img {
    width: 220px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    min-height: 36px;
  }

  .main-nav a {
    padding: 0 8px;
    font-size: 11px;
  }

  .main-nav a.active::after {
    left: 8px;
    right: 8px;
  }

  .hero-slider {
    height: 54vw;
    min-height: 240px;
  }

  .content {
    padding: 32px 24px;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    padding: 42px 14px 38px;
    font-size: clamp(9px, 2.35vw, 13px);
    line-height: 1.65;
  }

  .site-footer p {
    max-width: 100%;
    margin: 0 auto;
  }

  .site-footer .footer-line {
    white-space: nowrap;
  }

  .cookie-bar {
    flex-wrap: wrap;
    min-height: 96px;
  }

  .cookie-bar p {
    width: 100%;
    margin: 0;
  }
}
