@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #1f1a26;
  --plum: #34204f;
  --magenta: #6a3d9a;
  --magenta-dark: #522d7a;
  --wine: #7a1f3d;
  --rose: #efe7f7;
  --sand: #f6f3ef;
  --cream: #fffefb;
  --line: #e6e0e8;
  --muted: #5f5866;
  --leaf: #2f5d3f;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(24, 16, 36, .25);
  --wrap: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-underline-offset: 3px; }
a:hover { color: var(--magenta-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--plum); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--plum); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin-bottom: .6rem; display: block; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--plum); }
.brand svg { flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1; }
.brand-sub { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; padding: .5rem .7rem; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--magenta); background: var(--rose); }
.menu { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1 var(--sans); text-decoration: none; padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--magenta-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: #fff; }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--rose); color: var(--plum); }
.nav .btn { margin-left: .5rem; padding: .7rem 1.1rem; color: #fff; }
.nav .btn:hover { background: var(--magenta-dark); color: #fff; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--plum); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu-panel { display: flex; }
  .menu-panel { display: none; position: absolute; right: 0; top: calc(100% + .5rem); flex-direction: column; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; }
  .menu-panel a { text-decoration: none; color: var(--ink); padding: .75rem 1rem; border-radius: 8px; font-weight: 500; }
  .menu-panel a[aria-current="page"], .menu-panel a:hover { background: var(--rose); color: var(--magenta); }
  .menu-panel .btn { margin-top: .4rem; color: #fff; }
}

/* Hero */
.hero { position: relative; color: #fff; min-height: min(86vh, 760px); display: grid; align-items: end; overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 16, 36, .1) 0%, rgba(24, 16, 36, .35) 45%, rgba(24, 16, 36, .85) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 5rem 3.5rem; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .eyebrow { color: #e3d4f7; }
.hero p { font-size: 1.2rem; max-width: 56ch; color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.page-hero { background: var(--sand); border-bottom: 1px solid var(--line); padding-block: 3.5rem 2.5rem; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Facts bar */
.facts { background: var(--plum); color: #fff; }
.facts ul { list-style: none; margin: 0; padding: 1.2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.facts li { display: flex; align-items: center; gap: .7rem; font-weight: 500; font-size: .98rem; }
.facts svg { flex: none; color: #cdb6f0; }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr 1fr; } .split.reverse > :first-child { order: 2; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--muted); }
.beds { font-weight: 600; color: var(--ink) !important; }
.card-body .more { margin-top: auto; padding-top: .6rem; font-weight: 600; }

.checks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .2rem; border-radius: 50%; background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 100% no-repeat; }
.checks.two { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.features { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feature svg { color: var(--magenta); margin-bottom: .8rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Room detail */
.room { display: grid; gap: 2rem; padding-block: 3rem; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.room:last-child { border-bottom: 0; }
@media (min-width: 880px) { .room { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.room-photos { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
.room-photos img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.room-photos img:first-child { grid-column: 1 / -1; }
.tag { display: inline-block; background: var(--rose); color: var(--magenta-dark); font-weight: 600; font-size: .85rem; padding: .3rem .75rem; border-radius: 999px; margin-bottom: .8rem; }

/* Gallery */
.gallery-group { margin-bottom: 3rem; }
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(20, 10, 18, .92); }
.lightbox img { max-width: 96vw; max-height: 84vh; width: auto; border-radius: 8px; }
.lightbox p { color: #fff; text-align: center; margin: .8rem 0 0; }
.lightbox button { position: fixed; top: 1rem; right: 1rem; background: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; }

/* Reservation */
.booking { background: linear-gradient(135deg, var(--plum), #5a3488); color: #fff; border-radius: calc(var(--radius) * 1.4); padding: clamp(1.6rem, 4vw, 3rem); display: grid; gap: 2rem; }
@media (min-width: 900px) { .booking { grid-template-columns: 1fr 1.25fr; align-items: center; } }
.booking h2 { color: #fff; }
.booking p { color: rgba(255, 255, 255, .88); }
.form { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 600; color: #fff; }
.form input, .form select { font: 500 1rem var(--sans); padding: .8rem .9rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.form .full { grid-column: 1 / -1; }
.form .btn { width: 100%; }
.form-note { font-size: .85rem; margin: 0; color: rgba(255, 255, 255, .75); grid-column: 1 / -1; }
.form-error { color: #e3d4f7; font-weight: 600; grid-column: 1 / -1; margin: 0; min-height: 1.2em; }

/* Contact */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; }
.contact-list svg { flex: none; color: var(--magenta); margin-top: .2rem; }
.contact-list strong { display: block; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--sand); }
.distances { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.distances li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.distances span:last-child { font-weight: 600; color: var(--plum); white-space: nowrap; }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--plum); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--magenta); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--magenta); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 60ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 2.5rem; }
.site-footer h2 { color: #fff; font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45); }
.wa-float:hover { background: #17834a; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Utilities (no inline styles: strict CSP) */
.mt { margin-top: 1.5rem; }
.section-tight { padding-top: 1rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .hero-actions { justify-content: center; }
.eyebrow-light { color: #e3d4f7; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--plum); }
.site-footer a, .contact-list a { overflow-wrap: anywhere; }

/* ---------- Mobile ---------- */
.mobile-bar, .swipe-hint { display: none; }

@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  h1 { font-size: clamp(1.85rem, 8.4vw, 2.3rem); }
  h2 { font-size: clamp(1.45rem, 6.4vw, 1.8rem); }
  .section { padding-block: 2.8rem; }
  .section-head { margin-bottom: 1.6rem; }
  .lead { font-size: 1.05rem; }

  /* Header + menu as a full-width sheet */
  .site-header .wrap { min-height: 62px; }
  .brand svg { width: 32px; height: 32px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .16em; }
  .menu { position: static; }
  .menu summary { padding: .55rem 1rem; }
  .menu[open] summary { background: var(--plum); color: #fff; border-color: var(--plum); }
  .menu-panel { position: fixed; left: 0; right: 0; top: 62px; min-width: 0; border-radius: 0 0 18px 18px; border-width: 0 0 1px; padding: .5rem 1rem 1rem; max-height: calc(100vh - 62px); overflow-y: auto; }
  .menu-panel a { padding: .95rem .9rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-panel a:last-of-type { border-bottom: 0; }
  .menu-panel .btn { border-radius: 999px; margin-top: .8rem; }

  /* Hero */
  .hero { min-height: 78svh; }
  .hero::after { background: linear-gradient(180deg, rgba(24, 16, 36, .15) 0%, rgba(24, 16, 36, .55) 40%, rgba(24, 16, 36, .92) 100%); }
  .hero .wrap { padding-block: 3rem 2rem; }
  .hero p { font-size: 1.02rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  /* Highlights as compact 2-column chips */
  .facts ul { grid-template-columns: 1fr 1fr; gap: .55rem; padding: 1rem 0; }
  .facts li { font-size: .88rem; gap: .5rem; background: rgba(255, 255, 255, .08); border-radius: 10px; padding: .6rem .7rem; line-height: 1.25; }
  .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .facts svg { width: 20px; height: 20px; }

  /* Portrait photos: crop to a calm 4:3 on phones */
  .split > img, .split > picture img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
  .split { gap: 1.6rem; }

  /* Room cards become a swipeable carousel */
  .cards-rooms { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin-inline: -1rem; padding: 0 1rem .5rem; scrollbar-width: none; }
  .cards-rooms::-webkit-scrollbar { display: none; }
  .cards-rooms .card { scroll-snap-align: start; }
  .swipe-hint { display: block; text-align: center; font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }

  /* Features: 2 compact columns */
  .features { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .feature { padding: 1rem; }
  .feature svg { width: 24px; height: 24px; margin-bottom: .5rem; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: .85rem; line-height: 1.45; }

  /* Room detail page */
  .room { padding-block: 2rem; gap: 1.2rem; }
  .room-photos { gap: .5rem; }
  .checks.two { grid-template-columns: 1fr 1fr; gap: .45rem .8rem; font-size: .92rem; }
  .room .btn { width: 100%; }

  /* Gallery: 2 columns */
  .gallery { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .gallery-group { margin-bottom: 2rem; }
  .gallery-group h2 { font-size: 1.3rem; }

  /* Booking form */
  .booking { padding: 1.4rem 1.1rem; border-radius: 18px; gap: 1.2rem; }
  .form { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .form label:nth-child(3) { grid-column: 1 / -1; }

  /* FAQ, distances, contact */
  .faq details { padding: 0 1rem; }
  .faq summary { padding: 1rem 0; font-size: .98rem; }
  .distances li { padding: .7rem .85rem; font-size: .95rem; }
  .contact-list li { gap: .7rem; }
  .map { aspect-ratio: 1 / 1; }

  /* CTA band buttons full width */
  .cta-band .hero-actions .btn { width: 100%; }

  /* Footer: 2 columns, compact */
  .site-footer { padding-block: 2.5rem 1.5rem; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-grid > div:first-child, .footer-grid > div:nth-child(2) { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: .4rem; }

  /* Quick-action bar replaces the floating WhatsApp button */
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255, 254, 251, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); gap: .5rem; box-shadow: 0 -8px 24px -12px rgba(24, 16, 36, .25); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 52px; border-radius: 12px; text-decoration: none; font-size: .78rem; font-weight: 600; color: var(--plum); }
  .mobile-bar a:nth-child(2) { color: #17834a; }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .mb-primary { background: var(--magenta); color: #fff; flex-direction: row; gap: .45rem; font-size: .95rem; }
}

/* Form fields must be able to shrink inside the card (date inputs have a wide intrinsic size) */
.booking > *, .form label { min-width: 0; }
.form input, .form select { min-width: 0; max-width: 100%; }
.form input[type="date"] { appearance: none; -webkit-appearance: none; }
