@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Manrope:wght@200..800&display=swap');

:root {
  --ink: #2E2418;
  --brown: #5A452E;
  --taupe: #8B7355;
  --olive: #6B7E4E;
  --olive-light: #A4B37D;
  --gold: #D4B884;
  --cream: #F6F1E5;
  --paper: #FBF8F0;
  --line: rgba(46, 36, 24, .13);
  --line-light: rgba(246, 241, 229, .18);
  --muted: #756b5d;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.display {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .98;
}

.section {
  padding: clamp(80px, 9vw, 140px) 0;
}

.dark {
  background: var(--ink);
  color: var(--cream);
}

.dark .eyebrow, .gold {
  color: var(--gold);
}

.btn {
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .25s, box-shadow .25s, color .25s, border-color .25s;
}

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

.btn--gold {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 12px 32px rgba(212, 184, 132, .18);
}

.btn--ghost {
  color: var(--cream);
  border-color: rgba(246, 241, 229, .26);
  background: rgba(246, 241, 229, .05);
  font-weight: 500;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pn {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  color: var(--cream);
  background: color-mix(in oklab, var(--ink) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-light);
}

.pn .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 184, 132, .65);
  border-radius: 8px;
  color: var(--gold);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  letter-spacing: -.045em;
}

.brand-name span {
  color: var(--gold);
}

.pn nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 500;
}

.pn nav a {
  color: rgba(246, 241, 229, .8);
  transition: color .25s;
}

.pn nav a:hover, .pn nav a.on {
  color: var(--gold);
}

.pn .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
}

.pf {
  padding: 34px 0;
  background: #17110b;
  color: rgba(246, 241, 229, .5);
  font-size: 12px;
}

.pf .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pf a:hover {
  color: var(--gold);
}

.cta2 {
  position: relative;
  overflow: hidden;
  background: var(--brown);
  color: var(--cream);
  text-align: center;
  padding: clamp(80px, 8vw, 120px) 0;
}

.cta2::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  left: 50%;
  top: -330px;
  margin-left: -310px;
  border: 1px solid rgba(212, 184, 132, .22);
  border-radius: 50%;
}

.cta2 h2 {
  font-size: clamp(40px, 5vw, 70px);
  max-width: 820px;
  margin: 0 auto 20px;
  position: relative;
}

.cta2 p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(246, 241, 229, .72);
  position: relative;
}

.cta2 .btn {
  position: relative;
}

.scene {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.in {
  animation: up .8s both;
}

.in2 {
  animation-delay: .12s;
}

.in3 {
  animation-delay: .24s;
}

@media(max-width: 820px) {
  .pn nav {
    display: none;
  }
}

@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

.dark, .light {
  position: relative;
  overflow: hidden;
}

.container {
  position: relative;
  z-index: 1;
}

.dc {
  position: absolute;
  color: var(--gold);
  pointer-events: none;
  z-index: 0;
}

.light .dc {
  color: var(--taupe);
}

.dc svg {
  width: 100%;
  height: auto;
  display: block;
  animation: fl 9s ease-in-out infinite alternate;
}

@keyframes fl {
  to {
    transform: translateY(-14px) rotate(4deg);
  }
}

.marq {
  overflow: hidden;
  border-block: 1px solid var(--line-light);
  background: #17110b;
  padding: 14px 0;
  white-space: nowrap;
}

.marq div {
  display: inline-block;
  animation: mq 40s linear infinite;
  font: 600 28px "Cormorant Garamond", Georgia, serif;
  color: var(--cream);
}

.marq b {
  margin: 0 24px;
  color: var(--gold);
  font-weight: 400;
}

@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

.pn nav a {
  white-space: nowrap;
}

.pn .container {
  gap: 16px;
}

@media(max-width: 1000px) {
  .pn nav {
    display: none;
  }
}

/* ===== site footer (same as landing) + "Додаткові сторінки" column ===== */
.sf {
  color: rgba(246, 241, 229, .68);
  background: #211910;
}

.sf .footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding: 72px 0 60px;
}

.sf .brand-mark {
  background: rgba(46, 36, 24, .55);
}

.sf .brand-name {
  color: var(--cream);
}

.sf .footer-intro {
  max-width: 300px;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.sf .footer-col h4 {
  margin: 0 0 18px;
  color: var(--cream);
  font: 700 15px "Cormorant Garamond", Georgia, serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sf .footer-col a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  font-size: 13px;
  transition: all .2s ease;
}

.sf .footer-col a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.sf .footer-col.contact div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf .footer-col.contact div svg {
  color: var(--gold);
  width: 17px;
  height: 17px;
  flex: none;
}

.sf .footer-col.contact div a {
  margin: 0;
}

.sf .footer-note {
  display: block;
  margin-top: 18px;
  color: rgba(246, 241, 229, .38);
  font-size: 10px;
  line-height: 1.6;
}

.sf .footer-socials {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
}

.sf .footer-social {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: rgba(246, 241, 229, .045);
  border: 1px solid rgba(246, 241, 229, .14);
  border-radius: 2px;
  transition: transform .25s ease, color .25s ease, background-color .25s ease, border-color .25s ease;
}

.sf .footer-social:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-4px) rotate(-4deg);
}

.sf .footer-social svg {
  width: 19px;
  height: 19px;
}

.sf .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
  font-size: 11px;
  font-weight: 600;
}

.sf .footer-bottom div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: color-mix(in oklab, var(--cream) 40%, transparent);
}

.sf .footer-bottom div svg {
  width: 27px;
  height: 27px;
}

.sf .footer-bottom strong {
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 13px;
  font-weight: 500;
}

@media(max-width: 980px) {
  .sf .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .sf .footer-main > :first-child {
    grid-column: 1 / -1;
  }
}

@media(max-width: 700px) {
  .sf .footer-bottom {
    flex-direction: column;
  }
}

@media(max-width: 420px) {
  .sf .footer-main {
    grid-template-columns: 1fr;
  }
}