:root {
  --pine: #1e3a31;
  --pine-dark: #142720;
  --cream: #f6f2ea;
  --sand: #e8e0d2;
  --clay: #b4714c;
  --ink: #22302b;
  --muted: #6b7770;
  --white: #fffdf9;
  --radius: 4px;
  --shadow: 0 18px 50px -20px rgba(20, 39, 32, .35);
  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

.container {
  width: min(1140px, 90vw);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--sand { background: var(--sand); }
.section--pine { background: var(--pine); color: var(--cream); }
.section--pine h2, .section--pine h3 { color: var(--white); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 1.1rem 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(30, 58, 49, .12);
  padding: .7rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 54px; height: auto; }
.brand-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: .04em;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-top: .35rem;
  color: var(--clay);
}
.is-dark .brand-text, .is-dark .nav a { color: var(--white); }
.is-dark .brand-text small { color: #e7b48f; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: .3rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.8rem;
  background: var(--clay);
  color: var(--white);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--clay);
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: #9c5d3c; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--white); color: var(--pine); border-color: var(--white); }
.btn--light { background: var(--cream); color: var(--pine); border-color: var(--cream); }
.btn--light:hover { background: var(--white); }
.nav .btn { color: var(--white); }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .4rem;
  cursor: pointer;
  color: inherit;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-out both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 39, 32, .45), rgba(20, 39, 32, .55) 60%, rgba(20, 39, 32, .75));
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__content { position: relative; z-index: 2; width: min(820px, 90vw); }
.hero .eyebrow { color: #f0c9ad; }
.hero p { font-size: 1.05rem; color: rgba(255, 253, 249, .9); max-width: 60ch; margin-inline: auto; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero__scroll {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, .75);
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px; height: 34px;
  background: rgba(255, 253, 249, .5);
  margin: .6rem auto 0;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  color: var(--white);
  padding: 9rem 0 4rem;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 39, 32, .35), rgba(20, 39, 32, .78));
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero p { max-width: 55ch; color: rgba(255, 253, 249, .88); margin-bottom: 0; }
.page-hero .eyebrow { color: #f0c9ad; }

/* Intro / split */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media { position: relative; }
.split__media--small { max-width: 460px; }
.split__media--offset::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--clay);
  border-radius: var(--radius);
  z-index: -1;
}
.lead { font-size: 1.12rem; color: #41514a; }
.section--pine .lead { color: rgba(246, 242, 234, .82); }

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature {
  background: var(--white);
  border: 1px solid rgba(30, 58, 49, .08);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.feature h3 { margin-bottom: .4rem; }
.feature p { margin: 0; font-size: .92rem; color: var(--muted); }
.feature__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--clay);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-top: 3rem;
}
.stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 3rem;
  line-height: 1;
  color: var(--clay);
}
.section--pine .stat strong { color: #e7b48f; }
.stat span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.section--pine .stat span { color: rgba(246, 242, 234, .6); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--sand);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
  aspect-ratio: 4 / 3;
}
.framed {
  border-radius: 1.6rem;
  box-shadow: 0 40px 80px -60px rgba(15, 26, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: clamp(0.6rem, 2vw, 1rem);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.9), rgba(244, 240, 232, 0.8));
}

.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:nth-child(6n+1) { grid-column: span 6; }
.gallery-item:nth-child(6n+2) { grid-column: span 6; }
.gallery-item:nth-child(6n+3) { grid-column: span 4; }
.gallery-item:nth-child(6n+4) { grid-column: span 4; }
.gallery-item:nth-child(6n+5) { grid-column: span 4; }
.gallery-item:nth-child(6n+6) { grid-column: span 12; }
.gallery-item:nth-child(6n+6) img { aspect-ratio: 21 / 9; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 22, 18, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute;
  background: none;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: grid; place-items: center;
  transition: background .2s;
}
.lightbox button:hover { background: rgba(255,255,255,.12); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  border-bottom: 1px solid rgba(30, 58, 49, .1);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: .5rem;
  color: var(--clay);
  font-weight: 700;
}
.section--pine .checklist li { border-color: rgba(246, 242, 234, .15); }
.section--pine .checklist li::before { color: #e7b48f; }

/* Gallery preview strip */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.strip img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius); }

/* CTA band */
.cta {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { max-width: 52ch; margin-inline: auto; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}
.contact-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(30, 58, 49, .1); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: block; }
.contact-item a { font-weight: 500; word-break: break-word; }
.contact-item a:hover { color: var(--clay); }

form .field { margin-bottom: 1.1rem; }
form label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .45rem; color: var(--muted); }
form input, form textarea {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(30, 58, 49, .18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--clay); }
form textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .8rem; }

/* Footer */
.site-footer {
  background: var(--pine-dark);
  color: rgba(246, 242, 234, .75);
  padding: 3.5rem 0 2rem;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246, 242, 234, .12);
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1rem;
}
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: .78rem;
  color: rgba(246, 242, 234, .5);
}
.footer-brand { font-family: var(--font-title); font-size: 1.6rem; color: var(--white); margin-bottom: .6rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media--offset::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(n) { grid-column: span 6; }
  .gallery-item:nth-child(n) img { aspect-ratio: 1 / 1; }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(30, 58, 49, .22);
    background: rgba(255, 253, 249, .6);
    color: var(--ink);
    position: relative;
    z-index: 95;
    transition: background .25s, border-color .25s, color .25s;
  }
  .is-dark .nav-toggle {
    border-color: rgba(255, 255, 255, .32);
    background: rgba(20, 39, 32, .3);
    color: var(--white);
  }
  .nav-toggle span {
    width: 18px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s ease, opacity .2s ease;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  body.nav-open { overflow: hidden; }
  body.nav-open .site-header {
    z-index: 90;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.nav-open .brand { opacity: 0; visibility: hidden; }
  body.nav-open .nav-toggle {
    border-color: rgba(246, 242, 234, .3);
    background: rgba(255, 253, 249, .1);
    color: var(--white);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(10, 20, 16, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    width: min(88vw, 400px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 6rem 1.9rem max(2rem, env(safe-area-inset-bottom));
    background: linear-gradient(165deg, #234237 0%, #162d26 60%, #12241e 100%);
    box-shadow: -30px 0 70px -30px rgba(0, 0, 0, .6);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .45s cubic-bezier(.22, .8, .28, 1), visibility .45s;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 70;
    counter-reset: navitem;
  }
  .nav.is-open { transform: none; visibility: visible; }

  .nav__head {
    display: block;
    margin-bottom: 1.4rem;
    color: var(--white);
  }
  .nav__head .nav__title {
    display: block;
    font-family: var(--font-title);
    font-size: 1.45rem;
    line-height: 1.1;
  }
  .nav__head small {
    display: block;
    font-size: .58rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #e7b48f;
    margin-top: .5rem;
  }

  .nav > a:not(.btn) {
    position: relative;
    display: flex;
    align-items: center;
    gap: .95rem;
    padding: 1.05rem .1rem;
    font-family: var(--font-title);
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: .01em;
    color: var(--cream);
    border-bottom: 1px solid rgba(246, 242, 234, .1);
  }
  .nav > a:not(.btn)::before {
    counter-increment: navitem;
    content: "0" counter(navitem);
    font-family: var(--font-body);
    font-size: .6rem;
    letter-spacing: .18em;
    color: rgba(231, 180, 143, .85);
    padding-top: .45rem;
  }
  .nav > a:not(.btn)::after { display: none; }
  .nav > a:not(.btn):active,
  .nav > a:not(.btn):hover { color: #f0c9ad; }
  .nav > a[aria-current="page"] { color: #f0c9ad; }
  .nav > a[aria-current="page"]::before { color: #f0c9ad; }

  .nav > .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1.6rem;
    padding: 1rem 1.2rem;
    color: var(--pine);
    background: var(--cream);
    border-color: var(--cream);
    font-size: .72rem;
  }
  .nav > .btn:hover { background: var(--white); color: var(--pine); }
  .nav > .btn::after { display: none; }

  .nav__contact {
    margin-top: auto;
    padding-top: 2rem;
    font-size: .82rem;
    color: rgba(246, 242, 234, .6);
  }
  .nav__contact a {
    display: block;
    padding: .25rem 0;
    font-size: .9rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--cream);
  }
  .nav__contact a::after { display: none; }
  .nav__contact a:hover { color: #f0c9ad; }
  .nav__legal {
    display: flex;
    gap: 1rem;
    margin-top: .9rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(246, 242, 234, .12);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .nav__head,
  .nav > a:not(.btn),
  .nav > .btn,
  .nav__contact {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .38s ease, transform .38s ease;
  }
  .nav.is-open .nav__head,
  .nav.is-open > a:not(.btn),
  .nav.is-open > .btn,
  .nav.is-open .nav__contact {
    opacity: 1;
    transform: none;
  }
  .nav.is-open .nav__head { transition-delay: .05s; }
  .nav.is-open > a:nth-of-type(1) { transition-delay: .1s; }
  .nav.is-open > a:nth-of-type(2) { transition-delay: .15s; }
  .nav.is-open > a:nth-of-type(3) { transition-delay: .2s; }
  .nav.is-open > a:nth-of-type(4) { transition-delay: .25s; }
  .nav.is-open > .btn { transition-delay: .3s; }
  .nav.is-open .nav__contact { transition-delay: .36s; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (min-width: 761px) {
  .nav-backdrop, .nav__head, .nav__contact { display: none; }
}}

/* Footer legal */
.footer-legal {
  padding: 1.6rem 0;
  border-top: 1px solid rgba(246, 242, 234, .12);
  font-size: .8rem;
  line-height: 1.8;
  color: rgba(246, 242, 234, .6);
}
.footer-legal p { margin: 0 0 .4rem; }
.footer-legal strong { color: var(--white); font-weight: 500; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--white); }
.footer-legal__links { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: .7rem; }

/* Form states */
.form-status { display: none; margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: var(--radius); font-size: .9rem; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e7efe8; border: 1px solid #b9d3bf; color: #1e4d2b; }
.form-status--err { background: #f8e9e4; border: 1px solid #e0b3a2; color: #7a2f16; }
.form-success { display: none; }
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--pine); }
.form-success p { color: var(--muted); }
.form-success .btn { margin-top: .5rem; }
.consent-row { display: flex; gap: .7rem; align-items: flex-start; margin: 1.2rem 0; }
.consent-row input { width: auto; margin-top: .3rem; accent-color: var(--clay); }
.consent-row label { font-size: .82rem; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.5; margin: 0; }
.consent-row a { text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-hint { font-size: .75rem; color: var(--muted); margin-top: .3rem; display: block; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(130%);
  width: min(720px, 94vw);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 24px 60px -20px rgba(20, 39, 32, .5);
  padding: 1.4rem 1.5rem;
  z-index: 120;
  transition: transform .4s ease;
  font-size: .88rem;
}
.cookie-banner.is-open { transform: translateX(-50%) translateY(0); }
.cookie-banner p { margin: 0 0 .9rem; color: #41514a; }
.cookie-banner strong { color: var(--pine); }
.cookie-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-banner .btn { padding: .65rem 1.2rem; font-size: .68rem; }
.cookie-banner a { text-decoration: underline; }
@media (max-width: 640px) {
  .booking-grid { grid-template-columns: 1fr; }
  .cookie-banner { bottom: 0; border-radius: 8px 8px 0 0; }
}

/* Map embed (caricamento su consenso) */
.map-embed {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
  background: #dfe5e0;
  display: grid;
  place-items: center;
}
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-embed__placeholder { padding: 2rem; text-align: center; max-width: 460px; }
.map-embed__placeholder p { font-size: .92rem; color: #41514a; }

/* Evidenzia i segnaposto da completare prima della pubblicazione */
.placeholder {
  background: #fff3cd;
  border-bottom: 1px dashed #b4714c;
  padding: 0 .15em;
}

/* Accessibilità */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 200;
  background: var(--pine);
  color: var(--white);
  padding: .7rem 1.1rem;
  border-radius: 4px;
  font-size: .85rem;
}
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* ---------- Mobile: galleria a slideshow ---------- */
.gallery-nav { display: none; }

@media (max-width: 760px) {
  .gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .7rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -5vw;
    padding: 0 0 .4rem;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }

  .gallery-item,
  .gallery-item:nth-child(n) {
    flex: 0 0 100%;
    grid-column: auto;
    scroll-snap-align: start;
    border-radius: 10px;
    box-shadow: 0 12px 30px -18px rgba(20, 39, 32, .45);
  }
  .gallery-item:nth-child(n) img,
  .gallery-item img {
    aspect-ratio: var(--photo-ratio, 4 / 5);
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: none;
  }
  .gallery-item:hover img { transform: none; }

  .gallery-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.1rem;
  }
  .gallery-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(30, 58, 49, .25);
    background: var(--white);
    color: var(--pine);
    font-size: 1.35rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .gallery-nav button:disabled { opacity: .35; cursor: default; }
  .gallery-nav span {
    font-size: .78rem;
    letter-spacing: .18em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .gallery-progress {
    height: 2px;
    background: rgba(30, 58, 49, .12);
    border-radius: 2px;
    overflow: hidden;
    margin-top: .7rem;
  }
  .gallery-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--clay);
    transition: width .25s ease;
  }
  .gallery-swipe-hint {
    display: block;
    text-align: center;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .8rem;
  }
}

@media (min-width: 761px) {
  .gallery-swipe-hint { display: none; }
}

@media (max-width: 760px) {
  .strip {
    display: flex;
    flex-wrap: nowrap;
    gap: .7rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-inline: -5vw;
    padding: 0 5vw;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip img {
    flex: 0 0 78%;
    height: 260px;
    scroll-snap-align: center;
    border-radius: 10px;
  }
}


.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(15, 26, 23, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 40px -30px rgba(15, 26, 23, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.back-to-top svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--pine);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 24px 44px -28px rgba(15, 26, 23, 1);
}

@media (min-width: 720px) {
  .back-to-top {
    right: 1.6rem;
    bottom: 1.6rem;
  }
}
