.mg-footer {
  background: linear-gradient(180deg, #f7f2ea 0%, #f1ebe1 100%);
  border-top: 1px solid #e1d8cd;
  color: #2b2b2b;
  padding-bottom: 1000px;
}

.mg-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.mg-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.mg-footer__title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  color: #4a3f36;
}

.mg-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mg-footer__list a,
.mg-footer__details a {
  color: #2b2b2b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mg-footer__list a:hover,
.mg-footer__list a:focus,
.mg-footer__details a:hover,
.mg-footer__details a:focus {
  color: #946b3c;
}

.mg-footer__details p {
  margin: 0 0 14px;
  line-height: 1.6;
}

.mg-footer__company {
  margin-bottom: 12px;
}

.mg-footer__meta {
  font-weight: 600;
  color: #4a3f36;
}

.mg-footer__bottom {
  border-top: 1px solid #d9cec0;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.9rem;
  color: #4a3f36;
}

.mg-footer__bottom p {
  margin: 0;
}

@media (min-width: 700px) {
  .mg-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .mg-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mg-pdf-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100000;
}

.mg-pdf-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.mg-pdf-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 12, 8, 0.6);
  backdrop-filter: blur(2px);
}

.mg-pdf-modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  width: min(960px, 92vw);
  height: min(80vh, 720px);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mg-pdf-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #eee3d6;
  background: #fbf8f3;
}

.mg-pdf-modal__title {
  font-size: 1rem;
  margin: 0;
  color: #4a3f36;
}

.mg-pdf-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #4a3f36;
}

.mg-pdf-modal__body {
  flex: 1;
}

.mg-pdf-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f4efe7;
}

body.mg-modal-open {
  overflow: hidden;
}