:root {
  --cream:    #f5f0e8;
  --warm-white: #faf7f2;
  --bark:     #6b5540;
  --bark-light: #9a7d68;
  --moss:     #4a5c3a;
  --moss-light: #7a9162;
  --sage:     #a8b89a;
  --stone:    #d4c9b8;
  --earth:    #c4a882;
  --charcoal: #2a2a24;
  --text:     #3a3530;
  --text-light: #7a7268;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(107,85,64,0.1);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-logo span { color: var(--moss); }
.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--moss); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(160deg, #e8ede0 0%, #f0ebe0 40%, #e6ddd0 100%);
  overflow: hidden;
}

/* Decorative botanical SVG circles */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-deco svg {
  position: absolute;
  opacity: 0.12;
}
.hero-deco .circle-1 { top: -8%; right: -5%; width: 55vw; }
.hero-deco .circle-2 { bottom: -10%; left: -8%; width: 42vw; }
.hero-deco .leaf-1   { top: 15%; left: 8%; width: 12vw; opacity: 0.15; }
.hero-deco .leaf-2   { bottom: 20%; right: 10%; width: 9vw; opacity: 0.12; }

.hero-content {
  position: relative; text-align: center;
  padding: 2rem;
  animation: heroFadeUp 1.2s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1.2rem;
  animation: heroFadeUp 1.2s 0.2s ease both;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 0.92;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  animation: heroFadeUp 1.2s 0.35s ease both;
}
.hero-title em { font-style: italic; color: var(--moss); }
.hero-sub {
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 3rem;
  animation: heroFadeUp 1.2s 0.5s ease both;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--moss);
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  animation: heroFadeUp 1.2s 0.65s ease both;
}
.hero-cta:hover { background: var(--moss); color: var(--warm-white); }
.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: heroFadeUp 1.4s 1s ease both;
}
.hero-scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--moss), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── SECTION BASE ── */
section { padding: 7rem 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }

/* ── DIVIDER ── */
.divider { display: flex; align-items: center; gap: 1rem; margin-bottom: 3.5rem; }
.divider-line { flex: 1; height: 1px; background: var(--stone); }
.divider-icon { color: var(--sage); flex-shrink: 0; }

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
}
.section-title em { font-style: italic; color: var(--bark); }
.section-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-light);
  max-width: 600px;
}

/* ── STORIA ── */
.storia { background: var(--warm-white); }
.storia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.storia-visual { position: relative; }
.storia-img-wrap {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--stone);
}
.storia-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.storia-img-wrap:hover img { transform: scale(1.04); }
.storia-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 130px; height: 130px;
  background: var(--moss);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--warm-white);
  text-align: center;
  box-shadow: 0 8px 32px rgba(74,92,58,0.25);
}
.storia-badge .badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}
.storia-badge .badge-txt {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.storia-text { display: flex; flex-direction: column; gap: 1.5rem; }
.storia-text .section-body { max-width: 100%; }
.storia-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}
.storia-detail svg { color: var(--moss); flex-shrink: 0; }

/* ── HIGHLIGHTS ── */
.highlights { background: linear-gradient(175deg, #edf0e6 0%, #f0ebe0 100%); }
.highlights-header { text-align: center; margin-bottom: 4rem; }
.highlights-header .section-body { margin: 1.2rem auto 0; text-align: center; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.highlight-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(212,201,184,0.5);
  padding: 2.5rem 2rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(4px);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107,85,64,0.1);
}
.highlight-icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moss);
}
.highlight-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
}
.highlight-card p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
}

/* ── ORARI + PRENOTAZIONI ── */
.info-section { background: var(--warm-white); }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.orari-table { margin-top: 1.5rem; border-collapse: collapse; width: 100%; }
.orari-table tr { border-bottom: 1px solid var(--stone); }
.orari-table tr:last-child { border-bottom: none; }
.orari-table td { padding: 0.75rem 0; font-size: 0.88rem; font-weight: 300; color: var(--text-light); }
.orari-table td:first-child { font-weight: 400; color: var(--text); width: 45%; }
.orari-table .closed { color: var(--bark-light); font-style: italic; }

.contact-block { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moss);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item-text h4 {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}
.contact-item-text p, .contact-item-text a {
  font-size: 0.9rem; font-weight: 300;
  color: var(--text); text-decoration: none;
  transition: color 0.2s;
}
.contact-item-text a:hover { color: var(--moss); }

.cta-phone {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 2rem; padding: 0.9rem 2rem;
  background: var(--moss); color: var(--warm-white);
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; transition: background 0.25s;
}
.cta-phone:hover { background: var(--charcoal); }

/* ── RATING STRIP ── */
.rating-strip { background: var(--moss); padding: 4rem 0; }
.rating-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}
.rating-item { text-align: center; color: var(--warm-white); }
.rating-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
}
.rating-label {
  font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.7; margin-top: 0.4rem;
}
.rating-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.2); }

/* ── GALLERY ── */
.gallery { background: var(--cream); }
.gallery-header { text-align: center; margin-bottom: 3rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item { overflow: hidden; border-radius: 2px; background: var(--stone); }
.gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease; aspect-ratio: auto;
}
.gallery-item:first-child { aspect-ratio: 16/9; }
.gallery-item:not(:first-child) { aspect-ratio: 4/3; }
.gallery-item:hover img { transform: scale(1.06); }

/* ── SOCIAL ── */
.social-section { background: var(--warm-white); padding: 5rem 0; text-align: center; }
.social-section .section-title { margin-bottom: 0.8rem; }
.social-section .section-body { margin: 0 auto 2.5rem; text-align: center; }
.social-links { display: flex; justify-content: center; gap: 1.2rem; }
.social-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.8rem; border: 1px solid var(--stone);
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.social-link:hover { background: var(--charcoal); color: var(--warm-white); border-color: var(--charcoal); }

/* ── FOOTER ── */
footer { background: var(--charcoal); color: rgba(245,240,232,0.7); padding: 3rem 0 2rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300;
  color: var(--cream); letter-spacing: 0.06em;
}
.footer-logo span { color: var(--sage); }
.footer-address { font-size: 0.78rem; font-weight: 300; letter-spacing: 0.08em; line-height: 1.8; }
.footer-divider { width: 40px; height: 1px; background: rgba(245,240,232,0.2); }
.footer-copy { font-size: 0.65rem; letter-spacing: 0.12em; opacity: 0.4; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .storia-grid { grid-template-columns: 1fr; gap: 3rem; }
  .storia-visual { max-width: 420px; }
  .highlights-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .info-grid { grid-template-columns: 1fr; gap: 3rem; }
  .rating-inner { gap: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
}
@media (max-width: 580px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .rating-divider { display: none; }
}