@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-ext-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-ext-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-ext-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0f0f10;
  --bg-soft: #18191c;
  --surface: #1f2024;
  --surface-2: #25272b;
  --text: #f5f0e8;
  --muted: #c4bdb0;
  --accent: #f07f4e;
  --accent-2: #f5b25d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  --radius-lg: 22px;
  --radius-md: 14px;
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% -10%, rgba(240, 127, 78, 0.2) 0%, transparent 38%),
    radial-gradient(circle at 14% 30%, rgba(245, 178, 93, 0.14) 0%, transparent 40%),
    linear-gradient(180deg, #0c0c0d 0%, #121315 44%, #101113 100%);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-content: center;
  gap: 0.55rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(240, 127, 78, 0.14), transparent 35%),
    #0c0c0d;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.preloader[hidden] {
  opacity: 0;
  visibility: hidden;
}

.preloader-brand {
  margin: 0;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.preloader-copy {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}


.hero {
  min-height: 96vh;
  position: relative;
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 3rem;
  isolation: isolate;
  overflow: hidden;
}

.topbar {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.58rem 0.85rem 0.58rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(15, 16, 18, 0.55);
  position: sticky;
  top: 0.8rem;
  z-index: 20;
}

.brand {
  font-family: "Cinzel", serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding-left: 0.28rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: scale(1.03);
  transition: transform 1200ms ease;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.72) 16%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.54));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  max-width: var(--maxw);
  margin: clamp(3rem, 14vh, 8rem) auto 0;
}

.kicker {
  margin: 0 0 0.56rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 700;
  font-size: 0.72rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  line-height: 1.2;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 6.4vw, 4.7rem);
  text-wrap: balance;
}

.lead {
  margin: 1rem 0 0;
  max-width: 56ch;
  color: #e2dbd1;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.72rem 1.15rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #1c1009;
  background: linear-gradient(125deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 26px rgba(240, 127, 78, 0.35);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(14, 14, 17, 0.42);
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4.2rem 0;
}

.intro {
  padding-top: 3.2rem;
}

.intro p {
  margin: 0;
  max-width: 68ch;
  color: #ddd3c4;
  font-size: 1.06rem;
}

.legal-hero {
  min-height: 46vh;
}

.legal-content {
  max-width: var(--maxw);
  padding-inline: 0;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.legal-content p,
.legal-content li {
  color: #ddd3c4;
}

.legal-content a {
  color: var(--accent-2);
}

.legal-content ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 68ch;
}

.catalog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
  padding: 1rem;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  margin-bottom: 0.9rem;
  padding-inline: 0.25rem;
}

.catalog-label {
  margin: 0;
  font-weight: 700;
}

.catalog-pages {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-link {
  margin-left: auto;
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.catalog-link:hover,
.catalog-link:focus-visible {
  color: #ffd194;
}

.pdf-shell {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111214;
  min-height: 22rem;
  height: min(78vh, 56rem);
  max-height: 56rem;
  overflow: auto;
  scroll-behavior: auto;
  padding: 0.7rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 178, 93, 0.42) rgba(255, 255, 255, 0.08);
}

.pdf-shell--paged {
  height: auto;
  max-height: none;
  min-height: 0;
  overflow: hidden;
}

.pdf-paged-viewer {
  display: grid;
  gap: 0.7rem;
}

.pdf-paged-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
}

.pdf-nav-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 0.38rem 0.82rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.pdf-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pdf-page-indicator {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.pdf-paged-stage .pdf-page {
  margin: 0;
}

.pdf-shell::-webkit-scrollbar {
  width: 10px;
}

.pdf-shell::-webkit-scrollbar-thumb {
  background: rgba(245, 178, 93, 0.42);
  border-radius: 999px;
}

.pdf-page {
  border-radius: 10px;
  overflow: hidden;
  background: #f8f8f8;
  margin: 0 0 0.85rem;
  min-height: 220px;
  display: grid;
  place-items: center;
  position: relative;
}

.pdf-page:last-child {
  margin-bottom: 0;
}

.pdf-page canvas {
  width: 100%;
  height: auto;
  display: block;
}

.pdf-page .page-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: #484848;
  background:
    linear-gradient(110deg, #ececec 10%, #f8f8f8 30%, #ececec 48%),
    #efefef;
  background-size: 220% 100%;
  animation: sheen 1.7s linear infinite;
}

.pdf-error,
.pdf-loading {
  margin: 0;
  color: var(--muted);
  padding: 1rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.contact-card p {
  margin: 0.1rem 0;
  color: var(--muted);
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
}

.contact-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  max-height: 20rem;
  object-fit: cover;
}

.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1.4rem 1rem 2rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  margin: 0 0 0.6rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sheen {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

@media (max-width: 920px) {
  .topbar {
    border-radius: 18px;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .catalog-link {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 84vh;
  }

  .topbar {
    padding-left: 1rem;
  }

  .brand {
    padding-left: 0.2rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .nav-links a {
    padding-inline: 0.65rem;
    font-size: 0.84rem;
    flex: 1 1 calc(50% - 0.35rem);
    text-align: center;
  }

  .section {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
    padding-inline: 0.75rem;
  }

  .pdf-shell {
    height: min(70vh, 36rem);
    max-height: 36rem;
  }

  .pdf-shell--paged {
    height: auto;
    max-height: none;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .hero-media,
  .preloader {
    transition: none;
    animation: none;
  }

  .page-placeholder {
    animation: none;
  }
}

@media print {
  :root {
    --text: #111;
    --muted: #2a2a2a;
  }

  body {
    background: #fff;
    color: #111;
    line-height: 1.4;
  }

  .preloader,
  .hero-media,
  .btn,
  .pdf-shell,
  .footer {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  .topbar {
    display: none;
  }

  .hero-content,
  .section {
    max-width: 100%;
    padding: 0.8rem 0;
    margin: 0;
  }

  .contact-card,
  .catalog-card {
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: none;
  }
}
