.publication-hero {
  min-height: 100vh;
  padding: 150px 0 90px;
  background:
    linear-gradient(90deg, rgba(11, 11, 11, .9) 0%, rgba(11, 11, 11, .68) 52%, rgba(11, 11, 11, .35) 100%),
    url("../img/hero_pricebrochure.webp") center/cover no-repeat;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0b0b0b;
  background: var(--gold2);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.publication-hero .content {
  max-width: 1100px;
  text-align: center;
  margin: 0 auto;
}

.publication-hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -.05em;
  margin: 18px 0;
}

.publication-hero h1 span {
  white-space: nowrap;
}

.publication-hero p {
  color: #d5d5d5;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.publication-actions,
.publication-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.publication-links .btn {
  flex: 1 1 130px;
}

.publication-actions {
  margin-top: 28px;
  justify-content: center;
}

.publication-section {
  padding: 76px 0;
}

.publication-intro {
  max-width: 720px;
  margin-bottom: 30px;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.publication-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.publication-card .p {
  padding: 26px;
}

.publication-card .currency {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: #0b0b0b;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  font-size: 25px;
  font-weight: 900;
}

.publication-card h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.publication-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.publication-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 11px;
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: 999px;
  color: var(--gold2);
  font-size: 13px;
}

.publication-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 162, 39, .12);
}

.publication-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, .035);
  color: var(--muted);
  line-height: 1.7;
}

.publication-note strong {
  color: var(--text);
}

.brochure-viewer {
  width: 100%;
  height: min(80vh, 900px);
  min-height: 620px;
  display: block;
  border: 1px solid rgba(201, 162, 39, .38);
  border-radius: var(--radius);
  background: #222;
  box-shadow: var(--shadow);
}

.brochure-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.publication-card .publication-links {
  padding: 0 26px 26px;
}

.publication-card .btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .58;
}

.publication-card .btn[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.publication-band {
  background: rgba(255, 255, 255, .025);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.publication-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.publication-band h2 {
  margin: 0 0 8px;
}

.publication-band p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.flipbook-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .88);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.flipbook-modal.open {
  opacity: 1;
  visibility: visible;
}

.flipbook-dialog {
  position: relative;
  width: min(940px, 100%);
  max-height: 94vh;
  padding: 22px;
  border: 1px solid rgba(201, 162, 39, .38);
  border-radius: 18px;
  background: #101010;
  box-shadow: var(--shadow);
}

.flipbook-title {
  margin: 0 42px 16px 0;
  color: var(--gold2);
  font-size: 15px;
}

.flipbook-stage {
  display: grid;
  place-items: center;
  min-height: 55vh;
  perspective: 1400px;
  overflow: hidden;
}

.flipbook-page {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  background: #fff;
  width: min(880px, 100%);
  height: 70vh;
  border: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  transform-origin: left center;
}

.flipbook-page.turn-next {
  animation: pageTurnNext .45s ease both;
}

.flipbook-page.turn-prev {
  transform-origin: right center;
  animation: pageTurnPrev .45s ease both;
}

@keyframes pageTurnNext {
  from { transform: rotateY(-12deg); opacity: .55; }
  to { transform: rotateY(0); opacity: 1; }
}

@keyframes pageTurnPrev {
  from { transform: rotateY(12deg); opacity: .55; }
  to { transform: rotateY(0); opacity: 1; }
}

.flipbook-close,
.flipbook-control {
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.flipbook-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
}

.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.flipbook-control {
  min-width: 42px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
}

.flipbook-control:disabled {
  cursor: not-allowed;
  opacity: .4;
}

.flipbook-count {
  min-width: 70px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 720px) {
  .publication-hero {
    min-height: 100svh;
    padding: 130px 0 80px;
    background:
      linear-gradient(90deg, rgba(11, 11, 11, .8), rgba(11, 11, 11, .3)),
      url("../img/hero_pricebrochure_mobile.webp") center/cover no-repeat;
  }

  .publication-hero h1 span {
    white-space: normal;
  }

  .publication-grid {
    grid-template-columns: 1fr;
  }

  .publication-band .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .flipbook-modal {
    padding: 10px;
  }

  .flipbook-dialog {
    padding: 16px 10px;
  }

  .flipbook-stage {
    min-height: 50vh;
  }

  .flipbook-page {
    max-height: 68vh;
  }

  .brochure-viewer {
    height: 75vh;
    min-height: 520px;
  }
}
