:root {
  --burgundy: #4a0e18;
  --burgundy-deep: #1f0509;
  --cream: #f8f4ec;
  --cream-muted: rgba(248, 244, 236, 0.72);
  --gold: #c4a062;
  --gold-soft: #d4b878;
  --max-width: 720px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: linear-gradient(165deg, var(--burgundy-deep) 0%, var(--burgundy) 42%, #3d0b14 100%);
}

a {
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cream);
}

.site-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(196, 160, 98, 0.18);
  background: rgba(15, 5, 8, 0.35);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.logo:hover .brand-mark {
  opacity: 0.88;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  font-family: var(--font-serif);
  color: #f8f4ec;
  font-weight: 400;
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}

.brand-mark--header {
  font-size: clamp(1.125rem, 3.2vw, 1.375rem);
  line-height: 1;
}

.brand-mark--hero {
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.brand-mark__text {
  font-weight: 400;
}

.brand-mark__heart {
  font-size: 0.7em;
  font-weight: 300;
  line-height: 1;
  opacity: 0.9;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

.nav a {
  color: var(--cream-muted);
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--gold-soft);
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}

.lang-switch__active {
  color: var(--gold-soft);
  font-weight: 600;
}

.lang-switch__sep {
  color: rgba(248, 244, 236, 0.35);
}

.lang-switch a {
  color: var(--cream-muted);
}

.lang-switch a:hover {
  color: var(--gold-soft);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero {
  text-align: center;
  padding: 2.5rem 0 3rem;
}

.hero__title {
  margin: 0 0 1.25rem;
  line-height: 1.1;
  font-weight: 400;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-style: italic;
  color: var(--cream-muted);
  margin: 0 0 2rem;
  line-height: 1.5;
}

.badge {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(196, 160, 98, 0.35);
  border-radius: 999px;
  background: rgba(196, 160, 98, 0.08);
  color: var(--gold-soft);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.contact-line {
  font-size: 0.9375rem;
  color: var(--cream-muted);
}

.contact-line a {
  font-weight: 500;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--cream);
}

.page-meta {
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold-soft);
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--cream-muted);
}

.prose ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose strong {
  color: var(--cream);
  font-weight: 600;
}

.card {
  margin-top: 2rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(196, 160, 98, 0.22);
  border-radius: 1rem;
  background: rgba(255, 252, 247, 0.04);
}

.card h2 {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(196, 160, 98, 0.15);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(248, 244, 236, 0.45);
}

.site-footer a {
  color: rgba(212, 184, 120, 0.85);
}

[dir='rtl'] body {
  text-align: right;
}

[dir='rtl'] .site-header__inner {
  flex-direction: row-reverse;
}

[dir='rtl'] .site-header__right {
  flex-direction: row-reverse;
}

[dir='rtl'] .prose ul {
  padding-right: 1.25rem;
  padding-left: 0;
}

[dir='rtl'] .hero,
[dir='rtl'] .site-footer {
  text-align: center;
}

[dir='rtl'] .brand-mark {
  direction: ltr;
  unicode-bidi: isolate;
}

@media (max-width: 480px) {
  main {
    padding-top: 2rem;
  }

  .site-header__right {
    width: 100%;
    justify-content: center;
  }

  .nav {
    justify-content: center;
  }

  .lang-switch {
    width: 100%;
  }
}
