:root {
  --bg: #F8F3EF;
  --surface: #DABCB1;
  --ink: #291D1D;
  --primary: #5B1418;
  --accent: #B0827D;
  --muted: #6E5755;
  --rule: #E4D3CC;
  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17.5px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }

h1, h2, h3, .tagline, .closing, .todo-box, .booking li::before { font-optical-sizing: none; font-variation-settings: "opsz" 20; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--primary); line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1.6rem; }
h3 { font-size: 1.45rem; }
.en-h { display: block; font-family: var(--body); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-top: 0.5rem; }
.en { display: block; color: var(--muted); font-size: 0.92em; margin-top: 0.2rem; }

.demo {
  background: var(--primary); color: var(--bg);
  font-size: 0.8rem; text-align: center; padding: 0.45rem 1rem;
}
.demo .todo { background: none; border: 1px dashed currentColor; color: inherit; padding: 0 0.35rem; margin: 0; display: inline; font-size: inherit; }
.todo {
  display: inline-block;
  border: 1.5px dashed var(--accent);
  color: var(--muted);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.92rem;
}

.top {
  max-width: var(--wrap); margin: 0 auto; padding: 1.1rem 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand img { width: 128px; }
.top nav { display: flex; gap: 1.4rem; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

section { max-width: var(--wrap); margin: 0 auto; padding: 4.5rem 16px; }

.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-top: 2.5rem;
}
.tagline {
  font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--accent);
  margin: 0 0 1rem;
}
.lead { font-size: 1.15rem; margin: 1.4rem 0 0.3rem; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin: 2rem 0 1.4rem; }
.link { font-weight: 500; text-underline-offset: 4px; }
.note { font-size: 0.93rem; color: var(--muted); margin: 0; }
.note .en { font-size: 1em; }
.hero-photo { margin: 0; }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 3px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 0.95rem 1.5rem; border-radius: 999px; line-height: 1.2;
  transition: transform 0.15s, background 0.15s;
}
.btn.wa { background: var(--primary); color: var(--bg); }
.btn.wa:hover { background: #450E12; transform: translateY(-1px); }
.btn.light { background: var(--bg); color: var(--primary); }

.braid-line { display: block; width: min(var(--wrap), calc(100% - 32px)); height: 46px; margin: 0 auto; }
.braid-line path { fill: none; stroke: var(--accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 3px; }

.about {
  display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: center;
  background: var(--surface); border-radius: 4px; max-width: calc(var(--wrap) - 32px);
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
}
.about p { max-width: 36em; margin: 0 0 0.8rem; }
.about .en { color: #4E3A38; }
.about .en-h { color: #7A4F4A; }
.todo-box {
  aspect-ratio: 4 / 5; display: grid; place-content: center; text-align: center;
  border: 1.5px dashed var(--primary); border-radius: 4px; color: var(--primary);
  font-family: var(--display); font-size: 1.2rem; background: rgba(248, 243, 239, 0.4);
}
.todo-box small { font-family: var(--body); font-size: 0.85rem; color: #4E3A38; }

.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.group h3 span { display: block; font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-top: 0.35rem; }
dl { margin: 1.2rem 0 0; }
dl div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--rule);
}
dt { font-weight: 500; }
dt small, dd small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--primary); font-weight: 600; text-align: right; }
dd.quote { white-space: normal; font-weight: 500; font-size: 0.92rem; }
.prices .note { margin: 2rem 0 1.6rem; }

.booking { padding-top: 1rem; }
.booking ol { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.booking li { counter-increment: s; border-top: 1px solid var(--primary); padding-top: 1.1rem; }
.booking li::before {
  content: counter(s); display: block; font-family: var(--display); font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 0.7rem;
}
.booking strong { color: var(--primary); font-weight: 600; }
.booking .en { margin-top: 0.5rem; }

.faq { padding-top: 1rem; max-width: 820px; margin-left: max(16px, calc((100% - var(--wrap)) / 2)); }
details { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 500; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -0.1rem; font-size: 1.4rem; color: var(--primary); }
details[open] summary::after { content: "–"; }
summary .en { font-weight: 400; }
details p { margin: 0.8rem 0 0.2rem; }

.where { padding-top: 1rem; }
.where p { margin: 0 0 1rem; }

.end {
  background: var(--primary); color: var(--bg); text-align: center;
  padding: 4.5rem 16px 6.5rem; margin-top: 2rem;
}
.closing { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 1.8rem; line-height: 1.2; }
.closing .en { color: var(--surface); font-family: var(--body); font-size: 1rem; margin-top: 0.6rem; }
.contact { margin: 2rem 0 0.6rem; }
.end a:not(.btn) { color: var(--bg); }
.small { font-size: 0.8rem; color: var(--surface); margin: 1.4rem 0 0; }

.sticky { display: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .hero-photo { order: 2; }
  .about { grid-template-columns: 1fr; gap: 1.6rem; margin: 0 16px; }
  .todo-box { max-width: 220px; }
  .groups { grid-template-columns: 1fr; gap: 2rem; }
  .booking ol { grid-template-columns: 1fr; gap: 1.4rem; }
  section { padding: 3.2rem 16px; }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .brand img { width: 96px; }
  .top nav { gap: 0.9rem; }
  .top nav a { font-size: 0.9rem; }
  .actions .btn { width: 100%; text-align: center; }
  .grid { grid-template-columns: 1fr; }
  .sticky {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 5;
    text-align: center; box-shadow: 0 6px 20px rgba(41, 29, 29, 0.25);
    opacity: 0; transform: translateY(120%); transition: opacity 0.2s, transform 0.2s; pointer-events: none;
  }
  .sticky.on { opacity: 1; transform: none; pointer-events: auto; }
}

.top nav { align-items: center; }
.top nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.langs { display: inline-flex; gap: 0.15rem; margin-left: 0.4rem; padding-left: 1rem; border-left: 1px solid var(--rule); font-size: 0.85rem; letter-spacing: 0.06em; }
.langs b, .langs a { padding: 0.2rem 0.35rem; border-radius: 4px; font-weight: 600; }
.langs b { background: var(--primary); color: var(--bg); }
.langs a { text-decoration: none; }
.more { margin: 1.8rem 0 0; }

.gallery-page { padding-top: 2rem; }
.gallery-page h1 { margin-bottom: 0.8rem; }
.gallery-page .lead { margin-top: 0; }
.back { margin: 0 0 1.5rem; font-size: 0.95rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0 1.8rem; }
.filters button {
  font: 500 0.95rem var(--body); color: var(--primary); background: transparent;
  border: 1px solid var(--accent); border-radius: 999px; padding: 0.5rem 1.05rem; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--bg); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: 3px; overflow: hidden; }
.gallery a[hidden] { display: none; }
.gallery img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.03); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(41, 29, 29, 0.88); }
.lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; border-radius: 3px; }
.lightbox .close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--bg); color: var(--primary); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .top { flex-wrap: wrap; }
  .top nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 0.4rem; }
  .langs { margin-left: 0; padding-left: 0.6rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lightbox .close { top: 8px; right: 8px; }
}
@media (max-width: 560px) {
  .top nav > a[href*="#"] { display: none; }
}
