:root {
  --cream: #fdf5e8;
  --orange: #f5a623;
  --ink: #1a1208;
  --font: "DM Sans", system-ui, sans-serif;
  --space-section: clamp(3.5rem, 8vw, 6rem);
  --space-gutter: clamp(1rem, 2.2vw, 1.75rem);
  --max: 92rem;
}

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

html {
  color-scheme: light;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--orange);
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 0.72rem 1.5rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  background: var(--orange);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: #e09415;
  color: #fff;
}

.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: clamp(0.5rem, 2vw, 1.5rem);
}

.lang-switcher a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-block;
  opacity: 0.7;
}

.lang-switcher a:hover {
  transform: scale(1.05);
  opacity: 1;
}

.lang-switcher span {
  color: var(--orange);
  opacity: 0.5;
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 245, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(0.75rem, 1.5vw, 1rem);
  flex-wrap: nowrap;
  min-width: 0;
}

/* Individual slots for Logo - Nav - Actions */
.hero__logo-slot,
.hero__actions-slot {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  min-width: 0;
}

.hero__actions-slot {
  justify-content: flex-end;
}

.hero__nav-slot {
  flex: 0 0 auto;
}

.hero__logo {
  display: block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.hero__logo:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.hero__logo img {
  height: clamp(4.25rem, 10.5vw, 6.75rem);
  width: auto;
  display: block;
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
}

.site-header__nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.site-header__link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.25vw, 1rem);
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.site-header__link:hover {
  transform: scale(1.05);
}

.section {
  padding-block: var(--space-section);
}

.section__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.section__lead {
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.site-footer {
  background: var(--orange);
  color: #fff;
  font-family: var(--font);
}

.site-footer__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
  padding-block: clamp(2rem, 4.5vw, 3.25rem) clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  min-height: clamp(17rem, 30vw, 24rem);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.site-footer__logo {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.site-footer__logo:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.site-footer__logo img {
  height: clamp(4.25rem, 11vw, 7rem);
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.site-footer__nav a.site-footer__link {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}

.site-footer__nav a.site-footer__link:hover {
  opacity: 0.8;
}

.site-footer__nav a.site-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 500;
  font-family: var(--font);
  color: var(--orange);
  background: #fff;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-footer__nav a.site-footer__btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--orange);
  text-decoration: none;
}

.site-footer__nav a.site-footer__btn:focus-visible,
.site-footer__nav a.site-footer__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.site-footer__bottom {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  padding-top: clamp(2.5rem, 7vw, 5rem);
}

.site-footer__meta {
  text-align: right;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
}

.site-footer__meta p {
  margin: 0;
}

.site-footer__meta p + p {
  margin-top: 0.15em;
}

.site-footer__meta-email {
  margin-top: 0.85rem !important;
}

.site-footer__meta a {
  color: #fff;
  text-decoration: none;
}

.site-footer__meta a:hover {
  text-decoration: none;
}

.js-reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.cookie-banner {
  display: none;
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 1000;
  width: min(21rem, calc(100vw - 2rem));
  padding: clamp(1.25rem, 3vw, 1.5rem);
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(26, 18, 8, 0.1);
  box-shadow: 0 12px 48px rgba(26, 18, 8, 0.12);
  font-family: var(--font);
}

.cookie__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.cookie__text {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: rgba(26, 18, 8, 0.8);
  line-height: 1.5;
}

.cookie__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(245, 166, 35, 0.08);
  border-radius: 0.5rem;
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.cookie__label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

.toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 22px;
}

.slider::before {
  position: absolute;
  content: "";
  left: 4px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  background-color: #fff;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--orange);
}

input:checked + .slider::before {
  transform: translateX(18px);
}

.cookie__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie__btn {
  width: 100%;
}

.cookie__btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26, 18, 8, 0.2);
}

.cookie__btn--outline:hover {
  background: rgba(26, 18, 8, 0.05);
  color: var(--ink);
}

.cookie__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.cookie__links a {
  color: var(--orange);
  text-decoration: none;
}

.cookie__links a:hover {
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 64rem) {
  .hero__bar {
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero__logo-slot,
  .hero__nav-slot,
  .hero__actions-slot {
    flex: none;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 48rem) {
  .section__title {
    white-space: normal;
  }

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

  .site-header__nav-links {
    flex-wrap: wrap;
    gap: 1rem;
    margin-right: 0;
  }

  .lang-switcher {
    margin-left: 0;
  }

  .site-footer__top,
  .site-footer__bottom {
    justify-content: flex-start;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }

  .site-footer__meta {
    text-align: left;
  }
}

@media (max-width: 36rem) {
  .cookie-banner {
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}
