:root {
  --primary: #c45c26;
  --primary-dark: #9a4519;
  --accent: #e8b86d;
  --bg: #faf6f1;
  --surface: #ffffff;
  --text: #2c241b;
  --muted: #6b5e52;
  --border: #e8ddd0;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(44, 36, 27, 0.08);
  --max: 1100px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--primary);
}

.nav {
  display: none;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switcher {
  display: flex;
  gap: 0.25rem;
  padding: 0.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-switcher button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switcher button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}

.menu-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  color: var(--text);
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

.nav.open {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  flex-direction: column;
  background: var(--surface);
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Hero */
.hero {
  padding: 3.2rem 0 2.5rem;
  background:
    radial-gradient(ellipse at top right, rgba(232, 184, 109, 0.35), transparent 55%),
    linear-gradient(180deg, #fff8ef 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.hero .tagline {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.hero .sub {
  color: var(--muted);
  margin: 0 0 1.2rem;
  max-width: 36rem;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}

.hero-card {
  background: var(--surface);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.25rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image:
    linear-gradient(180deg, rgba(44, 36, 27, 0.05), rgba(44, 36, 27, 0.45)),
    repeating-linear-gradient(
      -45deg,
      #f0e4d6,
      #f0e4d6 12px,
      #e8d8c4 12px,
      #e8d8c4 24px
    );
  color: #fff;
}

.hero-card strong {
  font-size: 1.15rem;
}

.hero-card span {
  opacity: 0.9;
  font-size: 0.9rem;
}

/* Sections */
section {
  padding: 2.8rem 0;
}

section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.section-lead {
  color: var(--muted);
  margin: 0 0 1.4rem;
  max-width: 42rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.amenity {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.amenity .icon {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 8px;
  background: #f8ebe0;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.rules-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .rules-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.rules-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}


.reviews-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.review {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.review .meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.review blockquote {
  margin: 0;
  font-size: 0.98rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px dashed #c9b7a3;
  background:
    linear-gradient(135deg, #f3e7da, #e8d5c0);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea,
select {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.4rem;
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.92rem;
}

.form-status.ok {
  color: #1f6b3a;
}

.form-status.err {
  color: #a12b2b;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.contact-buttons .btn.disabled,
.contact-buttons .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.map-frame {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius);
  background: #eee;
}

.address-line {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* AI chat widget */
.chat-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: min(360px, calc(100vw - 1.5rem));
}

.chat-toggle {
  margin-left: auto;
  display: flex;
  box-shadow: var(--shadow);
}

.chat-panel {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 0.6rem;
  max-height: min(420px, 70vh);
}

.chat-panel.open {
  display: flex;
}

.chat-header {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

.chat-log {
  padding: 0.9rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #fffaf4;
  min-height: 180px;
}

.bubble {
  max-width: 90%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.bubble.bot {
  background: #fff;
  border: 1px solid var(--border);
  align-self: flex-start;
}

.bubble.user {
  background: #f3e0d2;
  align-self: flex-end;
}

.chat-input {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem;
  border-top: 1px solid var(--border);
}

.chat-input input {
  flex: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


.gallery-item.has-photo {
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eee;
  display: flex;
  flex-direction: column;
}

.gallery-item.has-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-item.has-photo figcaption {
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  text-align: left;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 260px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-card .hero-card-caption {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(44, 36, 27, 0.72));
  color: #fff;
}

.about-body {
  white-space: normal;
}

.rules-grid.three {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .rules-grid.three {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
