:root {
  --surface: #fff9f0;
  --surface-elevated: #f4ead8;
  --surface-soft: #faf3e7;
  --text: #111318;
  --text-muted: #55545a;
  --primary: #1e3a5f;
  --primary-hover: #294f7c;
  --gold: #b8891f;
  --gold-dark: #8b6518;
  --border: #d9cfa8;
  --dark: #0b0b0d;
  --white: #ffffff;
  --shadow-sm: 0 6px 22px rgba(18, 28, 42, 0.08);
  --shadow-lg: 0 22px 55px rgba(11, 11, 13, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --header-height: 88px;
  --max-width: 1240px;
  --font-body: "Inter", Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 249, 240, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 5px 22px rgba(18, 28, 42, 0.06);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: calc(100% - 64px);
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
}

.site-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: clamp(14px, 2.3vw, 38px);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.site-logo__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: linear-gradient(145deg, #efd58c, #c69a3c 58%, #97701f);
  border: 1px solid rgba(151, 112, 31, 0.4);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(30, 58, 95, 0.14);
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
}

.site-logo__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.site-logo__name {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-logo__subtitle {
  margin-top: 5px;
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.4em;
}

.site-navigation {
  justify-self: center;
}

.site-navigation__list {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.2vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-navigation__link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-navigation__link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  margin: auto;
  content: "";
  background: var(--gold);
  transition: width 0.22s ease;
}

.site-navigation__link:hover,
.site-navigation__link[aria-current="page"] {
  color: var(--primary);
}

.site-navigation__link:hover::after,
.site-navigation__link[aria-current="page"]::after {
  width: 100%;
}

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
}

.site-header__booking,
.mobile-navigation__booking,
.legal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(30, 58, 95, 0.18);
  font-weight: 650;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header__booking {
  min-height: 46px;
  padding: 0 27px;
  font-size: 14px;
  white-space: nowrap;
}

.site-header__booking:hover,
.mobile-navigation__booking:hover,
.legal-button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.22);
}

.site-header__toggle,
.mobile-navigation__close {
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--primary);
  background: transparent;
  border: 1px solid rgba(30, 58, 95, 0.18);
  border-radius: 9px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.site-header__toggle {
  justify-self: end;
  display: none;
}

.mobile-navigation__close {
  display: inline-flex;
}

.site-logo:focus-visible,
.site-navigation__link:focus-visible,
.site-header__booking:focus-visible,
.site-header__toggle:focus-visible,
.mobile-navigation__close:focus-visible,
.mobile-navigation a:focus-visible,
.legal-toc a:focus-visible,
.legal-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.mobile-navigation {
  position: fixed;
  inset: 0;
  z-index: 1200;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(24px, 0, 0);
  background: var(--surface);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  contain: layout paint;
  flex-direction: column;
}

.mobile-navigation.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.mobile-navigation__header {
  height: 76px;
  display: flex;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.mobile-navigation__header .site-logo {
  margin-left: 0;
}

.mobile-navigation__content {
  flex: 1;
  display: flex;
  padding: 40px 24px 30px;
  flex-direction: column;
}

.mobile-navigation__list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-direction: column;
}

.mobile-navigation__list li {
  border-bottom: 1px solid rgba(30, 58, 95, 0.13);
}

.mobile-navigation__list a {
  min-height: 66px;
  display: flex;
  align-items: center;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-navigation__list a:hover {
  color: var(--gold);
  padding-left: 7px;
}

.mobile-navigation__booking {
  width: 100%;
  min-height: 54px;
  margin-top: 36px;
  padding: 0 24px;
}

.mobile-navigation__meta {
  margin-top: auto;
  padding-top: 28px;
  color: rgba(17, 19, 24, 0.65);
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.mobile-navigation__meta p {
  margin: 0;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(184, 137, 31, 0.28), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, #0b0b0d 0%, #14233a 50%, #1e3a5f 100%);
}

.legal-hero::after {
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(184, 137, 31, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(184, 137, 31, 0.05),
    0 0 0 90px rgba(184, 137, 31, 0.035);
}

.legal-hero__inner {
  position: relative;
  z-index: 2;
  width: calc(100% - 48px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 94px 0 86px;
}

.legal-hero__eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  color: #f6d98a;
  border: 1px solid rgba(246, 217, 138, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 22px 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.legal-hero__lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 20px);
}

.legal-hero__date {
  margin-top: 26px;
  color: #f6d98a;
  font-size: 14px;
  font-weight: 600;
}

.legal-layout {
  width: calc(100% - 48px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.legal-toc__title {
  margin: 0 0 16px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 22px;
}

.legal-toc ol {
  counter-reset: legal-navigation;
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-direction: column;
}

.legal-toc li {
  counter-increment: legal-navigation;
}

.legal-toc a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 6px;
  color: var(--text-muted);
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.legal-toc a::before {
  content: counter(legal-navigation, decimal-leading-zero);
  color: var(--gold-dark);
  font-weight: 700;
}

.legal-toc a:hover {
  color: var(--primary);
  background: rgba(30, 58, 95, 0.06);
}

.legal-content {
  min-width: 0;
}

.legal-intro {
  margin-bottom: 28px;
  padding: 26px 28px;
  color: var(--text-muted);
  background: var(--surface-elevated);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.legal-intro p {
  margin: 0;
}

.legal-section {
  scroll-margin-top: calc(var(--header-height) + 28px);
  margin-top: 24px;
  padding: 34px;
  background: var(--white);
  border: 1px solid rgba(217, 207, 168, 0.82);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.legal-section:first-of-type {
  margin-top: 0;
}

.legal-section__number {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-section h2 {
  margin: 0 0 16px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.2;
}

.legal-section h3 {
  margin: 24px 0 9px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 21px;
}

.legal-section p {
  margin: 0 0 15px;
  color: var(--text-muted);
}

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

.legal-section ul {
  margin: 14px 0 18px;
  padding-left: 22px;
  color: var(--text-muted);
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a {
  color: var(--primary);
  font-weight: 650;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 22px;
  padding: 18px 20px;
  color: var(--text-muted);
  background: rgba(184, 137, 31, 0.09);
  border: 1px solid rgba(184, 137, 31, 0.25);
  border-radius: var(--radius-sm);
}

.legal-contact-card {
  margin-top: 30px;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #101a29);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.legal-contact-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 30px;
}

.legal-contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.legal-contact-card__links {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.legal-contact-card__links a {
  color: #f5d57f;
  text-decoration: none;
}

.legal-button {
  min-height: 46px;
  margin-top: 22px;
  padding: 0 22px;
}

.cookie-settings {
  margin-top: 22px;
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.cookie-setting {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(217, 207, 168, 0.7);
}

.cookie-setting:first-child {
  padding-top: 0;
}

.cookie-setting:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.cookie-setting h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.cookie-setting p {
  margin: 0;
  font-size: 14px;
}

.cookie-switch {
  position: relative;
  width: 54px;
  height: 30px;
  flex: 0 0 54px;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch span {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #b7b8bc;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.cookie-switch span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  content: "";
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + span {
  background: var(--primary);
}

.cookie-switch input:checked + span::after {
  transform: translateX(24px);
}

.cookie-switch input:disabled + span {
  cursor: not-allowed;
  opacity: 0.72;
}

.cookie-settings__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cookie-settings__actions button {
  min-height: 44px;
  padding: 0 18px;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 650;
}

.cookie-save {
  color: var(--white);
  background: var(--primary);
  border: 1px solid var(--primary);
}

.cookie-reset {
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
}

.cookie-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 650;
}

.site-footer {
  color: var(--white);
  background: var(--dark);
  border-top: 1px solid rgba(184, 137, 31, 0.42);
}

.site-footer__inner {
  width: calc(100% - 48px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 58px 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 16px;
  color: #e0bc60;
  font-family: var(--font-heading);
}

.site-footer h2 {
  font-size: 27px;
}

.site-footer h3 {
  font-size: 20px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__links {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-direction: column;
}

.site-footer__links a,
.site-footer__contact a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: #e0bc60;
}

.site-footer__contact {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.site-footer__bottom {
  display: flex;
  gap: 22px;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer__legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__legal a[aria-current="page"] {
  color: #e0bc60;
}


/* Horizontal overflow protection */
.site-header,
.site-header__inner,
.mobile-navigation,
.mobile-navigation__content,
.legal-hero,
.legal-hero__inner,
.legal-layout,
.legal-content,
.legal-section,
.legal-contact-card,
.cookie-settings,
.site-footer,
.site-footer__inner {
  min-width: 0;
  max-width: 100%;
}

.legal-content p,
.legal-content li,
.legal-content a,
.site-footer p,
.site-footer a,
.mobile-navigation a {
  overflow-wrap: anywhere;
  word-break: normal;
}

svg {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .site-header__inner {
    width: calc(100% - 36px);
    grid-template-columns: minmax(210px, 1fr) auto minmax(180px, 1fr);
  }

  .site-logo {
    margin-left: 0;
  }

  .site-logo__mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 25px;
  }

  .site-logo__name {
    font-size: 19px;
  }

  .site-navigation__list {
    gap: 18px;
  }

  .site-navigation__link {
    font-size: 12px;
  }

  .site-header__booking {
    padding: 0 17px;
    font-size: 13px;
  }

  .legal-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .site-header__inner {
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-logo {
    margin-left: 0;
  }

  .site-navigation,
  .site-header__actions {
    display: none;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .legal-hero__inner {
    width: calc(100% - 32px);
    padding: 68px 0 62px;
  }

  .legal-layout {
    width: calc(100% - 32px);
    padding: 46px 0 62px;
  }

  .legal-section {
    padding: 25px 21px;
  }

  .legal-intro {
    padding: 22px;
  }

  .site-footer__inner {
    width: calc(100% - 32px);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }

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

  .cookie-setting {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .site-logo__name {
    max-width: 180px;
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
  }

  .site-logo__subtitle {
    letter-spacing: 0.3em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
