
:root {
  --terracotta: #C25E3A;
  --terracotta-2: #A04527;
  --cobalt: #1E456C;
  --cobalt-2: #143352;
  --sand: #F2EAD9;
  --sand-2: #E8DDC4;
  --olive: #6B7F5F;
  --cream: #FBF7EE;
  --ink: #2A1F19;
  --ink-80: rgba(42,31,25,0.82);
  --ink-60: rgba(42,31,25,0.58);
  --ink-40: rgba(42,31,25,0.38);
  --ink-20: rgba(42,31,25,0.18);
  --gold: #D9A648;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  --gutter: clamp(20px, 4vw, 56px);
  --read: 720px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { margin:0!important; padding:0!important; max-width:100vw!important; width:100%!important; overflow-x:hidden!important; }
main { display: block; width: 100%; }
body > nav, body > main, body > main > section, body > main > header, body > footer, body > main > div.full-bleed {
  width: 100vw !important; max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
}
body { font-family: var(--font-sans); background: var(--sand); color: var(--ink); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; background: var(--sand-2); }
img.broken { background: linear-gradient(135deg, var(--sand-2) 0%, var(--sand) 100%); }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--terracotta); color: var(--cream); }

/* PAPER TEXTURE OVERLAY */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.66 0 0 0 0 0.55 0 0 0 0 0.4 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 1; opacity: 0.6;
}
body > * { position: relative; z-index: 2; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px var(--gutter); display: flex; justify-content: space-between; align-items: center; transition: all 0.4s var(--ease); color: var(--cream); }
.nav.scrolled { background: rgba(251,247,238,0.94); backdrop-filter: blur(14px); color: var(--ink); padding: 12px var(--gutter); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-brand { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 22px; display: inline-flex; align-items: center; }
.nav-brand em { color: var(--gold); font-style: italic; }
.nav-brand img { height: 84px; width: auto; display: block; background: transparent; filter: brightness(0) invert(1); transition: filter 0.4s var(--ease), height 0.4s var(--ease); }
.nav.scrolled .nav-brand img { height: 66px; filter: none; }
@media (max-width: 900px) { .nav-brand img { height: 64px; } .nav.scrolled .nav-brand img { height: 56px; } }
.nav-menu { display: flex; gap: 30px; list-style: none; }
.nav-menu a { font-size: 13px; letter-spacing: 0.04em; font-weight: 500; }
.nav-cta { background: var(--terracotta); color: var(--cream); padding: 11px 22px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.nav-cta:hover { background: var(--terracotta-2); }
.nav-burger { display: none; }
@media (max-width: 900px) {
  .nav-menu li:not(.nav-lang) { display: none; }
  .nav-menu { gap: 0; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
  .nav-burger span { width: 22px; height: 2px; background: currentColor; transition: transform 0.4s ease, opacity 0.3s ease; }
}

/* Language switcher */
.lang-switch { position: relative; display: inline-flex; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: inherit; border: 1.5px solid currentColor; background: transparent; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.nav.scrolled .lang-btn { border-color: rgba(42,31,25,0.3); }
.lang-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lang-cur { font-weight: 700; }
.lang-arr { font-size: 8px; transition: transform 0.3s; opacity: 0.7; }
.lang-switch.open .lang-arr { transform: rotate(180deg); }
.lang-dropdown { position: absolute; top: calc(100% + 10px); right: 0; background: var(--cream); border-radius: 10px; padding: 6px; min-width: 170px; box-shadow: 0 14px 36px -10px rgba(42,31,25,0.25); display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; z-index: 200; border: 1px solid rgba(42,31,25,0.06); }
.lang-switch.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown button { text-align: left; padding: 10px 14px; border-radius: 6px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--ink); background: transparent; border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s, color 0.2s; }
.lang-dropdown button .code { font-size: 10px; letter-spacing: 0.2em; opacity: 0.5; }
.lang-dropdown button:hover { background: var(--sand); color: var(--terracotta); }
.lang-dropdown button.active { background: var(--terracotta); color: var(--cream); }
.lang-dropdown button.active .code { opacity: 0.85; }
@media (max-width: 900px) { .lang-btn { padding: 6px 10px; font-size: 10px; } }


/* Google Translate chrome cleanup */
.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-banner-frame, .goog-te-balloon-frame, .goog-tooltip, .goog-tooltip:hover, .goog-text-highlight { display: none !important; background: transparent !important; box-shadow: none !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-te-gadget { font-size: 0 !important; height: 0 !important; overflow: hidden !important; }
font[style*="background-color"] { background: transparent !important; }
font.goog-text-highlight { background: transparent !important; box-shadow: none !important; }
/* Mobile drawer · postcard / estate calabra */
.nav-drawer { position: fixed; inset: 0; z-index: 999; background: var(--sand); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease); padding: 90px 24px 60px; overflow-y: auto; }
.nav-drawer::before { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(42,31,25,0.18); pointer-events: none; }
.nav-drawer .drawer-eyebrow { font-family: var(--font-hand); font-size: 28px; color: var(--terracotta); transform: rotate(-3deg); margin-bottom: 8px; opacity: 0; transition: opacity 0.5s var(--ease) 0.1s; }
.nav-drawer.open { opacity: 1; visibility: visible; }
.nav-drawer.open .drawer-eyebrow { opacity: 1; }
.nav-drawer a { color: var(--ink); font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 400; line-height: 1; opacity: 0; transform: translateY(12px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), color 0.3s; position: relative; padding-bottom: 6px; }
.nav-drawer a:not(.drawer-cta)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--gold); transform: translateX(-50%); transition: width 0.4s var(--ease); }
.nav-drawer a:not(.drawer-cta):hover { color: var(--terracotta); }
.nav-drawer a:not(.drawer-cta):hover::after { width: 60%; }
.nav-drawer.open a { opacity: 1; transform: translateY(0); }
.nav-drawer.open a:nth-child(2) { transition-delay: 0.12s; }
.nav-drawer.open a:nth-child(3) { transition-delay: 0.18s; }
.nav-drawer.open a:nth-child(4) { transition-delay: 0.24s; }
.nav-drawer.open a:nth-child(5) { transition-delay: 0.30s; }
.nav-drawer.open a:nth-child(6) { transition-delay: 0.36s; }
.nav-drawer .drawer-cta { margin-top: 24px; padding: 16px 36px; background: var(--gold); color: var(--ink); border-radius: 0; font-family: var(--font-sans); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; box-shadow: 6px 6px 0 var(--ink); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.nav-drawer .drawer-cta:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.nav-drawer-close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; background: var(--cream); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.nav-drawer-close:hover { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); transform: rotate(90deg); }
body.menu-open { overflow: hidden; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO (kept) */
.hero { position: relative; height: 100vh; height: 100dvh; min-height: 600px; overflow: hidden; color: var(--cream); display: flex; align-items: center; }
@media (max-height: 700px) { .hero h1 { font-size: clamp(2.4rem, 6vw, 5rem) !important; } .hero .subtitle { margin-bottom: 28px; } }
.hero-bg { position: absolute; inset: 0; background: #111; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.52) 50%, rgba(0,0,0,0.68) 100%); }
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2; width: 100%; height: 80px; }
.hero-content { position: relative; z-index: 3; padding: 0 var(--gutter); width: 100%; max-width: 1440px; margin: 0 auto; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; background: rgba(251,247,238,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(251,247,238,0.3); border-radius: 999px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; margin-bottom: 32px; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.5; transform: scale(1.3);} }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.16; letter-spacing: -0.01em; max-width: 18ch; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--cream); background: var(--terracotta); padding: 0 0.2em 0.06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .subtitle { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(1.15rem, 1.7vw, 1.5rem); max-width: 38ch; margin-bottom: 36px; opacity: 0.95; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: var(--terracotta); color: var(--cream); padding: 17px 30px; border-radius: 999px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 12px; transition: all 0.3s var(--ease); box-shadow: 0 12px 40px -8px rgba(194,94,58,0.5); }
.btn-primary:hover { background: var(--terracotta-2); transform: translateY(-3px); }
.btn-ghost-light { background: transparent; color: var(--cream); padding: 17px 30px; border-radius: 999px; border: 1.5px solid rgba(251,247,238,0.5); font-weight: 600; font-size: 14px; transition: all 0.3s var(--ease); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); }

/* ==========================================================
   STRUCT A: VERTICAL STORYTELLING
   - Single column reading-width
   - Full-bleed photo breaks
   - Polaroid stack
   - Postcards layout for dintorni
   ========================================================== */

/* CHAPTER (single col centered) */
.chapter { padding: clamp(80px, 12vw, 140px) var(--gutter); }
.chapter-inner { max-width: var(--read); margin: 0 auto; }
/* Cluster foto subito dopo il capitolo 1: gap ridotto */
#villa { padding-bottom: 0; }
#villa .chapter-quote { margin-bottom: 24px; }
.chapter-cluster { padding-top: clamp(8px, 2vw, 20px); padding-bottom: clamp(56px, 9vw, 100px); }
.chapter-num {
  font-family: var(--font-hand);
  color: var(--terracotta);
  font-size: 36px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  transform: rotate(-3deg);
}
.chapter-tag { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-60); font-weight: 600; margin-bottom: 28px; display: inline-block; padding-bottom: 6px; border-bottom: 2px solid var(--terracotta); }
.chapter-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 40px;
}
.chapter-h em { font-style: italic; color: var(--terracotta); }
.chapter-body p { font-size: 17px; line-height: 1.8; color: var(--ink-80); margin-bottom: 22px; }
.chapter-body p:first-letter:not(.no-cap) {
  /* Optional drop cap could go here */
}
.chapter-body .first-p::first-letter {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin: 6px 14px 0 0;
  color: var(--terracotta);
}
.chapter-quote {
  margin: 56px 0;
  padding: 32px 40px;
  border-left: 4px solid var(--terracotta);
  background: rgba(194,94,58,0.06);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.5;
}
.chapter-quote cite { display: block; margin-top: 16px; font-size: 13px; font-style: normal; color: var(--ink-60); letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--font-sans); font-weight: 600; }

/* FULL-BLEED PHOTO BREAK */
.full-bleed {
  height: 70vh; min-height: 480px;
  position: relative; overflow: hidden;
  margin: 0;
}
.full-bleed img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.full-bleed.with-quote::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%); }
.fb-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--gutter); color: var(--cream);
}
.fb-overlay blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 3rem); line-height: 1.3;
  max-width: 26ch;
}
.fb-overlay cite { display: block; margin-top: 24px; font-size: 12px; font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; font-family: var(--font-sans); }
@media (max-width: 700px) { .full-bleed { height: 50vh; min-height: 360px; } }

/* NUMBERS · handwritten style horizontal */
.numbers-flex {
  background: var(--cream);
  padding: 60px var(--gutter);
  border-top: 1px dashed var(--ink-20);
  border-bottom: 1px dashed var(--ink-20);
}
.numbers-flex-inner {
  max-width: var(--read); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.nf { text-align: center; }
.nf .v { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; line-height: 1; color: var(--terracotta); }
.nf .v em { font-style: italic; color: var(--gold); font-size: 0.55em; vertical-align: super; }
.nf .l { font-family: var(--font-hand); font-size: 18px; color: var(--ink-60); margin-top: 4px; transform: rotate(-2deg); display: inline-block; }

/* INLINE PHOTO CLUSTER (within chapter) */
.photo-cluster {
  margin: 56px 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  height: 360px;
}
.photo-cluster .pc-main, .photo-cluster .pc-side { overflow: hidden; border-radius: 4px; }
.photo-cluster .pc-side { display: flex; flex-direction: column; gap: 16px; }
.photo-cluster .pc-side > div { flex: 1; overflow: hidden; }
.photo-cluster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); cursor: pointer; }
.photo-cluster img:hover { transform: scale(1.04); }
@media (max-width: 700px) { .photo-cluster { grid-template-columns: 1fr; height: auto; } .photo-cluster .pc-main { height: 240px; } .photo-cluster .pc-side { flex-direction: row; } .photo-cluster .pc-side > div { height: 160px; } }

/* INLINE LIST (no cards, like a poem) */
.inline-list {
  list-style: none;
  margin: 32px 0;
}
.inline-list li {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-80);
  padding: 12px 0;
  border-bottom: 1px dotted var(--ink-20);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: baseline;
}
.inline-list .num-il { font-style: italic; color: var(--terracotta); font-size: 18px; }
.inline-list em { color: var(--terracotta); font-style: italic; }

/* POLAROID STACK GALLERY */
.polaroid-section {
  background: var(--cream);
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.polaroid-section .chapter-inner { max-width: 1200px; }
.polaroid-section .chapter-h { text-align: center; }
.polaroid-section .chapter-tag { display: block; text-align: center; margin: 0 auto 28px; width: fit-content; }
.polaroid-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.polaroid {
  background: var(--cream);
  padding: 12px 12px 60px;
  box-shadow: 0 8px 30px -10px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
}
.polaroid:nth-child(odd) { transform: rotate(-2deg); }
.polaroid:nth-child(even) { transform: rotate(2deg); }
.polaroid:nth-child(3n) { transform: rotate(-3deg); }
.polaroid:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); box-shadow: 0 24px 60px -10px rgba(0,0,0,0.3); z-index: 10; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid .pcap {
  position: absolute; bottom: 12px; left: 16px; right: 16px;
  font-family: var(--font-hand); font-size: 18px; color: var(--ink-80); text-align: center;
}
.polaroid-cta { text-align: center; margin-top: 60px; }
.polaroid-cta button { background: var(--cobalt); color: var(--cream); padding: 16px 32px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: background 0.3s; }
.polaroid-cta button:hover { background: var(--cobalt-2); }
@media (max-width: 900px) { .polaroid-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .polaroid-grid { grid-template-columns: 1fr; max-width: 280px; } }

/* ROOMS · Camere / Strutture (aggiunta 2°/3° categoria) */
.rooms-section .chapter-inner { max-width: 1100px; }
.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 8px; }
.room-grid-single { display: flex; justify-content: center; margin-top: 8px; }
.room-grid-single .room-card { max-width: 620px; width: 100%; }
.room-group { margin-bottom: 72px; }
.room-group:last-child { margin-bottom: 0; }
.room-group-h { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); color: var(--terracotta); text-align: center; margin-bottom: 32px; padding-bottom: 14px; border-bottom: 1px dashed var(--ink-20); }
.room-card { background: var(--cream); box-shadow: 0 8px 30px -10px rgba(0,0,0,0.18); padding: 14px 14px 30px; position: relative; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.room-card:nth-child(odd) { transform: rotate(-1deg); }
.room-card:nth-child(even) { transform: rotate(1deg); }
.room-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.26); z-index: 5; }
.room-card .rc-gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; margin-bottom: 22px; }
.room-card .rc-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.6s var(--ease); }
.room-card .rc-gallery img:hover { transform: scale(1.04); }
.room-card .rc-body { padding: 0 10px; }
.room-card .rc-title { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 26px; color: var(--ink); margin-bottom: 12px; }
.room-card .rc-desc { font-size: 15px; line-height: 1.7; color: var(--ink-80); margin-bottom: 20px; }
.room-card .rc-amenities { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding: 0; }
.room-card .rc-amenities li { font-size: 11px; letter-spacing: 0.04em; font-weight: 600; color: var(--terracotta); background: rgba(194,94,58,0.08); border: 1px solid rgba(194,94,58,0.25); padding: 6px 12px; border-radius: 999px; }
.room-card .rc-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--terracotta); color: var(--cream); padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 13px; transition: background 0.3s; }
.room-card .rc-cta:hover { background: var(--terracotta-2); }
@media (max-width: 900px) { .room-grid { grid-template-columns: 1fr; gap: 48px; } }

/* DINTORNI · POSTCARDS layout */
.postcards { background: var(--sand); padding: clamp(80px, 12vw, 140px) var(--gutter); }
.postcards .chapter-inner { max-width: 1200px; }
.postcards .chapter-h { text-align: center; max-width: 22ch; margin-left: auto; margin-right: auto; }
.postcards .chapter-tag { display: block; text-align: center; margin: 0 auto 28px; width: fit-content; }
.postcards-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}
.postcard {
  background: var(--cream);
  padding: 14px;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 0.5s var(--ease);
}
.postcard:nth-child(2n) { transform: rotate(1.5deg); }
.postcard:nth-child(3n) { transform: rotate(-1.5deg); }
.postcard:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); z-index: 5; }
.postcard .pc-img { aspect-ratio: 4/3; overflow: hidden; }
.postcard .pc-img img { width:100%; height:100%; object-fit: cover; }
.postcard .pc-stamp {
  position: absolute; top: -8px; right: -6px;
  width: 60px; height: 70px;
  background: var(--terracotta); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic;
  transform: rotate(8deg);
  border: 3px dashed var(--cream);
  text-align: center;
  line-height: 1.1;
  padding: 4px;
}
.postcard .pc-stamp .min { font-size: 18px; font-weight: 500; }
.postcard .pc-stamp .lab { font-size: 9px; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-sans); }
.postcard .pc-body { padding: 16px 8px 8px; }
.postcard .pc-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.1; margin-bottom: 4px; color: var(--ink); }
.postcard .pc-body .desc { font-family: var(--font-hand); font-size: 18px; color: var(--ink-60); }
@media (max-width: 900px) { .postcards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .postcards-grid { grid-template-columns: 1fr; gap: 56px 0; } }

/* TESTIMONIALS · handwritten letter */
.letters { background: var(--cream); padding: clamp(80px, 12vw, 140px) var(--gutter); }
.letters .chapter-inner { max-width: 1100px; }
.letters .chapter-h { text-align: center; }
.letters .chapter-tag { display: block; text-align: center; margin: 0 auto 28px; width: fit-content; }
.letters-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.letter {
  background: var(--sand);
  padding: 36px 32px;
  border: 1px solid var(--ink-20);
  position: relative;
}
.letter::before { content: ""; position: absolute; top: 12px; right: 16px; width: 32px; height: 4px; background: var(--terracotta); transform: rotate(-15deg); }
.letter .stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; letter-spacing: 0.2em; }
.letter p { font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--ink); margin-bottom: 24px; }
.letter .sign { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--ink-20); }
.letter .name { font-family: var(--font-hand); font-size: 24px; color: var(--terracotta); }
.letter .date { font-size: 11px; color: var(--ink-60); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 700px) { .letters-grid { grid-template-columns: 1fr; } }

/* FAQ · open style (no accordion) */
.faqs { background: var(--sand); padding: clamp(80px, 12vw, 140px) var(--gutter); }
.faqs .chapter-inner { max-width: 760px; }
.faqs .chapter-h { text-align: center; }
.faqs .chapter-tag { display: block; text-align: center; margin: 0 auto 28px; width: fit-content; }
.faq-stack { margin-top: 56px; display: flex; flex-direction: column; gap: 28px; }
.faq-block { padding: 24px 0; border-bottom: 1px dotted var(--ink-20); }
.faq-block h4 { font-family: var(--font-display); font-size: 24px; font-weight: 500; margin-bottom: 12px; color: var(--ink); }
.faq-block p { font-size: 16px; line-height: 1.7; color: var(--ink-80); }

/* BOOKING · voucher / ticket style */
.booking-section { background: var(--cobalt); color: var(--cream); padding: clamp(80px, 12vw, 140px) var(--gutter); }
.booking-section .chapter-inner { max-width: 980px; }
.booking-section .chapter-tag { color: var(--gold); border-color: var(--gold); display: block; text-align: center; margin: 0 auto 28px; width: fit-content; }
.booking-section .chapter-h { text-align: center; color: var(--cream); }
.booking-section .chapter-h em { color: var(--gold); }
.voucher {
  margin-top: 56px;
  background: var(--cream); color: var(--ink);
  border-radius: 4px;
  display: grid; grid-template-columns: 1fr 1.4fr;
  position: relative;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,0.3);
  overflow: hidden;
}
.voucher::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(100% / 2.4 + 0px);
  width: 2px;
  background-image: radial-gradient(circle, var(--ink-20) 30%, transparent 30%);
  background-size: 2px 12px;
  background-repeat: repeat-y;
}
.voucher-side { padding: 40px; background: var(--terracotta); color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; }
.voucher-side .vs-tag { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.8; }
.voucher-side .vs-title { font-family: var(--font-display); font-size: 32px; font-style: italic; margin-top: 8px; line-height: 1.1; }
.voucher-side .vs-bottom > div { margin-bottom: 12px; }
.voucher-side .vs-bottom small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.voucher-side .vs-bottom span, .voucher-side .vs-bottom a { display: block; font-family: var(--font-display); font-size: 17px; font-style: italic; }
.voucher-side .vs-btn { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid rgba(251,247,238,0.55); border-radius: 999px; padding: 13px 18px; font-family: var(--font-sans) !important; font-style: normal !important; font-size: 13px !important; font-weight: 600; color: var(--cream); margin-bottom: 12px; transition: background 0.3s, color 0.3s; text-align: center; }
.voucher-side .vs-btn svg { flex-shrink: 0; }
.voucher-side .vs-btn:hover { background: var(--cream); color: var(--terracotta-2); }
.voucher-side .vs-btn .btn-stack { display: flex; flex-direction: column; align-items: center; line-height: 1.35; }
.voucher-side .vs-btn .btn-stack small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: none; opacity: 0.85; }
.booking-intro { text-align: center; font-family: var(--font-display); font-style: italic; font-size: clamp(17px, 2vw, 20px); color: rgba(251,247,238,0.92); max-width: 52ch; margin: 0 auto; }
.form-note { font-size: 13px; line-height: 1.55; color: var(--ink-60); margin: -14px 0 20px; }
.voucher-form { padding: 40px; }
.voucher-form h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 24px; font-style: italic; color: var(--cobalt); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 12px 14px; background: var(--sand); border: 1px solid transparent; border-radius: 6px; font-size: 15px; color: var(--ink); outline: none; transition: all 0.3s; }
.field input:focus, .field select:focus { background: var(--cream); border-color: var(--terracotta); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.qty { display: flex; align-items: center; gap: 6px; padding: 4px; background: var(--sand); border-radius: 6px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; background: var(--terracotta); color: var(--cream); font-size: 16px; font-weight: 600; }
.qty input { flex: 1; text-align: center; background: transparent; border: 0; font-weight: 600; outline: none; padding: 4px 0; }
.btn-submit { width: 100%; background: var(--cobalt); color: var(--cream); padding: 16px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; margin-top: 8px; transition: background 0.3s; }
.btn-submit:hover { background: var(--cobalt-2); }
.disclaimer { text-align: center; margin-top: 12px; font-size: 11px; color: var(--ink-60); }
@media (max-width: 800px) { .voucher { grid-template-columns: 1fr; } .voucher::before { display: none; } }
@media (max-width: 500px) { .field-row, .field-row3 { grid-template-columns: 1fr; } }

/* MAP */
.map-section { padding: 0; background: var(--sand); }
.map-section iframe { width: 100%; height: 460px; border: 0; display: block; filter: sepia(20%) saturate(0.9); }

/* FOOTER */
footer { background: var(--ink); color: var(--sand); padding: 64px var(--gutter) 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-brand h4 { font-family: var(--font-display); font-style: italic; font-size: 32px; font-weight: 400; color: var(--gold); margin-bottom: 12px; }
.footer-brand .footer-logo { height: 130px; width: auto; background: transparent; margin-bottom: 16px; }
.footer-brand p { color: rgba(242,234,217,0.7); font-size: 14px; max-width: 36ch; }
.footer-col h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: rgba(242,234,217,0.75); font-size: 14px; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(242,234,217,0.15); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(242,234,217,0.5); }
.footer-bottom a { color: var(--gold); }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* LIGHTBOX */
.lb { position: fixed; inset: 0; z-index: 9990; background: rgba(20,51,82,0.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.4s; }
.lb.open { opacity: 1; visibility: visible; }
.lb-img { max-width: 90vw; max-height: 85vh; }
.lb-close, .lb-arrow { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(251,247,238,0.4); display: flex; align-items: center; justify-content: center; color: var(--cream); transition: background 0.3s; }
.lb-close { top: 24px; right: 24px; }
.lb-close::before, .lb-close::after { content:""; position:absolute; width: 18px; height: 1.5px; background: currentColor; }
.lb-close::before { transform: rotate(45deg); } .lb-close::after { transform: rotate(-45deg); }
.lb-arrow.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-arrow.next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-arrow:hover { background: var(--terracotta); border-color: var(--terracotta); }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-family: var(--font-hand); font-size: 22px; color: var(--gold); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1!important; transform:none!important; } }

.flatpickr-calendar { background: var(--cream)!important; border-radius: 4px!important; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.2)!important; font-family: var(--font-sans)!important; border: 1px solid var(--ink-20)!important; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--terracotta)!important; border-color: var(--terracotta)!important; }
.flatpickr-day:hover { background: rgba(194,94,58,0.18)!important; }
.flatpickr-day.today { border-color: var(--terracotta)!important; }
.flatpickr-current-month { font-family: var(--font-display)!important; font-style: italic!important; }

/* =========================================================
   LEGAL · POLICY MODAL · COOKIE BANNER (B&B L'Isola Felice)
========================================================= */
.map-container { position: relative; width: 100%; height: 460px; }
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(20%) saturate(0.9); }
.map-blocked { position: absolute; inset: 0; background: var(--sand-2); display: flex; align-items: center; justify-content: center; color: var(--ink-80); padding: 32px 24px; }
.map-blocked-inner { text-align: center; max-width: 440px; }
.map-blocked svg { margin-bottom: 14px; color: var(--terracotta); opacity: .8; }
.map-blocked h4 { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(1.3rem, 2.5vw, 1.6rem); color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.map-blocked p { font-size: 14px; line-height: 1.6; color: var(--ink-60); margin-bottom: 20px; }
.btn-consent-map { background: var(--terracotta); color: var(--cream); padding: 13px 26px; border-radius: 999px; border: 0; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background 0.3s, transform 0.3s; }
.btn-consent-map:hover { background: var(--terracotta-2); transform: translateY(-1px); }
.map-policy-link { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--ink-60); text-decoration: none; border-bottom: 1px solid var(--ink-20); padding-bottom: 2px; font-family: var(--font-display); font-style: italic; font-size: 14px; }
.map-policy-link:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

/* Footer legal */
.footer-legal { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; padding: 18px var(--gutter) 0; font-size: 12px; color: rgba(242,234,217,0.6); border-top: 1px solid rgba(242,234,217,0.12); font-family: var(--font-display); font-style: italic; font-size: 14px; }
.footer-legal a { color: rgba(242,234,217,0.7); text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.footer-legal a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer-legal .sep { width: 3px; height: 3px; background: rgba(242,234,217,0.3); border-radius: 50%; }
@media (max-width: 600px) { .footer-legal { gap: 12px; font-size: 13px; } .footer-legal .sep { display: none; } }

/* Cookie banner */
.cookie-banner { position: fixed; left: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 150; background: var(--ink); color: var(--cream); border-radius: 4px; box-shadow: 0 30px 80px rgba(42,31,25,0.45); padding: clamp(20px, 2.5vw, 26px) clamp(22px, 3vw, 32px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; transform: translateY(24px); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .4s var(--ease); max-width: 1080px; margin: 0 auto; border: 1px solid rgba(217,166,72,0.25); }
.cookie-banner.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner-text { font-size: 13.5px; line-height: 1.6; color: rgba(251,247,238,0.85); }
.cookie-banner-text h5 { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 20px; color: var(--cream); margin-bottom: 6px; letter-spacing: -0.01em; }
.cookie-banner-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-text a:hover { color: var(--cream); }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.cookie-btn { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 12px 20px; border-radius: 999px; cursor: pointer; transition: all .25s ease; border: 1px solid transparent; white-space: nowrap; }
.cookie-btn.ghost { background: transparent; color: rgba(251,247,238,0.8); border-color: rgba(251,247,238,0.22); }
.cookie-btn.ghost:hover { color: var(--ink); border-color: var(--cream); background: var(--cream); }
.cookie-btn.primary { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.cookie-btn.primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cookie-btn.link { background: transparent; color: rgba(251,247,238,0.6); border: 0; padding: 12px 10px; text-decoration: underline; text-underline-offset: 4px; }
.cookie-btn.link:hover { color: var(--cream); }
@media (max-width: 820px) { .cookie-banner { grid-template-columns: 1fr; gap: 16px; padding: 20px 20px 18px; } .cookie-banner-actions { justify-content: flex-start; } .cookie-btn { flex: 1 1 calc(50% - 5px); text-align: center; padding: 12px 10px; } .cookie-btn.link { flex-basis: 100%; } }

/* Policy + cookie prefs · warm light card */
.legal-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 48px); background: rgba(42,31,25,0.78); backdrop-filter: saturate(1.1) blur(6px); -webkit-backdrop-filter: saturate(1.1) blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.legal-overlay.open { display: flex; opacity: 1; }
.legal-card { background: var(--cream); color: var(--ink); width: 100%; max-width: 860px; max-height: 92vh; border-radius: 4px; box-shadow: 0 40px 100px rgba(42,31,25,0.5); display: flex; flex-direction: column; overflow: hidden; transform: translateY(16px) scale(0.98); transition: transform .45s var(--ease); border: 1px solid var(--sand-2); }
.legal-overlay.open .legal-card { transform: translateY(0) scale(1); }
.legal-head { padding: 30px clamp(24px, 4vw, 44px) 22px; border-bottom: 1px solid rgba(42,31,25,0.1); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; background: var(--cream); position: sticky; top: 0; z-index: 2; }
.legal-head .kicker { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--terracotta-2); font-weight: 600; display: block; margin-bottom: 8px; }
.legal-head h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.4rem); line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.legal-head h3 em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.legal-head .updated { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-40); margin-top: 8px; }
.legal-close { position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-20); background: transparent; cursor: pointer; color: var(--ink); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.legal-close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: rotate(90deg); }
.legal-close::before, .legal-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; }
.legal-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.legal-close::after { transform: translate(-50%,-50%) rotate(-45deg); }

.legal-body { padding: 24px clamp(24px, 4vw, 44px) clamp(32px, 5vw, 48px); overflow-y: auto; flex: 1; font-size: 14.5px; line-height: 1.75; color: var(--ink-80); overscroll-behavior: contain; }
.legal-body::-webkit-scrollbar { width: 8px; }
.legal-body::-webkit-scrollbar-thumb { background: var(--ink-20); border-radius: 4px; }
.legal-body .lead { font-size: 15.5px; font-family: var(--font-display); font-style: italic; color: var(--ink-80); margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid rgba(42,31,25,0.1); }
.legal-body h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--ink); margin-top: 34px; margin-bottom: 12px; letter-spacing: -0.01em; scroll-margin-top: 120px; }
.legal-body h4:first-of-type { margin-top: 0; }
.legal-body h5 { font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-top: 22px; margin-bottom: 10px; }
.legal-body p { margin-bottom: 12px; }
.legal-body p strong, .legal-body li strong { color: var(--ink); font-weight: 700; }
.legal-body ul, .legal-body ol { padding-left: 20px; margin-bottom: 14px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--terracotta-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--terracotta); }
.legal-body .callout { background: var(--sand-2); border-left: 3px solid var(--terracotta); padding: 14px 18px; margin: 18px 0; font-size: 14px; border-radius: 2px; }
.legal-body .placeholder { display: inline-block; background: rgba(217,166,72,0.18); color: var(--terracotta-2); padding: 1px 8px; border-radius: 3px; font-weight: 600; font-size: 0.95em; border: 1px dashed var(--gold); }
.legal-body table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 13.5px; }
.legal-body table th, .legal-body table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(42,31,25,0.1); vertical-align: top; }
.legal-body table th { font-family: var(--font-sans); font-weight: 700; color: var(--ink); background: var(--sand-2); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-body table td { color: var(--ink-80); }
.legal-body .cookie-block { background: #fff; border: 1px solid rgba(42,31,25,0.1); border-radius: 3px; padding: 18px 22px; margin: 16px 0; }
.legal-body .cookie-block h5 { margin-top: 0; margin-bottom: 8px; }
.legal-body .cookie-block .tag { display: inline-block; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-left: 6px; font-weight: 700; vertical-align: 1px; }
.legal-body .tag-tech { background: rgba(42,31,25,0.1); color: var(--ink); }
.legal-body .tag-third { background: rgba(194,94,58,0.18); color: var(--terracotta-2); }
.legal-body .cookie-block dl { margin-top: 8px; font-size: 13px; }
.legal-body .cookie-block dl div { display: grid; grid-template-columns: 150px 1fr; padding: 6px 0; border-bottom: 1px dashed rgba(42,31,25,0.1); }
.legal-body .cookie-block dl div:last-child { border-bottom: 0; }
.legal-body .cookie-block dt { font-weight: 700; color: var(--ink); font-size: 12px; }
.legal-body .cookie-block dd { color: var(--ink-80); font-size: 13px; }
.legal-body .foot-note { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(42,31,25,0.1); font-size: 12.5px; color: var(--ink-60); font-family: var(--font-display); font-style: italic; font-size: 14px; }

/* Prefs */
.cookie-prefs-card { max-width: 620px; }
.cookie-prefs-body { padding: 22px 32px 8px; overflow-y: auto; flex: 1; font-size: 14px; line-height: 1.6; color: var(--ink-80); }
.cookie-prefs-body p { margin-bottom: 12px; }
.cookie-prefs-body a { color: var(--terracotta-2); text-decoration: underline; text-underline-offset: 3px; }
.cookie-category { padding: 16px 0; border-bottom: 1px solid rgba(42,31,25,0.1); display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: flex-start; }
.cookie-category:last-of-type { border-bottom: 0; }
.cookie-category-title { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.cookie-category-desc { font-size: 13px; color: var(--ink-60); line-height: 1.55; }
.cookie-category .status { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-40); margin-top: 6px; font-weight: 700; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch .slider { position: absolute; inset: 0; background: var(--ink-20); border-radius: 999px; cursor: pointer; transition: background .2s ease; }
.switch .slider::before { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: var(--cream); border-radius: 50%; transition: transform .2s var(--ease); }
.switch input:checked + .slider { background: var(--terracotta); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { background: rgba(194,94,58,0.55); cursor: not-allowed; }
.cookie-prefs-foot { padding: 18px 32px 24px; border-top: 1px solid rgba(42,31,25,0.1); display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-prefs-foot .cookie-btn.ghost { color: var(--ink-60); border-color: var(--ink-20); }
.cookie-prefs-foot .cookie-btn.ghost:hover { color: var(--cream); border-color: var(--ink); background: var(--ink); }
.cookie-prefs-foot .cookie-btn.primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cookie-prefs-foot .cookie-btn.primary:hover { background: var(--terracotta); border-color: var(--terracotta); }
@media (max-width: 500px) { .cookie-prefs-body, .cookie-prefs-foot, .legal-head { padding-left: 20px; padding-right: 20px; } .cookie-prefs-foot { flex-direction: column; } .cookie-prefs-foot .cookie-btn { width: 100%; text-align: center; } }

body.no-scroll { overflow: hidden; }
