:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --ink: #23201c;
  --muted: #655e54;
  --line: #e3dacb;
  --forest: #2f4a3a;
  --forest-dark: #1f3328;
  --wood: #94552f;
  --gold: #c9a24a;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgb(35 32 28 / 0.45);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 900px; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--forest); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wood); margin-bottom: 0.9rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.icon { width: 1.4em; height: 1.4em; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.7rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 0.95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dark); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--forest); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(247 243 236 / 0.92); backdrop-filter: blur(10px); transition: box-shadow 0.2s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgb(35 32 28 / 0.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { display: flex; gap: 1.5rem; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.nav ul a:hover { border-color: var(--wood); }
.lang { font-weight: 700; font-size: 0.85rem; text-decoration: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.35rem 0.7rem; }
.lang:hover { border-color: var(--forest); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 0; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; margin-inline: auto; transition: transform 0.2s, background-color 0.2s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .lead { margin-top: 1.4rem; max-width: 34rem; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.rating { display: flex; align-items: center; gap: 0.9rem; margin-top: 2.2rem; font-size: 0.85rem; line-height: 1.4; color: var(--muted); }
.rating strong { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 12px 12px 12px 0; background: var(--forest); color: #fff; font-size: 1.2rem; }
.hero-media { position: relative; padding-bottom: 12%; }
.hero-main { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-inset { position: absolute; left: -7%; bottom: 0; width: 48%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); border: 6px solid var(--bg); box-shadow: var(--shadow); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column-reverse; padding: 1.5rem 1rem 0 0; }
.facts dd { font: 600 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: var(--forest); }
.facts dt { color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lead { margin-top: 1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-grid .lead { margin-top: 1.2rem; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.about-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); aspect-ratio: 1; }
.about-media img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: var(--radius); }
.features { display: grid; gap: 1.6rem; margin-top: 2.2rem; }
.features li { display: flex; gap: 1.1rem; }
.features .icon { width: 2.9rem; height: 2.9rem; padding: 0.7rem; border-radius: 50%; background: #e9efe6; color: var(--forest); }
.features p { color: var(--muted); margin-top: 0.3rem; font-size: 0.97rem; }

/* Offers */
.offers { background: var(--forest); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
.offers ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.2rem 0 1.8rem; }
.offers li { display: grid; justify-items: center; gap: 0.8rem; padding: 1.6rem 0.75rem; border: 1px solid rgb(255 255 255 / 0.18); border-radius: var(--radius-sm); font-weight: 600; }
.offers .icon { width: 2.2rem; height: 2.2rem; color: var(--gold); }
.offers p { color: rgb(255 255 255 / 0.75); font-size: 0.95rem; }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.room { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.room > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.room-body { display: flex; flex-direction: column; gap: 0.8rem; flex: 1; padding: 1.5rem 1.6rem 1.6rem; }
.room h3 { font: 600 1.7rem/1.15 var(--serif); }
.room-body > p { color: var(--muted); font-size: 0.97rem; }
.room .cap { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.room .cap .icon { color: var(--wood); }
.room-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.price { color: var(--muted); font-size: 0.88rem; }
.price strong { color: var(--ink); font-size: 1.2rem; margin-inline: 0.15rem; }

/* Prices */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices th, .prices td { padding: 1.05rem 1.3rem; text-align: left; }
.prices thead th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); vertical-align: bottom; }
.prices tbody tr { border-top: 1px solid var(--line); }
.prices tbody th { font-weight: 600; }
.prices td { font-weight: 700; color: var(--forest); white-space: nowrap; text-align: center; }
.prices thead th:not(:first-child) { text-align: center; }
.notes { margin-top: 1.25rem; color: var(--muted); font-size: 0.95rem; }

/* Area */
.area-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 5vw, 4.5rem); }
.prose { display: grid; gap: 1rem; color: var(--muted); }

/* Gallery */
.tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.tabs button {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.2rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: 600 0.95rem/1.2 var(--sans); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tabs button:hover { border-color: var(--forest); }
.tabs button[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.tabs span { font-size: 0.8rem; font-weight: 500; opacity: 0.7; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.subtabs { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: -0.5rem 0 1.5rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.subtabs button { padding: 0.35rem 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: 600 0.92rem/1.3 var(--sans); cursor: pointer; }
.subtabs button:hover { color: var(--ink); }
.subtabs button[aria-pressed="true"] { color: var(--forest); border-color: var(--wood); }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.4s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 3.5rem 1rem; border: 0; background: rgb(20 18 15 / 0.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(100%, 1100px); max-height: 100%; width: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-count { position: absolute; bottom: 1rem; inset-inline: 0; text-align: center; font-size: 0.9rem; opacity: 0.8; }
.lightbox button { position: absolute; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.14); color: #fff; font: 400 1.8rem/1 var(--sans); cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / 0.28); }
.lightbox-close { top: 0.75rem; right: 0.75rem; }
.lightbox-prev { left: 0.75rem; top: calc(50% - 1.5rem); }
.lightbox-next { right: 0.75rem; top: calc(50% - 1.5rem); }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.location-grid h2 + p { margin-top: 1.2rem; color: var(--muted); }
.distances { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; margin: 1.8rem 0; }
.distances div { display: flex; flex-direction: column-reverse; }
.distances dd { font: 600 2.1rem/1 var(--serif); color: var(--forest); }
.distances dt { color: var(--muted); font-size: 0.88rem; margin-top: 0.25rem; }
.address { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; margin-bottom: 1.5rem; }
.address .icon { color: var(--wood); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Awards */
.awards { padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
.awards ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.awards li { display: flex; align-items: center; gap: 1.1rem; text-align: left; padding: 1.1rem 1.6rem 1.1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.awards strong { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--gold); color: #fff; font: 600 2rem/1 var(--serif); }
.awards span { font-weight: 600; max-width: 13rem; line-height: 1.35; }
.awards small { display: block; color: var(--muted); font-weight: 500; font-size: 0.8rem; }

/* Contact */
#contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-grid .lead { margin-top: 1rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2rem; }
.wide { grid-column: 1 / -1; }
.field { display: grid; gap: 0.4rem; font-size: 0.88rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgb(47 74 58 / 0.18); }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
.form-status { font-weight: 600; font-size: 0.95rem; }
.form-status.success { color: var(--forest); }
.form-status.error { color: #a12b1c; }
.contact-card { background: var(--forest); color: #fff; border-radius: var(--radius); overflow: hidden; }
.contact-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.contact-body { padding: 1.8rem; }
.contact-body h3 { font: 600 1.9rem/1.1 var(--serif); margin-bottom: 1.4rem; }
.contact-body ul { display: grid; gap: 1.2rem; }
.contact-body li { display: flex; gap: 0.9rem; align-items: flex-start; font-weight: 600; overflow-wrap: anywhere; }
.contact-body .icon { color: var(--gold); margin-top: 0.2rem; }
.contact-body small { display: block; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.65); }
.contact-body a { text-decoration: none; }
.contact-body a:hover { text-decoration: underline; }
.social { display: flex; gap: 0.7rem; margin-top: 1.8rem; }
.social a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid rgb(255 255 255 / 0.3); border-radius: 50%; }
.social a:hover { background: rgb(255 255 255 / 0.12); }
.social .icon { color: #fff; margin: 0; }

/* Footer */
.site-footer { background: var(--forest-dark); color: rgb(255 255 255 / 0.8); padding: 2.75rem 0; font-size: 0.9rem; }
.footer-inner { display: grid; justify-items: center; gap: 1.4rem; text-align: center; }
.site-footer img { height: 66px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -24px rgb(35 32 28 / 0.5); display: none;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .lang { align-self: flex-start; }
  .hero-grid, .about-grid, .area-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inset { left: auto; right: 4%; width: 42%; }
  .about-media { order: 2; }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .logo img { height: 46px; }
  .facts, .offers ul, .gallery { grid-template-columns: repeat(2, 1fr); }
  .rooms, .form { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .prices th, .prices td { padding: 0.85rem 0.9rem; font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
