:root {
  --bg: #fbf6ea;
  --bg-deep: #18251d;
  --bg-soft: #efe3cc;
  --text: #241c14;
  --muted: #6b5c4c;
  --line: rgba(36, 28, 20, 0.16);
  --accent: #8b4a24;
  --accent-strong: #5e321c;
  --forest: #264a32;
  --gold: #d2a84b;
  --card: #fffaf0;
  --shadow: 0 24px 80px rgba(36, 28, 20, 0.22);
  font-family:
    "Segoe UI",
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(210, 168, 75, 0.2),
      transparent 28rem
    ),
    linear-gradient(180deg, #fff8ea 0%, var(--bg) 42%, #f4ead8 100%);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(24, 37, 29, 0.9);
  color: #fff8ea;
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.32));
}

.brand span {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links,
.language-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-links a,
.language-switch a,
.language-switch span {
  border-radius: 999px;
  color: rgba(255, 248, 234, 0.86);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-links a {
  padding: 0.55rem 0.75rem;
}

.language-switch a,
.language-switch span {
  border: 1px solid rgba(255, 248, 234, 0.22);
  padding: 0.35rem 0.55rem;
}

.nav-links a:hover,
.language-switch a:hover,
.language-switch a[aria-current="page"] {
  background: rgba(255, 248, 234, 0.12);
  color: #fff8ea;
}

.language-switch .disabled-lang,
.footer .disabled-lang {
  color: rgba(255, 248, 234, 0.36);
  cursor: not-allowed;
  filter: grayscale(1);
}

.hero {
  position: relative;
  min-height: 88vh;
  isolation: isolate;
  color: #fff8ea;
  background:
    linear-gradient(
      90deg,
      rgba(18, 30, 22, 0.92),
      rgba(18, 30, 22, 0.54) 52%,
      rgba(18, 30, 22, 0.16)
    ),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  content: "";
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1180px, calc(100% - 2rem));
  min-height: calc(88vh - 72px);
  margin: 0 auto;
  padding: 5rem 0 7rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #f0d49a;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 1rem;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.claim {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-size: clamp(1.5rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 680px;
  color: rgba(255, 248, 234, 0.84);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: #f2c76f;
  color: #241c14;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.button.secondary {
  border-color: rgba(255, 248, 234, 0.38);
  color: #fff8ea;
}

.hero-card-stack {
  position: relative;
  min-height: 430px;
}

.hero-card-stack img {
  position: absolute;
  width: min(48vw, 245px);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-card-stack img:nth-child(1) {
  top: 2rem;
  left: 0;
  transform: rotate(-9deg);
}

.hero-card-stack img:nth-child(2) {
  top: 0;
  left: 7rem;
  transform: rotate(7deg);
}

.hero-card-stack img:nth-child(3) {
  top: 11rem;
  left: 4rem;
  transform: rotate(2deg);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-kicker {
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-header p,
.text-block p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.story-image {
  overflow: hidden;
  border: 1px solid rgba(36, 28, 20, 0.12);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.35rem;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 16px 50px rgba(36, 28, 20, 0.08);
}

.feature strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--forest);
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.how {
  border-radius: 42px;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(38, 74, 50, 0.96), rgba(94, 50, 28, 0.92)),
    url("images/backgrounds/vydra.webp") center / cover no-repeat;
  color: #fff8ea;
  box-shadow: var(--shadow);
}

.how .section-kicker,
.how .section-header p {
  color: #f0d49a;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  border: 1px solid rgba(255, 248, 234, 0.22);
  border-radius: 28px;
  padding: 1.4rem;
  background: rgba(255, 248, 234, 0.09);
}

.step::before {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  place-items: center;
  background: #f2c76f;
  color: #241c14;
  counter-increment: step;
  content: counter(step);
  font-weight: 800;
}

.step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: rgba(255, 248, 234, 0.78);
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.5vw, 1.2rem);
}

.cards-grid figure {
  margin: 0;
}

.cards-grid img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(36, 28, 20, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.cards-grid img:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(36, 28, 20, 0.24);
}

.cards-grid figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 250, 240, 0.72);
  color: var(--muted);
  font-size: 0.92rem;
}

.publisher {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.publisher-logo {
  display: grid;
  min-height: 280px;
  border-radius: 36px;
  place-items: center;
  background: var(--bg-deep);
  box-shadow: var(--shadow);
}

.publisher-logo img {
  width: min(70%, 260px);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.4rem;
  border-radius: 42px;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--card);
  box-shadow: var(--shadow);
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.3rem;
  background: #fff;
}

.contact-mail {
  display: inline-flex;
  margin: 0.7rem 0 1rem;
  color: var(--accent-strong);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.social {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}

.social.primary {
  border-color: rgba(139, 74, 36, 0.35);
  background: #f8e4ba;
  color: var(--accent-strong);
}

.social.disabled {
  color: rgba(107, 92, 76, 0.58);
  cursor: not-allowed;
  filter: grayscale(1);
}

.footer {
  background: var(--bg-deep);
  color: rgba(255, 248, 234, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0;
}

.footer a {
  color: #fff8ea;
  text-decoration: none;
}

@media (max-width: 960px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-inner,
  .story-grid,
  .publisher,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-card-stack {
    display: none;
  }

  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav-links a {
    padding: 0.35rem 0.45rem;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 4rem 0 6rem;
  }

  .feature-grid,
  .steps,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
