:root {
  --protiva-nav-ink: #181416;
  --protiva-nav-soft: #34282d;
  --protiva-nav-coral: #d92d4b;
  --protiva-nav-wine: #961b35;
  --protiva-nav-gold: #c98228;
  --protiva-nav-line: #e3dadd;
}

.protiva-page-nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.protiva-page-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--protiva-nav-ink);
  font-weight: 900;
  text-decoration: none;
}

.protiva-page-brand:hover,
.protiva-page-brand:focus-visible {
  text-decoration: none;
}

.protiva-page-brand img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.protiva-page-brand span {
  overflow-wrap: anywhere;
  line-height: 1.1;
}

.protiva-nav-on-dark .protiva-page-brand {
  color: #fff;
}

.protiva-menu-shell {
  position: relative;
  z-index: 1000;
  display: grid;
  place-items: center;
}

.protiva-menu-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(150, 27, 53, .16);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(255, 248, 244, .62));
  color: var(--protiva-nav-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 12px 24px rgba(150, 27, 53, .11);
  cursor: pointer;
}

.protiva-menu-button:hover,
.protiva-menu-button:focus-visible {
  border-color: rgba(150, 27, 53, .28);
  background: #fff;
}

.protiva-menu-icon,
.protiva-menu-icon::before,
.protiva-menu-icon::after {
  width: 23px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.protiva-menu-icon {
  position: relative;
}

.protiva-menu-icon::before,
.protiva-menu-icon::after {
  position: absolute;
  left: 0;
}

.protiva-menu-icon::before {
  top: -7px;
}

.protiva-menu-icon::after {
  top: 7px;
}

.protiva-menu-button[aria-expanded="true"] .protiva-menu-icon {
  background: transparent;
}

.protiva-menu-button[aria-expanded="true"] .protiva-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.protiva-menu-button[aria-expanded="true"] .protiva-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.protiva-page-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1001;
  width: min(294px, calc(100vw - 32px));
  max-height: min(456px, 68vh);
  padding: 10px;
  border: 1px solid rgba(150, 27, 53, .16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,247,.95));
  box-shadow: 0 22px 48px rgba(48, 16, 28, .18), inset 0 1px 0 rgba(255,255,255,.9);
  scrollbar-color: rgba(150, 27, 53, .34) rgba(150, 27, 53, .06);
  scrollbar-width: thin;
  overflow-y: auto;
}

.protiva-page-menu::-webkit-scrollbar {
  width: 7px;
}

.protiva-page-menu::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(150, 27, 53, .06);
}

.protiva-page-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(150, 27, 53, .34);
}

.protiva-common-footer {
  overflow: hidden;
  border-top: 1px solid rgba(150, 27, 53, .12);
  background:
    radial-gradient(circle at 88% 0%, rgba(201, 130, 40, .16), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff7f4 100%);
  color: var(--protiva-nav-ink);
}

.protiva-footer-art-strip {
  height: 96px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.28), rgba(255,255,255,.9)),
    url("/assets/more-student-work.jpg") center 42% / cover;
  border-bottom: 1px solid rgba(150, 27, 53, .1);
}

.protiva-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 24px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.protiva-footer-brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border: 7px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 30px rgba(150, 27, 53, .12);
}

.protiva-footer-contact strong,
.protiva-footer-contact span {
  display: block;
}

.protiva-footer-contact strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.05;
}

.protiva-footer-contact span {
  margin-top: 5px;
  color: rgba(25, 23, 22, .68);
  font-size: 13px;
}

.protiva-footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.protiva-footer-social a:not(.protiva-footer-enroll) {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(150, 27, 53, .14);
  border-radius: 50%;
  background: rgba(255,255,255,.76);
  color: var(--protiva-nav-wine);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(150, 27, 53, .08);
  text-decoration: none;
}

.protiva-footer-social svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}

.protiva-footer-enroll {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--protiva-nav-wine), var(--protiva-nav-coral), #dc7c12);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(150, 27, 53, .18);
  text-decoration: none;
}

.protiva-footer-links {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 11px;
}

.protiva-footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 0;
  border: 0;
  background: transparent;
  color: rgba(25, 23, 22, .68);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.protiva-footer-links a:hover,
.protiva-footer-links a:focus-visible {
  color: var(--protiva-nav-wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.protiva-footer-bottom {
  padding: 13px 24px 16px;
  border-top: 1px solid rgba(150, 27, 53, .1);
  color: rgba(25, 23, 22, .46);
  font-size: 11px;
  text-align: center;
}

.protiva-quick-top {
  position: fixed;
  top: 50%;
  right: max(8px, env(safe-area-inset-right, 0px));
  bottom: auto;
  z-index: 900;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(150, 27, 53, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--protiva-nav-wine);
  box-shadow: 0 10px 24px rgba(48, 16, 28, .12);
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity .18s ease, transform .18s ease;
}

.protiva-quick-top::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.protiva-quick-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.protiva-page-menu[hidden] {
  display: none !important;
}

.protiva-page-menu:not([hidden]) {
  display: grid;
  gap: 2px;
}

.protiva-page-menu a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgba(150, 27, 53, .055);
  background: rgba(255,255,255,.54);
  color: var(--protiva-nav-soft);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.protiva-page-menu a::after {
  display: none;
  content: "";
}

.protiva-page-menu a:hover,
.protiva-page-menu a:focus-visible {
  background: rgba(150, 27, 53, .08);
  border-color: rgba(150, 27, 53, .14);
  color: var(--protiva-nav-wine);
  text-decoration: none;
}

@media (max-width: 760px) {
  .protiva-page-nav {
    padding-top: 10px;
  }

  .protiva-page-brand img {
    width: 42px;
    height: 42px;
  }

  .protiva-menu-button {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .protiva-menu-icon,
  .protiva-menu-icon::before,
  .protiva-menu-icon::after {
    width: 20px;
  }

  .protiva-page-menu {
    position: fixed;
    top: var(--protiva-page-menu-top, 62px);
    right: auto;
    left: auto;
    left: var(--protiva-page-menu-left, 12px);
    width: min(var(--protiva-page-menu-width, 248px), calc(100vw - 24px));
    max-height: min(var(--protiva-page-menu-max-height, 430px), calc(100svh - var(--protiva-page-menu-top, 62px) - 16px));
  }

  .protiva-page-menu a {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
    text-align: left;
  }

  .protiva-footer-art-strip {
    height: 76px;
  }

  .protiva-footer-inner {
    width: calc(100% - 36px);
    grid-template-columns: 76px 1fr;
    gap: 14px;
    padding: 26px 0 18px;
  }

  .protiva-footer-brand img {
    width: 70px;
    height: 70px;
  }

  .protiva-footer-contact strong {
    font-size: 18px;
  }

  .protiva-footer-social {
    grid-column: 1 / -1;
    justify-content: center;
    padding-top: 14px;
    border-top: 1px solid rgba(150, 27, 53, .12);
  }

  .protiva-footer-links {
    width: calc(100% - 36px);
    gap: 4px 10px;
    padding-bottom: 12px;
  }

  .protiva-footer-links a {
    padding: 1px 0;
    font-size: 10px;
  }
}
