@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --bg: #faf6f0;
  --bg-elevated: #fffdf9;
  --surface: #ffffff;
  --border: rgba(62, 42, 28, 0.12);
  --text: #2c2118;
  --text-muted: #6b5d4f;
  --accent: #b87333;
  --accent-dim: rgba(184, 115, 51, 0.12);
  --accent-hover: #9a6129;
  --accent-soft: #e8c9a8;
  --error: #c0392b;
  --radius: 14px;
  --radius-sm: 8px;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
  --header-h: 4.75rem;
  --shadow-sm: 0 1px 3px rgba(44, 33, 24, 0.06), 0 4px 16px rgba(44, 33, 24, 0.04);
  --shadow-md: 0 4px 24px rgba(44, 33, 24, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(184, 115, 51, 0.08), transparent),
    radial-gradient(ellipse 40% 30% at 100% 0%, rgba(232, 201, 168, 0.35), transparent);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.875rem 0;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-soft), var(--accent));
  color: #fff;
  flex-shrink: 0;
}

.brand__mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.brand__tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
}

.lang-switch a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
}

.lang-switch a:hover,
.lang-switch a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(184, 115, 51, 0.2);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

@media (max-width: 767px) {
  .brand__tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-header__inner {
    flex-wrap: wrap;
    position: relative;
  }

  .lang-switch {
    order: 3;
    margin-left: auto;
  }
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
}

.site-footer__tagline {
  margin: 0;
  line-height: 1.5;
  max-width: 28ch;
}

.site-footer__col h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__links a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.site-footer__disclosure {
  margin: 0 0 0.75rem;
  max-width: 60ch;
  line-height: 1.55;
  font-size: 0.8125rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.site-footer__nav a {
  color: var(--text-muted);
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__sep {
  opacity: 0.4;
}

/* Legal pages */
.legal-doc {
  padding: 3rem 0 4rem;
  max-width: 42rem;
}

.legal-doc h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.legal-doc__meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 2rem;
}

.legal-doc h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-doc ul {
  padding-left: 1.25rem;
}

.legal-doc li + li {
  margin-top: 0.5rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(44, 33, 24, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  width: min(1120px, 100%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__btn {
  padding: 0.625rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.cookie-banner__btn:hover {
  border-color: var(--accent);
}

.cookie-banner__btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.cookie-banner__btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.cookie-settings {
  display: none;
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.cookie-settings.is-open {
  display: block;
}

.cookie-settings label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(184, 115, 51, 0.25);
}

.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--accent-dim);
  color: var(--accent-hover);
}

/* About page */
.about-page {
  padding: 3rem 0 4rem;
  max-width: 42rem;
}

.about-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.about-page p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.about-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}
