
:root {
  --sage: #73806d;
  --sage-dark: #586252;
  --sage-light: #dce2d9;
  --cream: #f4f0e8;
  --paper: #fbfaf6;
  --charcoal: #252621;
  --warm-gray: #77766e;
  --white: #ffffff;
  --border: rgba(37, 38, 33, 0.14);
  --shadow: 0 22px 60px rgba(26, 27, 23, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 82px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(251, 250, 246, .96);
  color: var(--charcoal);
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  letter-spacing: .09em;
}
.brand-main {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .26em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: .9rem;
}
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  border: 1px solid currentColor;
  padding: .65rem 1.05rem;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: .5rem;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}
.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,22,18,.74) 0%, rgba(20,22,18,.38) 46%, rgba(20,22,18,.1) 80%),
    linear-gradient(0deg, rgba(20,22,18,.38), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 7vw 11vh;
}
.eyebrow {
  margin: 0 0 1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
}
.eyebrow.sage { color: var(--sage-dark); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
}
h1 {
  margin: 0;
  font-size: clamp(3.7rem, 8vw, 7.8rem);
  letter-spacing: -.035em;
}
h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  letter-spacing: -.025em;
}
h3 {
  margin: 0 0 .5rem;
  font-size: 1.35rem;
}
.hero-copy {
  max-width: 650px;
  margin: 1.7rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: .85rem 1.45rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .03em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--sage); color: var(--white); }
.button-primary:hover { background: var(--sage-dark); }
.button-light {
  border-color: rgba(255,255,255,.72);
  color: var(--white);
  background: rgba(255,255,255,.04);
}
.button-light:hover { background: var(--white); color: var(--charcoal); }
.button.large { min-width: 210px; padding: 1rem 1.8rem; }

.scroll-hint {
  position: absolute;
  z-index: 2;
  right: 5vw;
  bottom: 5vh;
  width: 26px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 20px;
}
.scroll-hint span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 4px;
  background: var(--white);
  animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot {
  0% { transform: translate(-50%,0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translate(-50%,18px); opacity: 0; }
}

.section { padding: 8rem 7vw; }
.section-tint { background: var(--cream); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-heading { max-width: 870px; margin-bottom: 4rem; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.centered > p:last-child { color: var(--warm-gray); }
.section-heading.light > p:last-child { color: rgba(255,255,255,.7); }

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.45;
}
.intro-copy > p:not(.lead) { color: var(--warm-gray); }
.intro-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.intro-image img { height: 100%; object-fit: cover; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.facts div { display: flex; flex-direction: column; }
.facts strong {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
}
.facts span {
  color: var(--warm-gray);
  font-size: .85rem;
}

.amenities {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.amenity {
  min-height: 240px;
  padding: 2.3rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.amenity .icon {
  display: block;
  margin-bottom: 2rem;
  color: var(--sage);
  font-size: 2rem;
}
.amenity p { margin: 0; color: var(--warm-gray); font-size: .95rem; }

.spaces { padding-top: 0; }
.space-row {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 620px;
  margin-bottom: 7rem;
  background: var(--cream);
}
.space-row.reverse { grid-template-columns: .8fr 1.2fr; }
.space-row.reverse figure { order: 2; }
.space-row figure { margin: 0; min-height: 100%; overflow: hidden; }
.space-row figure img { height: 100%; object-fit: cover; }
.space-copy {
  padding: clamp(3rem, 7vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.space-copy p:last-child { color: var(--warm-gray); max-width: 540px; }

.gallery-grid {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 230px;
  gap: 1rem;
}
.gallery-item {
  grid-column: span 4;
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #111;
}
.gallery-item.gallery-wide { grid-column: span 8; }
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .3s ease;
}
.gallery-item:hover img { transform: scale(1.035); opacity: .92; }

.gallery-cta {
  grid-column: span 8;
  min-height: 230px;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(135deg, rgba(115,128,109,.28), rgba(255,255,255,.035));
}
.gallery-cta > div { max-width: 620px; }
.gallery-cta h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.gallery-cta p:not(.eyebrow) {
  margin: 0;
  color: rgba(255,255,255,.68);
}
.button-outline-light {
  flex: 0 0 auto;
  border-color: rgba(255,255,255,.68);
  color: var(--white);
  background: transparent;
}
.button-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
}

.location-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.location-copy .lead { max-width: 650px; }
.destinations {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.destinations div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}
.destinations span { color: var(--warm-gray); }

.location-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  align-items: start;
}
.location-images figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.location-images .offset { margin-top: 5rem; }
.location-images img { height: 100%; object-fit: cover; }

.arrival-card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.arrival-card figure {
  margin: 0;
  min-height: 620px;
  overflow: hidden;
}
.arrival-card img { height: 100%; object-fit: cover; }
.arrival-card > div {
  padding: clamp(3rem, 7vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.arrival-card p:not(.eyebrow) { color: var(--warm-gray); }
.text-link {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  margin-top: 1rem;
  font-weight: 600;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.story { text-align: center; }
.story-inner { max-width: 920px; margin: 0 auto; }
.story-inner > p:not(.eyebrow) {
  margin: 2rem auto 0;
  max-width: 780px;
  color: var(--warm-gray);
  font-size: 1.15rem;
}
.wordmark {
  display: flex;
  flex-direction: column;
  margin-top: 4rem;
  color: var(--sage-dark);
}
.wordmark span {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .9;
  letter-spacing: .02em;
}
.wordmark small {
  font-size: .78rem;
  letter-spacing: .7em;
  margin-left: .7em;
}

.booking {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  padding: 7rem 7vw;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(27,30,25,.72), rgba(27,30,25,.72)),
    url("../assets/images/cucina-principale.webp") center / cover no-repeat;
}
.booking-content { max-width: 780px; }
.booking h2 { font-size: clamp(3rem, 7vw, 6.2rem); }
.booking-contact { margin-top: 1.8rem; font-size: .9rem; }
.booking-contact a { border-bottom: 1px solid rgba(255,255,255,.55); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 5vw;
  background: #1e201c;
  color: rgba(255,255,255,.8);
  font-size: .82rem;
}
.footer-links { display: flex; gap: 1.5rem; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.social-handle {
  font-size: 1.05rem;
  white-space: nowrap;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.social-icons a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: rgba(255,255,255,.82);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.social-icons a:hover {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.social-icons svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-icons a:nth-child(2) svg,
.social-icons a:nth-child(3) svg,
.social-icons a:nth-child(4) svg {
  fill: currentColor;
  stroke: none;
}
.booking-social a {
  transition: opacity .2s ease;
}
.booking-social a:hover {
  opacity: .68;
}

.booking-social-icons {
  align-items: center;
  gap: 1rem;
}
.booking-social-icons .social-icons {
  justify-content: center;
}
.booking-social-icons .social-icons a {
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
}
.booking-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem 1.2rem;
  margin-top: 1rem;
  font-size: .82rem;
}
.booking-social a {
  border-bottom: 1px solid rgba(255,255,255,.42);
}
.footer-legal { text-align: right; }
.footer-legal p { margin: 0; }
.legal-placeholder { color: rgba(255,255,255,.42); }

.lightbox {
  width: min(95vw, 1200px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img {
  max-height: 88vh;
  object-fit: contain;
}
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.4rem;
  z-index: 2;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle { display: block; z-index: 1002; }
  .main-nav {
    position: fixed;
    inset: 0 0 auto auto;
    width: min(84vw, 390px);
    min-height: 100vh;
    padding: 7rem 2.4rem 3rem;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    color: var(--charcoal);
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
    transform: translateX(110%);
    transition: transform .3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.2rem; }
  .intro-grid,
  .location-grid { grid-template-columns: 1fr; }
  .space-row,
  .space-row.reverse { grid-template-columns: 1fr; min-height: auto; }
  .space-row.reverse figure { order: 0; }
  .space-row figure { min-height: 480px; }
  .arrival-card { grid-template-columns: 1fr; }
  .arrival-card figure { min-height: 520px; }
  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .footer-social { justify-content: center; flex-wrap: wrap; }
  .footer-legal { text-align: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { min-height: 70px; padding: 0 1.3rem; }
  .hero { min-height: 92svh; }
  .hero > img { object-position: 56% center; }
  .hero-content { padding: 0 1.4rem 9vh; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .section { padding: 5.5rem 1.4rem; }
  .section-heading { margin-bottom: 2.8rem; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .amenities { grid-template-columns: 1fr; }
  .amenity { min-height: auto; }
  .space-row { margin-bottom: 3.5rem; }
  .space-row figure { min-height: 360px; }
  .space-copy { padding: 2.6rem 1.4rem; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }
  .gallery-item,
  .gallery-item.gallery-wide { grid-column: span 1; }
  .gallery-item.gallery-wide { grid-column: span 2; }
  .gallery-item.gallery-tall { grid-row: span 2; }
  .gallery-cta {
    grid-column: span 2;
    min-height: auto;
    padding: 2.2rem 1.4rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-cta .button { width: 100%; }
  .location-images { gap: .7rem; }
  .location-images .offset { margin-top: 2.5rem; }
  .destinations div { grid-template-columns: 1fr; gap: .2rem; }
  .arrival-card figure { min-height: 480px; }
  .arrival-card > div { padding: 2.8rem 1.4rem; }
  .booking { min-height: 560px; padding: 5rem 1.4rem; }

  .booking-social-icons {
    flex-direction: column;
    gap: .8rem;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
