html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: sans-serif;
}

body {
  margin: 0;
}

footer,
header,
main,
nav,
section {
  display: block;
}

a {
  background-color: #0000;
}

a:active,
a:hover {
  outline: 0;
}

h1 {
  margin: .67em 0;
  font-size: 2em;
}

img {
  border: 0;
}

button {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button {
  text-transform: none;
}

button {
  -webkit-appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

@font-face {
  font-family: webflow-icons;
  src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBiUAAAC8AAAAYGNtYXDpP+a4AAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5ZmhS2XEAAAGAAAADHGhlYWQTFw3HAAAEnAAAADZoaGVhCXYFgQAABNQAAAAkaG10eCe4A1oAAAT4AAAAMGxvY2EDtALGAAAFKAAAABptYXhwABAAPgAABUQAAAAgbmFtZSoCsMsAAAVkAAABznBvc3QAAwAAAAAHNAAAACAAAwP4AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAwPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAQAAAAAwACAACAAQAAQAg5gPpA//9//8AAAAAACDmAOkA//3//wAB/+MaBBcIAAMAAQAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEBIAAAAyADgAAFAAAJAQcJARcDIP5AQAGA/oBAAcABwED+gP6AQAABAOAAAALgA4AABQAAEwEXCQEH4AHAQP6AAYBAAcABwED+gP6AQAAAAwDAAOADQALAAA8AHwAvAAABISIGHQEUFjMhMjY9ATQmByEiBh0BFBYzITI2PQE0JgchIgYdARQWMyEyNj0BNCYDIP3ADRMTDQJADRMTDf3ADRMTDQJADRMTDf3ADRMTDQJADRMTAsATDSANExMNIA0TwBMNIA0TEw0gDRPAEw0gDRMTDSANEwAAAAABAJ0AtAOBApUABQAACQIHCQEDJP7r/upcAXEBcgKU/usBFVz+fAGEAAAAAAL//f+9BAMDwwAEAAkAABcBJwEXAwE3AQdpA5ps/GZsbAOabPxmbEMDmmz8ZmwDmvxmbAOabAAAAgAA/8AEAAPAAB0AOwAABSInLgEnJjU0Nz4BNzYzMTIXHgEXFhUUBw4BBwYjNTI3PgE3NjU0Jy4BJyYjMSIHDgEHBhUUFx4BFxYzAgBqXV6LKCgoKIteXWpqXV6LKCgoKIteXWpVSktvICEhIG9LSlVVSktvICEhIG9LSlVAKCiLXl1qal1eiygoKCiLXl1qal1eiygoZiEgb0tKVVVKS28gISEgb0tKVVVKS28gIQABAAABwAIAA8AAEgAAEzQ3PgE3NjMxFSIHDgEHBhUxIwAoKIteXWpVSktvICFmAcBqXV6LKChmISBvS0pVAAAAAgAA/8AFtgPAADIAOgAAARYXHgEXFhUUBw4BBwYHIxUhIicuAScmNTQ3PgE3NjMxOAExNDc+ATc2MzIXHgEXFhcVATMJATMVMzUEjD83NlAXFxYXTjU1PQL8kz01Nk8XFxcXTzY1PSIjd1BQWlJJSXInJw3+mdv+2/7c25MCUQYcHFg5OUA/ODlXHBwIAhcXTzY1PTw1Nk8XF1tQUHcjIhwcYUNDTgL+3QFt/pOTkwABAAAAAQAAmM7nP18PPPUACwQAAAAAANciZKUAAAAA1yJkpf/9/70FtgPDAAAACAACAAAAAAAAAAEAAAPA/8AAAAW3//3//QW2AAEAAAAAAAAAAAAAAAAAAAAMBAAAAAAAAAAAAAAAAgAAAAQAASAEAADgBAAAwAQAAJ0EAP/9BAAAAAQAAAAFtwAAAAAAAAAKABQAHgAyAEYAjACiAL4BFgE2AY4AAAABAAAADAA8AAMAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEADQAAAAEAAAAAAAIABwCWAAEAAAAAAAMADQBIAAEAAAAAAAQADQCrAAEAAAAAAAUACwAnAAEAAAAAAAYADQBvAAEAAAAAAAoAGgDSAAMAAQQJAAEAGgANAAMAAQQJAAIADgCdAAMAAQQJAAMAGgBVAAMAAQQJAAQAGgC4AAMAAQQJAAUAFgAyAAMAAQQJAAYAGgB8AAMAAQQJAAoANADsd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzUmVndWxhcgBSAGUAZwB1AGwAYQByd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  color: #333;
  background-color: #fff;
  min-height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
}

.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

h1,
h2,
h3,
h6 {
  margin-bottom: 10px;
  font-weight: bold;
}

h1 {
  margin-top: 20px;
  font-size: 38px;
  line-height: 44px;
}

h2 {
  margin-top: 20px;
  font-size: 32px;
  line-height: 36px;
}

h3 {
  margin-top: 20px;
  font-size: 24px;
  line-height: 30px;
}

h6 {
  margin-top: 10px;
  font-size: 12px;
  line-height: 18px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

button,
[type="button"] {
  cursor: pointer;
  -webkit-appearance: button;
  border: 0;
}

:root {
  --background: #e6e5dd;
  --main-font: Barlow, sans-serif;
  --paragraphs: #08090dbd;
  --heading-font: Unbounded, sans-serif;
  --heading: #08090d;
  --border: #08090d26;
  --accent: #d33c2e;
  --corner-12: .75em;
  --light: #f4f1ee;
  --corner-8: .5em;
  --accent-darker: #c02f21;
  --midnight-a: #282b33;
  --light-border: #f4f1ee33;
  --background-darker: #d9d7ce;
  --midnight-b: #1b1d24;
  --quill-grey: #cecbc1;
}

.w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

body {
  background-color: var(--background);
  font-family: var(--main-font);
  color: var(--paragraphs);
  font-size: 16px;
  line-height: 160%;
}

h1 {
  font-family: var(--heading-font);
  color: var(--heading);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 4em;
  font-weight: 600;
  line-height: 110%;
}

h2 {
  font-family: var(--heading-font);
  color: var(--heading);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.87em;
  font-weight: 600;
  line-height: 116%;
}

h3 {
  font-family: var(--heading-font);
  color: var(--heading);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.37em;
  font-weight: 600;
  line-height: 117%;
}

h6 {
  font-family: var(--heading-font);
  color: var(--heading);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.25em;
  font-weight: 600;
  line-height: 122%;
}

p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.12em;
  line-height: 160%;
}

a {
  text-decoration: underline;
}

.preloader-a {
  z-index: 15;
  background-color: var(--accent-darker);
  width: 100%;
  height: 0%;
  margin-top: auto;
  position: absolute;
  inset: 0%;
}

.preloader-b {
  z-index: 25;
  background-color: var(--accent);
  width: 100%;
  height: 0%;
  margin-top: auto;
  position: absolute;
  inset: 0%;
}

.section {
  padding: 0 .62em .62em;
}

.preloader {
  z-index: 300;
  background-color: var(--background-darker);
  width: 100%;
  height: 0%;
  margin-top: auto;
  position: absolute;
  inset: 0%;
}

.preloader.midnight-b {
  background-color: var(--midnight-b);
}

.preloader.red-darker {
  background-color: var(--accent-darker);
}

.preloader.red {
  background-color: var(--accent);
}

.preloader.midnight-a {
  background-color: var(--midnight-a);
}

.preloader.quill-grey {
  background-color: var(--quill-grey);
}

.paragraph {
  max-width: 28em;
  margin-bottom: .7em;
}

.subheading {
  color: var(--accent);
  letter-spacing: .035em;
  text-transform: uppercase;
  margin-bottom: -1.2em;
  font-size: .875em;
  font-weight: 600;
  line-height: 120%;
}

.block-services {
  z-index: 30;
  grid-column-gap: 2.7em;
  grid-row-gap: 2.7em;
  border-top: 1px solid var(--light-border);
  flex-flow: row;
  width: 100%;
  margin-top: auto;
  padding-top: 2.7em;
  display: flex;
  position: relative;
}

.services {
  width: 100%;
}

.services.right {
  grid-column-gap: 2.2em;
  grid-row-gap: 2.2em;
  border-left: 1px solid var(--light-border);
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 2.7em;
  display: flex;
}

.heading-services {
  color: var(--light);
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 14ch;
  font-size: 5vw;
  line-height: 106%;
  display: flex;
}

.gradient-services {
  z-index: 10;
  background-image: linear-gradient(180deg, #08090d00, var(--heading));
  width: 100%;
  position: absolute;
  inset: 50% 0% 0%;
}

.grid {
  grid-column-gap: .62em;
  grid-row-gap: .62em;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
}

.block {
  border-radius: var(--corner-12);
  background-color: var(--light);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 9em 20%;
  display: flex;
  position: relative;
  overflow: clip;
}

.block-text {
  z-index: 50;
  grid-column-gap: 1.7em;
  grid-row-gap: 1.7em;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 36em;
  display: flex;
  position: relative;
}

.check-icon {
  border: 1px solid var(--border);
  background-image: url("image/check.svg");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 1em 1em;
  border-radius: 100%;
  flex: none;
  width: 1.75em;
  height: 1.75em;
}

.check-icon.light {
  border-color: var(--light-border);
  background-image: url("image/checkw.svg");
}

.checklist {
  grid-column-gap: .8em;
  grid-row-gap: .8em;
  flex-flow: column;
  width: 100%;
  max-width: 36em;
  display: flex;
}

.check {
  grid-column-gap: .6em;
  grid-row-gap: .6em;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.paragraph-check {
  color: var(--heading);
  font-weight: 500;
}

.paragraph-check.light {
  color: var(--light);
}

.icon-link-block {
  width: 1.25em;
  height: 1.25em;
}

.link-block {
  grid-column-gap: .4em;
  grid-row-gap: .4em;
  border-radius: var(--corner-8);
  background-color: var(--background);
  box-shadow: inset 0 0 0 0 var(--accent);
  color: var(--heading);
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  margin-top: .4em;
  margin-right: .4em;
  padding: .8em 1.2em;
  text-decoration: none;
  transition: color .3s cubic-bezier(.25, .46, .45, .94), box-shadow .3s cubic-bezier(.25, .46, .45, .94);
  display: inline-flex;
}

.link-block:hover {
  box-shadow: inset 0 0 0 2px var(--accent);
  color: var(--accent);
}

.link-block.dark {
  background-color: var(--heading);
  box-shadow: inset 0 0 0 1px var(--light-border);
  color: var(--light);
}

.link-block.dark:hover {
  box-shadow: inset 0 0 0 2px var(--accent);
  color: var(--accent);
}

.text-link-block {
  letter-spacing: .035em;
  text-transform: uppercase;
  font-size: .875em;
  font-weight: 600;
  line-height: 120%;
}

.strip {
  border-radius: var(--corner-12);
  background-color: var(--accent);
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  padding-top: .3vw;
  padding-bottom: .3vw;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: clip;
}

.block-strip {
  flex-flow: row;
  flex: none;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.heading-strip {
  color: var(--light);
  flex: none;
  font-size: 7.2vw;
}

.circle-strip {
  background-color: var(--light);
  border-radius: 100%;
  width: 1.5vw;
  height: 1.5vw;
  margin-left: 2.2vw;
  margin-right: 2.2vw;
}

.footer {
  border-radius: var(--corner-12);
  background-color: var(--heading);
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding-top: 9em;
  padding-left: 10%;
  padding-right: 10%;
  display: flex;
  position: relative;
  overflow: clip;
}

.grid-footer {
  grid-column-gap: 1.5em;
  grid-row-gap: 1.5em;
  grid-template-rows: auto;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  width: 100%;
  margin-bottom: 9em;
}

.block-footer {
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.heading-footer {
  color: var(--light);
  margin-top: .2em;
  margin-bottom: 2em;
  font-size: 1em;
}

.link-footer {
  text-align: center;
  padding-top: .55em;
  padding-bottom: .55em;
  text-decoration: none;
  position: relative;
}

.footer-text-block {
  z-index: 10;
  position: relative;
  overflow: clip;
}

.footer-text {
  opacity: .5;
  color: var(--light);
  letter-spacing: .035em;
  text-transform: uppercase;
  font-size: .875em;
  font-weight: 500;
  line-height: 120%;
}

.footer-text.absolute {
  opacity: 1;
  position: absolute;
  inset: 100% 0% auto;
}

.paragraph-footer {
  opacity: .5;
  color: var(--light);
  max-width: 22em;
  margin-bottom: 1.8em;
  font-size: 1em;
}

.logo-footer {
  height: 1.5em;
  margin-bottom: 2.2em;
}

.section-top {
  justify-content: center;
  align-items: stretch;
  min-height: 50vh;
  padding: .62em;
  display: flex;
}

.block-top {
  z-index: 20;
  grid-column-gap: 2.7em;
  grid-row-gap: 2.7em;
  border-top: 1px solid var(--light-border);
  flex-flow: row;
  width: 100%;
  margin: auto 2.7em 2.7em;
  padding-top: 2.7em;
  display: flex;
  position: relative;
}

.block-text-top {
  width: 100%;
}

.block-text-top.right {
  border-left: 1px solid var(--light-border);
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 40%;
  padding-left: 2.7em;
  display: flex;
}

.paragraph-top {
  color: var(--light);
  max-width: 15em;
}

.top {
  border-radius: var(--corner-12);
  background-color: var(--midnight-a);
  justify-content: center;
  align-items: stretch;
  width: 100%;
  padding-top: 16em;
  display: flex;
  position: relative;
  overflow: clip;
}

.heading-top {
  color: var(--light);
  max-width: 14ch;
  font-size: 5vw;
  line-height: 106%;
}

.image-top {
  z-index: 10;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.img-gradient-top {
  z-index: 12;
  background-image: linear-gradient(180deg, #08090d00 45%, var(--heading));
  position: absolute;
  inset: 0%;
}

.grid-lass {
  grid-column-gap: .62em;
  grid-row-gap: .62em;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
}

.lass {
  border-radius: var(--corner-12);
  background-color: var(--light);
  flex-flow: column;
  padding: 4em;
  display: flex;
  position: relative;
  overflow: clip;
}

.image-lass {
  border-radius: var(--corner-8);
  object-fit: cover;
  height: 26vw;
}

.block-lass {
  grid-column-gap: 1.5em;
  grid-row-gap: 1.5em;
  border-bottom: 1px solid var(--border);
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2.6em;
  padding-top: 2.6em;
  padding-bottom: 2.6em;
  display: flex;
}

.icon-lass {
  width: 2.75em;
  height: 2.75em;
}

.services-large {
  border-radius: var(--corner-12);
  background-color: var(--heading);
  position: relative;
  overflow: clip;
}

.image-services-large {
  border-radius: var(--corner-12);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.block-text-large {
  flex-flow: column;
  padding: 2.7em 2.7em 5em;
  display: flex;
}

.block-image-large {
  position: relative;
}

.paragraph-services-large {
  opacity: .7;
  color: var(--light);
  max-width: 36em;
}

.image-grid {
  border-radius: var(--corner-12);
  object-fit: cover;
  width: 100%;
  position: relative;
}

.block-image-grid {
  border-radius: var(--corner-12);
  flex-flow: row;
  display: flex;
  position: relative;
  overflow: clip;
}

.grid-img {
  grid-column-gap: .62em;
  grid-row-gap: .62em;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  height: 40vw;
}

.image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 3.2em;
  }

  h2 {
    font-size: 2.5em;
  }

  h3 {
    font-size: 2em;
  }

  .block {
    padding: 7em 15%;
  }

  .heading-strip {
    font-size: 9vw;
  }

  .circle-strip {
    width: 2vw;
    height: 2vw;
  }

  .footer {
    padding-top: 7em;
  }

  .grid-footer {
    margin-bottom: 7em;
  }

  .link-footer {
    text-align: left;
    display: block;
  }

  .section-top {
    min-height: auto;
  }

  .heading-top {
    font-size: 7vw;
  }

  .lass {
    padding: 2.6em;
  }

  .block-lass {
    margin-bottom: 1.8em;
    padding-top: 1.8em;
    padding-bottom: 1.8em;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 2.6em;
  }

  h2 {
    font-size: 2.1em;
  }

  h3 {
    font-size: 1.7em;
  }

  h6 {
    font-size: 1.15em;
  }

  .block-services {
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
    flex-flow: column;
    padding-top: 1.5em;
  }

  .services.right {
    border-top: 1px solid var(--light-border);
    border-left-style: none;
    padding-top: 1.5em;
    padding-left: 0;
  }

  .heading-services {
    font-size: 7vw;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .block {
    padding-top: 5em;
    padding-bottom: 5em;
  }

  .heading-strip {
    font-size: 11vw;
  }

  .circle-strip {
    width: 2.2vw;
    height: 2.2vw;
  }

  .footer {
    padding-top: 5em;
  }

  .grid-footer {
    grid-row-gap: 5em;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 5em;
  }

  .block-top {
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    flex-flow: column;
    margin-bottom: 2em;
    padding-top: 2em;
  }

  .block-text-top.right {
    border-left-style: none;
    width: 100%;
    padding-left: 0;
  }

  .paragraph-top {
    max-width: none;
  }

  .top {
    padding-top: 12em;
  }

  .grid-lass {
    grid-template-columns: 1fr;
  }

  .image-lass {
    height: 52vw;
  }

  .block-lass {
    grid-column-gap: 1em;
    grid-row-gap: 1em;
  }

  .icon-lass {
    width: 2em;
    height: 2em;
  }

  .block-text-large {
    padding-bottom: 4em;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    font-size: 2.2em;
  }

  h2 {
    font-size: 1.8em;
  }

  h3 {
    font-size: 1.5em;
  }

  h6 {
    font-size: 1.1em;
  }

  .services.right {
    padding-top: 1.2em;
  }

  .heading-services {
    font-size: 8vw;
  }

  .heading-strip {
    font-size: 15vw;
  }

  .circle-strip {
    width: 3.4vw;
    height: 3.4vw;
  }

  .grid-footer {
    grid-row-gap: 4em;
    grid-template-columns: 1fr;
  }

  .block-top {
    margin-bottom: 1.4em;
    margin-left: 1.4em;
    margin-right: 1.4em;
    padding-top: 1.4em;
  }

  .paragraph-top {
    font-size: 1em;
  }

  .heading-top {
    font-size: 9vw;
  }

  .lass {
    padding: 1.7em;
  }

  .block-lass {
    margin-bottom: 1.3em;
    padding-top: 1.3em;
    padding-bottom: 1.3em;
  }

  .paragraph-lass {
    font-size: 1em;
  }

  .block-text-large {
    padding: 1.7em 1.7em 2.8em;
  }

  .paragraph-services-large {
    font-size: 1em;
  }

  .grid-img {
    grid-template-columns: 1fr;
    height: 300vw;
  }
}


/* ===== Новый header OlimpClub ===== */

.oc-navbar {
  z-index: 999;
  position: fixed;
  top: 1.25em;
  left: 1.25em;
  right: 1.25em;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  /* чтобы клики шли по внутреннему блоку */
}

.oc-nav-inner {
  pointer-events: auto;
  border: 1px solid var(--border);
  border-radius: var(--corner-12);
  background-color: var(--light);
  box-shadow: 0 16px 40px -20px #08090d1a;
  width: 100%;
  max-width: 90em;
  padding: 0.25em;
  display: flex;
  align-items: center;
}

.oc-nav-logo {
  display: flex;
  align-items: center;
  padding: 0.5em 1.2em;
  text-decoration: none;
}

.oc-logo-img {
  height: 1.5em;
  display: block;
}

.oc-nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25em;
}

.oc-nav-link {
  position: relative;
  padding: 1.4em 1.2em;
  text-decoration: none;
  text-align: center;
  color: var(--heading);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  font-size: 0.875em;
  font-weight: 500;
  line-height: 120%;
}

.oc-nav-link::after {
  content: "";
  position: absolute;
  left: 1.2em;
  right: 1.2em;
  bottom: 0.9em;
  height: 2px;
  border-radius: 999px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.oc-nav-link:hover::after,
.oc-nav-link--current::after {
  transform: scaleX(1);
}

.oc-nav-cta {
  position: relative;
  margin-left: 0.8em;
  padding: 1.4em 2.4em;
  border-radius: var(--corner-8);
  background-color: var(--heading);
  text-decoration: none;
  overflow: clip;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oc-nav-cta-text {
  position: relative;
  z-index: 10;
  color: var(--light);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  font-size: 0.875em;
  font-weight: 500;
  line-height: 120%;
}

.oc-nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--accent);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  z-index: 5;
}

.oc-nav-cta:hover::before {
  transform: translateY(0);
}

/* Бургер */

.oc-nav-toggle {
  border: none;
  background: var(--heading);
  color: var(--light);
  border-radius: var(--corner-8);
  padding: 0.9em;
  margin-left: auto;
  display: none;
  /* показываем только на мобилках */
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.oc-nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--light);
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.oc-nav-toggle-line+.oc-nav-toggle-line {
  margin-top: 4px;
}

/* Анимация крестика */

.oc-navbar.oc-nav-open .oc-nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.oc-navbar.oc-nav-open .oc-nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.oc-navbar.oc-nav-open .oc-nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== Респонсив ===== */

@media screen and (max-width: 991px) {
  .oc-nav-menu {
    position: absolute;
    left: 1.25em;
    right: 1.25em;
    top: calc(100% + 0.4em);
    border-radius: var(--corner-12);
    border: 1px solid var(--border);
    background-color: var(--light);
    padding: 0.8em 1em 1em;
    display: none;
    /* по умолчанию скрыто, управляет JS */
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 16px 40px -20px #08090d1a;
  }

  .oc-nav-link {
    padding: 0.9em 0.8em;
    text-align: left;
  }

  .oc-nav-link::after {
    display: none;
  }

  .oc-nav-cta {
    margin-left: 0;
    margin-top: 0.5em;
    width: 100%;
    justify-content: center;
  }

  .oc-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 767px) {
  .oc-navbar {
    left: 0.62em;
    right: 0.62em;
  }

  .oc-nav-inner {
    padding: 0.2em 0.3em;
  }

  .oc-nav-logo {
    padding-right: 0.5em;
  }
}