:root {
  --stone: #c4a574;
  --stone-dark: #8b6914;
  --forest: #2c4a3e;
  --forest-light: #3d6b58;
  --cream: #f7f1e8;
  --ivory: #fdfaf4;
  --terracotta: #b85c38;
  --ink: #1a1a1a;
  --muted: #5c5346;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(26, 26, 26, 0.12);
  --radius: 16px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--terracotta); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 165, 116, 0.35);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--forest);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo span { color: var(--terracotta); font-weight: 400; }

nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
nav a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
nav a:hover { color: var(--forest); }

.lang-switch { display: flex; gap: 0.4rem; }
.lang-switch button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  opacity: 0.55;
  transition: opacity .2s, transform .2s;
}
.lang-switch button.active,
.lang-switch button:hover { opacity: 1; transform: scale(1.08); }
.lang-switch img { width: 32px; height: 22px; object-fit: cover; border-radius: 3px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--forest);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background:
    linear-gradient(180deg, rgba(26,26,26,.28) 0%, rgba(44,74,62,.5) 100%),
    url("../images/hero-beynac.jpg") center/cover no-repeat;
}
.page-hero { padding: 3.2rem 1.4rem 1.2rem; background: #f3ece1; }
.page-hero h1 { font-family: var(--font-serif); color: var(--forest); font-size: clamp(2rem, 5vw, 3.2rem); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.plain { list-style: none; color: var(--muted); }
.plain li { padding: 0.35rem 0 0.35rem 1.1rem; position: relative; }
.plain li::before { content: "·"; position: absolute; left: 0; color: var(--stone-dark); font-weight: 700; }
.btn-ghost.dark { border-color: var(--forest); color: var(--forest) !important; margin-left: .5rem; }
.house-card { position: relative; }
.badge-booked {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.booked-note { font-size: .92rem; color: var(--terracotta); font-weight: 600; margin-top: auto; }
.house-card.is-booked img { filter: saturate(.85); }
.gallery-lg { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery-lg img { height: 200px; }
.hero-content { max-width: 780px; padding: 2rem; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.hero p {
  margin: 1.2rem auto 2rem;
  font-size: 1.2rem;
  max-width: 520px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: white !important;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform .2s, background .2s;
}
.btn:hover { background: #9a4a2c; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid white;
  margin-left: 0.6rem;
}

/* Sections */
section { padding: 5rem 1.4rem; }
.wrap { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--forest);
  margin-bottom: 0.4rem;
}
.section-lead { color: var(--muted); max-width: 640px; margin-bottom: 2.4rem; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.intro-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Houses */
.houses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.house-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.house-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.house-body { padding: 1.3rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.house-body h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--forest);
  margin-bottom: 0.3rem;
}
.house-body .tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.house-body ul {
  list-style: none;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0.6rem 0 1.1rem;
}
.house-body li { padding: 0.18rem 0 0.18rem 1.1rem; position: relative; }
.house-body li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--stone-dark);
  font-weight: 700;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}
.gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform .25s;
}
.gallery img:hover { transform: scale(1.04); }

/* Attractions */
.attr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}
.attr-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.attr-card img { width: 100%; height: 170px; object-fit: cover; }
.attr-card h4 {
  font-family: var(--font-serif);
  padding: 0.9rem 1.1rem 0.2rem;
  color: var(--forest);
}
.attr-card p { padding: 0 1.1rem 1.2rem; font-size: 0.92rem; color: var(--muted); }

/* Prices */
.prices {
  background: var(--forest);
  color: white;
}
.prices .section-title, .prices .section-lead { color: var(--cream); }
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
}
th, td { padding: 0.9rem 0.8rem; text-align: center; }
th { background: rgba(0,0,0,0.2); font-weight: 600; }
tr:nth-child(even) { background: rgba(255,255,255,0.04); }
.note { margin-top: 1.2rem; font-size: 0.9rem; opacity: 0.85; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-box {
  background: white;
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-box h3 { font-family: var(--font-serif); color: var(--forest); margin-bottom: 0.8rem; }
.contact-box p { margin: 0.4rem 0; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

footer {
  background: #1a1a1a;
  color: #cfc8bc;
  padding: 2rem 1.4rem;
  text-align: center;
  font-size: 0.9rem;
}
footer a { color: var(--stone); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 200;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .intro-grid, .houses-grid, .contact-grid, .two-col { grid-template-columns: 1fr; }
  .houses-grid { gap: 1.2rem; }
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); padding: 1rem 1.4rem 1.4rem; border-bottom: 1px solid #ddd; }
  .menu-toggle { display: block; }
}
@media (max-width: 600px) {
  .hero { min-height: 70vh; }
  .btn-ghost { display: none; }
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; margin: 0.25rem 0.35rem 0.25rem 0; }
.route-label { margin-top: 1.2rem; font-weight: 700; color: var(--forest); }
.route-btns { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.4rem; }


.centered { text-align: center; margin-left: auto; margin-right: auto; }
.wrap.narrow { max-width: 860px; }
.four-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.four-hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.four-hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(20,24,20,.72) 100%);
}
.four-hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin: .2rem 0 .8rem;
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
}
.four-hero-text .tag { color: #f3d2b5; }
.four-hero-text p { max-width: 620px; margin-left: auto; margin-right: auto; }
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-auto-rows: 220px;
  gap: 0.7rem;
}
.bento img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
  cursor: zoom-in;
}
.bento img:first-child { grid-row: span 2; height: 100%; }
.equip-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.4rem;
  margin: 1.4rem 0 2.2rem;
}
.equip-grid li {
  background: #fff;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--muted);
}
.stay-box {
  background: #fff;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}
.stay-box h2 { font-family: var(--font-serif); color: var(--forest); margin-bottom: .6rem; }
.cta-row { margin-top: 1.2rem; }
@media (max-width: 700px) {
  .bento, .equip-grid { grid-template-columns: 1fr; }
  .bento img:first-child { grid-row: auto; min-height: 220px; }
  .four-hero { min-height: 60vh; }
}

.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo small {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
  margin-top: 0.15rem;
}
.intro-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 2rem 0 1.6rem;
}
.intro-photos img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
}
.intro-copy p + p { margin-top: 1rem; }
.bento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 180px;
  gap: 0.7rem;
}
.bento img:first-child { grid-row: span 1; }
@media (max-width: 700px) {
  .intro-photos { grid-template-columns: 1fr; }
  .intro-photos img { height: 220px; }
}

@media (max-width: 700px) {
  .route-btns { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
  .route-btns .btn { margin: 0; text-align: center; width: 100%; }
}
