:root {
  --paper: #f7f4ee;
  --surface: #fffefb;
  --ink: #292d27;
  --muted: #5f6359;
  --accent: #465538;
  --accent-hover: #3a4730;
  --line: #dcded3;
  --hero-overlay: linear-gradient(105deg, rgba(20, 24, 18, 0.72) 0%, rgba(20, 24, 18, 0.45) 45%, rgba(20, 24, 18, 0.25) 100%);
  --sans: system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

body:has(dialog[open]) {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--surface);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  background: var(--accent);
  color: #fff !important;
  border: 1px solid var(--accent);
  transition: background 0.15s ease;
  -webkit-text-fill-color: currentColor;
}

.button:hover {
  background: var(--accent-hover);
}

.button-outline {
  background: transparent;
  color: var(--accent) !important;
  -webkit-text-fill-color: currentColor;
}

.button-outline:hover {
  background: rgba(70, 85, 56, 0.08);
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

.text-link {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--accent);
}

.text-link:hover {
  color: var(--accent-hover);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding: 10px var(--gutter);
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(41, 45, 39, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(41, 45, 39, 0.06);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-left: auto;
  font-size: 15px;
}

.desktop-nav a {
  padding: 8px 0;
  color: var(--muted);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
}

.desktop-nav a[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.lang-dropdown__toggle::after {
  content: "";
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 4px;
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 11rem;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(41, 45, 39, 0.12);
}

.lang-dropdown__menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--muted);
}

.lang-dropdown__menu a:hover,
.lang-dropdown__menu a[aria-current="true"] {
  color: var(--ink);
  background: rgba(70, 85, 56, 0.06);
}

.lang-dropdown__menu a[aria-current="true"] {
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 16px var(--gutter) 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(41, 45, 39, 0.08);
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__langs {
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.mobile-menu__langs a[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
}

.mobile-menu .button {
  width: 100%;
  margin-top: 16px;
}

/* Hero (home) */
.hero-banner {
  position: relative;
  min-height: clamp(420px, 58vh, 620px);
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
}

.hero-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-banner__overlay {
  position: relative;
  width: 100%;
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
  background: var(--hero-overlay);
}

.hero-banner h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-banner__lead {
  margin: 0 0 24px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.55;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.hero-banner__actions .button-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(15, 18, 14, 0.35);
  -webkit-text-fill-color: #fff;
}

.hero-banner__actions .button-outline:hover {
  background: rgba(15, 18, 14, 0.5);
}

/* Facts bar */
.facts-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.facts-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px var(--gutter);
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.fact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fact-value {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.2;
}

/* Sections */
.section {
  padding: clamp(48px, 7vw, 80px) 0;
}

.section--muted {
  background: #eeeee5;
}

.section-heading {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 42rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.split__media {
  border-radius: 4px;
  overflow: hidden;
  background: #e7e5de;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.amenity {
  padding: 20px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.amenity__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--accent);
}

.amenity__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.amenity__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  background: #e7e5de;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-grid a:hover img {
  transform: scale(1.03);
}

.contact-cta {
  padding: clamp(40px, 6vw, 64px);
  background: var(--accent);
  color: #fff;
  text-align: center;
}

.contact-cta .section-heading {
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}

.contact-cta .section-lead {
  color: rgba(255, 255, 255, 0.88);
  margin-inline: auto;
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.contact-cta .button:not(.button-outline) {
  background: #fff;
  color: var(--accent) !important;
  border-color: #fff;
  -webkit-text-fill-color: var(--accent);
}

.contact-cta .button:not(.button-outline):hover {
  background: #f0f0ea;
}

.contact-cta .button-outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.85);
  -webkit-text-fill-color: #fff;
}

.contact-cta .button-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-main--home {
  padding: 0;
}

/* Inner pages */
.page-main--inner {
  padding-bottom: 64px;
}

.page-main:not(.page-main--home) {
  padding-top: 0;
}

.page-hero {
  position: relative;
  min-height: clamp(280px, 40vh, 420px);
  display: flex;
  align-items: flex-end;
  margin-bottom: 40px;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__content {
  position: relative;
  width: 100%;
  padding: 32px 0 40px;
  background: linear-gradient(180deg, transparent, rgba(20, 24, 18, 0.75));
  color: #fff;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  max-width: 20em;
  overflow-wrap: anywhere;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 40rem;
  margin: 0;
  font-size: 17px;
}

.page-hero--light .page-hero__content {
  background: none;
  color: var(--ink);
  padding-top: 48px;
}

.page-hero--light .lead {
  color: var(--muted);
}

.facts-compact {
  margin: 32px calc(-1 * var(--gutter)) 0;
  padding: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts-compact .facts-bar__grid {
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.content-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.content-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.content-section h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.2;
}

.content-section p {
  margin: 0 0 14px;
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.content-section p:last-child {
  margin-bottom: 0;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 16px;
}

.facts-table th,
.facts-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.facts-table th {
  width: 36%;
  color: var(--muted);
  font-weight: 500;
}

.faq-page {
  max-width: 720px;
  margin-inline: auto;
  padding: 48px var(--gutter) 64px;
}

.faq-page h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 12px;
}

.faq-list {
  margin-top: 32px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 18px 36px 18px 0;
  font-size: 17px;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.contact-page {
  padding: 48px var(--gutter) 64px;
}

.contact-panel {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  max-width: 520px;
}

.contact-panel p {
  margin: 0 0 10px;
  font-size: 16px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.related h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 16px;
}

.related ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
  font-size: 16px;
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  background: #e9ebe1;
  font-size: 15px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-grid .wordmark {
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact strong {
  color: var(--ink);
  font-size: 16px;
}

.footer-partners {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.footer-partner { min-width: 0; }
.footer-partner > span { display: block; font-size: 13px; color: var(--muted); }
.footer-partner a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.footer-partner img { width: 40px; height: 40px; object-fit: contain; }
.footer-partner a:hover { text-decoration: underline; }
.footer-address { font-size: 14px; }
picture { display: contents; }
.gallery-item { display: block; border: 0; padding: 0; margin: 0; width: 100%; background: transparent; color: inherit; cursor: pointer; }
.gallery-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.footer-legal {
  margin-top: 16px;
  font-size: 14px;
}

/* Gallery dialog */
dialog {
  border: 0;
  padding: 0;
}

dialog::backdrop {
  background: rgba(17, 24, 15, 0.88);
}

.gallery-dialog {
  position: fixed;
  inset: 0;
  width: min(96vw, 1400px);
  height: min(92dvh, 900px);
  margin: auto;
  background: #1f261f;
  color: #fff;
  overflow: hidden;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  min-height: 56px;
  font-size: 14px;
}

.gallery-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  font-size: 14px;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.gallery-close span[aria-hidden] {
  font-size: 22px;
  line-height: 1;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 100px);
  padding: 0 56px;
  position: relative;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(31, 38, 31, 0.85);
  color: #fff !important;
  font-size: 14px;
  line-height: 1.2;
}

.gallery-prev {
  left: 8px;
}

.gallery-next {
  right: 8px;
}

#gallery-caption {
  text-align: center;
  font-size: 14px;
  padding: 8px 20px 16px;
  color: #d8ded0;
}

/* Responsive */
@media (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-actions > .button,
  .header-lang-desktop {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .facts-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split__media {
    order: -1;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .facts-bar__grid {
    grid-template-columns: 1fr;
  }

  .gallery-prev,
  .gallery-next {
    top: auto;
    bottom: 8px;
    transform: none;
    max-width: 46%;
    font-size: 11px;
    padding: 8px;
  }

  .gallery-close {
    font-size: 12px;
    max-width: 55%;
    text-align: right;
  }

  .lightbox-stage {
    padding: 0 12px 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
