/* =========================================================
   PODERE OVOSODO — Stylesheet principale
   Sistema visivo v3 (19 aprile 2026)
   ========================================================= */

/* ---------- RESET + TOKEN ---------- */
:root {
  /* Palette (appendice A, copy v3) */
  --cream-light: #F5EFE3;
  --cream-dark:  #EFE9DD;
  --anthracite:  #1F1F1D;
  --sage:        #8A9A7B;
  --sage-dark:   #6F7F63;
  --text:        #1F1F1D;
  --text-soft:   rgba(31, 31, 29, 0.7);
  --text-muted:  rgba(31, 31, 29, 0.55);
  --line:        rgba(31, 31, 29, 0.12);

  /* Tipografia */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Geometria */
  --max-width: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  /* Easing */
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream-light);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- TIPOGRAFIA ---------- */
.eyebrow, .kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.kicker { color: var(--sage-dark); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 7vw, 72px); }
h2 { font-size: clamp(32px, 5vw, 48px); }
h3 { font-size: clamp(22px, 3vw, 32px); }

em, .italic { font-style: italic; color: var(--sage-dark); }
.italic-light { font-style: italic; }
.display-quote { font-family: var(--font-display); font-style: italic; }

/* Corpo fluido */
.lead { font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.65; color: var(--text); max-width: 62ch; }
.body-text { font-size: 15px; line-height: 1.65; color: var(--text-soft); max-width: 64ch; }
.small { font-size: 13px; color: var(--text-soft); }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

.section-header { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-header .eyebrow { display: block; margin-bottom: 16px; }
.section-header h2 { margin-bottom: 20px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245, 239, 227, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-brand { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.01em; }
.nav-brand em { color: var(--sage-dark); }
.nav-menu { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-menu a {
  font-size: 13px; letter-spacing: 0.04em; color: var(--text-soft);
  transition: color .2s var(--ease); position: relative; padding: 6px 0;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--sage); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-menu a:hover { color: var(--text); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-lang { display: flex; gap: 8px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.nav-lang a.active { color: var(--text); font-weight: 500; }
.nav-lang span { color: var(--line); }
.nav-toggle { display: none; font-size: 22px; line-height: 1; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--cream-light);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  display: block;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 70% 55%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(245,239,227,0.94) 0%, rgba(245,239,227,0.78) 38%, rgba(245,239,227,0.25) 72%, rgba(245,239,227,0.10) 100%),
    linear-gradient(to bottom, rgba(31,31,29,0) 70%, rgba(31,31,29,0.18) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 { max-width: 14ch; margin-bottom: 36px; }
.hero h1 .line-2 { display: block; font-style: italic; color: var(--sage-dark); }
.hero-lead { max-width: 56ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--text); line-height: 1.55; margin-bottom: 48px; }
.hero-cta-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-metrics {
  display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--line);
  max-width: 640px;
}
.metric { display: flex; flex-direction: column; gap: 6px; }
.metric strong { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.metric span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-soft); }

/* Mobile: meno schiarimento, foto più presente in alto */
@media (max-width: 720px) {
  .hero::before {
    background:
      linear-gradient(to bottom, rgba(245,239,227,0.55) 0%, rgba(245,239,227,0.85) 35%, rgba(245,239,227,0.95) 55%);
  }
  .hero-bg img { object-position: center top; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--anthracite); color: var(--cream-light);
  box-shadow: 0 2px 0 rgba(31,31,29,0.1);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(31,31,29,0.4); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--text);
}
.btn-ghost:hover { background: var(--text); color: var(--cream-light); }
.btn-ghost-light {
  background: transparent; color: var(--cream-light);
  border: 1px solid rgba(245,239,227,0.4);
}
.btn-ghost-light:hover { background: var(--cream-light); color: var(--anthracite); border-color: var(--cream-light); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- SECTION: SEI ANIME (mugello) ---------- */
.mugello { background: var(--cream-light); }
.mugello-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
.anima {
  background: var(--cream-dark);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.anima:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(31,31,29,0.15);
}
.anima::before {
  content: attr(data-num);
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.1em;
}
.anima .kicker { margin-bottom: 12px; }
.anima h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 12px; }
.anima p { font-size: 14px; line-height: 1.55; color: var(--text-soft); }

.anima-grande { grid-column: span 3; min-height: 360px; }
.anima-media { grid-column: span 3; min-height: 260px; }
.anima-larga { grid-column: span 3; min-height: 280px; }

/* Decorazione tenui per alcune card */
.anima-arte {
  background: var(--cream-dark);
  background-image: radial-gradient(circle at 80% 20%, rgba(138,154,123,0.12), transparent 50%);
}
.anima-natura {
  background: var(--cream-dark);
  background-image: radial-gradient(circle at 20% 80%, rgba(138,154,123,0.15), transparent 55%);
}
.anima-civilta { background: #1F1F1D; color: var(--cream-light); }
.anima-civilta .kicker { color: var(--sage); }
.anima-civilta p { color: rgba(245,239,227,0.75); }
.anima-civilta::before { color: rgba(245,239,227,0.4); }

.mugello-close {
  margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.mugello-close p {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3;
  max-width: 38ch;
}

/* ---------- SECTION: PROPRIETÀ ---------- */
.proprieta { background: var(--cream-dark); }
.prop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prop-card {
  background: var(--cream-light);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid transparent;
}
.prop-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 24px 48px -24px rgba(31,31,29,0.2); }
.prop-card-hero {
  background: linear-gradient(180deg, var(--cream-light) 0%, #EFE6D4 100%);
  grid-row: span 1;
  position: relative;
}
.prop-card-hero::before {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--sage);
}
.prop-card .kicker { margin-bottom: 14px; }
.prop-card h3 { margin-bottom: 18px; }
.prop-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); margin-bottom: 24px; flex-grow: 1; }
.prop-specs {
  list-style: none; padding: 20px 0; border-top: 1px solid var(--line);
  margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px;
}
.prop-specs li {
  font-size: 12.5px; color: var(--text-soft);
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
}
.prop-specs li strong { font-weight: 500; color: var(--text); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  align-self: flex-start; margin-bottom: 18px;
}
.badge-active { background: var(--sage); color: #fff; }
.badge-coming { background: var(--cream-dark); color: var(--text); border: 1px solid var(--sage); }
.badge-active::before, .badge-coming::before { content: "●"; font-size: 8px; }

.prop-close {
  margin-top: 48px; text-align: center;
  font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 24px); color: var(--text-soft);
}
.prop-close em { color: var(--sage-dark); }

/* ---------- SECTION: STANZE ---------- */
.stanze { background: var(--cream-light); }
.stanze-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.stanza {
  display: grid; grid-template-columns: 80px 1fr 1fr 140px;
  gap: 32px; padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .3s var(--ease);
}
.stanza:hover { background: rgba(255,255,255,0.4); }
.stanza-num { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.12em; padding-top: 6px; }
.stanza-head .kicker { margin-bottom: 14px; }
.stanza-head h3 { font-size: clamp(30px, 3.2vw, 42px); }
.stanza-head h3 em { color: var(--sage-dark); }
.stanza-body p { font-size: 14.5px; line-height: 1.65; color: var(--text-soft); margin-bottom: 18px; }
.stanza-head h3 a { color: inherit; transition: color .2s var(--ease); }
.stanza-head h3 a:hover { color: var(--sage-dark); }
.stanza-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sage-dark);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 3px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.stanza-more:hover { color: var(--text); border-bottom-color: var(--text); }
.stanza-more .arrow { transition: transform .25s var(--ease); }
.stanza-more:hover .arrow { transform: translateX(3px); }
.stanza-quote {
  font-family: var(--font-display); font-style: italic; font-size: 15px;
  color: var(--text-soft); border-left: 2px solid var(--sage); padding-left: 14px;
}
.stanza-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; letter-spacing: 0.05em; color: var(--text-muted); }
.stanza-specs {
  font-size: 12px; line-height: 1.7; color: var(--text-soft); text-align: right;
  letter-spacing: 0.02em;
}
.stanze-close {
  margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.stanze-close p { font-family: var(--font-display); font-size: 20px; color: var(--text-soft); max-width: 48ch; }
.stanze-close p em { color: var(--sage-dark); }

/* ---------- SECTION: WORKATION ---------- */
.workation {
  background: var(--cream-dark);
  position: relative; overflow: hidden;
}
.work-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start;
}
.work-text h2 em { color: var(--sage-dark); }
.work-text .lead { margin: 24px 0; }
.work-visual {
  aspect-ratio: 4/5;
  border-radius: 2px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 32px;
  box-shadow: 0 40px 80px -30px rgba(31,31,29,0.3);
  background: var(--sage-dark); /* fallback */
}
.work-visual picture,
.work-visual picture img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.work-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(31,31,29,0.65) 0%, rgba(31,31,29,0.15) 45%, transparent 80%);
  pointer-events: none;
}
.work-visual-caption {
  position: relative; z-index: 2; color: rgba(255,255,255,0.95);
  font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1.4;
  text-shadow: 0 1px 12px rgba(31,31,29,0.5);
}
.work-visual-caption em { color: #fff; font-weight: 500; }

.work-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px;
  margin-top: 40px;
}
.work-feature h4 { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 10px; }
.work-feature p { font-size: 14px; line-height: 1.55; color: var(--text-soft); }

.work-motto {
  margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.4;
  max-width: 55ch;
}
.work-motto em { color: var(--sage-dark); }
.work-motto cite { display: block; margin-top: 14px; font-family: var(--font-body); font-style: normal; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- SECTION: CHI SIAMO ---------- */
.chi-siamo { background: var(--cream-light); }
.chi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.chi-text h2 em { color: var(--sage-dark); }
.chi-side { display: flex; flex-direction: column; gap: 28px; }
.chi-photo {
  display: block; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 60px -30px rgba(31,31,29,0.25);
}
.chi-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chi-pillars {
  display: flex; flex-direction: column; gap: 24px;
  padding: 40px; background: var(--cream-dark); border-radius: var(--radius-md);
}
.pillar { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar h4 { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-dark); padding-top: 3px; }
.pillar p { font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.chi-contact { margin-top: 32px; font-size: 15px; }
.chi-contact a { color: var(--sage-dark); border-bottom: 1px solid var(--sage); padding-bottom: 1px; }

/* ---------- SECTION: PRENOTA (dark) ---------- */
.prenota {
  background: var(--anthracite); color: var(--cream-light);
  position: relative; overflow: hidden;
}
.prenota::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 500px at 80% 20%, rgba(138,154,123,0.12), transparent 60%);
}
.prenota .container { position: relative; z-index: 1; }
.prenota .eyebrow { color: rgba(245,239,227,0.5); }
.prenota h2 { color: var(--cream-light); }
.prenota h2 em { color: var(--sage); }
.prenota .lead { color: rgba(245,239,227,0.8); margin-bottom: 56px; }

.canali {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.canale {
  background: rgba(245,239,227,0.04);
  border: 1px solid rgba(245,239,227,0.12);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.canale:hover { background: rgba(245,239,227,0.07); border-color: rgba(245,239,227,0.22); }
.canale .kicker { color: var(--sage); margin-bottom: 14px; }
.canale h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; color: var(--cream-light); }
.canale h3 em { color: var(--sage); }
.canale p { font-size: 14px; line-height: 1.6; color: rgba(245,239,227,0.7); margin-bottom: 28px; flex-grow: 1; }
.canale .btn { align-self: flex-start; }

.prenota-close {
  margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(245,239,227,0.12);
  text-align: center; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 24px);
  color: rgba(245,239,227,0.85);
}
.prenota-close em { color: var(--sage); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--cream-light);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-col h5 {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-brand { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.01em; margin-bottom: 14px; }
.footer-brand em { color: var(--sage-dark); }
.footer-tag { font-family: var(--font-display); font-size: 17px; font-style: italic; color: var(--text-soft); margin-bottom: 24px; }
.footer-tag strong { font-style: normal; color: var(--text); font-weight: 500; }
.footer-address { font-size: 13px; line-height: 1.7; color: var(--text-soft); }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: var(--text-soft); transition: color .2s var(--ease); }
.footer-col ul a:hover { color: var(--text); }

.footer-legal { display: flex; flex-direction: column; gap: 12px; }
.legal-box {
  border-left: 2px solid var(--sage);
  padding: 10px 14px;
  background: rgba(138,154,123,0.06);
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--text);
  line-height: 1.5;
}
.legal-box span { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.legal-note { font-size: 11.5px; color: var(--text-muted); font-style: italic; line-height: 1.55; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; margin-top: 8px; }
.legal-links a { color: var(--text-soft); border-bottom: 1px solid transparent; transition: border-color .2s; }
.legal-links a:hover { border-bottom-color: var(--sage); }

.footer-bar {
  padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-muted);
}
.footer-bar em { font-family: var(--font-display); color: var(--text-soft); }
.footer-lang { display: flex; gap: 6px; letter-spacing: 0.15em; text-transform: uppercase; font-size: 11px; }
.footer-lang a.active { color: var(--text); font-weight: 500; }

/* ---------- ANIMAZIONI ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

.hero > .container > * { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero-eyebrow { animation-delay: .05s !important; }
.hero h1 { animation-delay: .2s !important; }
.hero-lead { animation-delay: .4s !important; }
.hero-cta-row { animation-delay: .55s !important; }
.hero-metrics { animation-delay: .7s !important; }
.hero .container > * { animation-fill-mode: both; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-menu, .nav-lang { display: none; }
  .nav-toggle { display: inline-flex; }

  .mugello-grid { grid-template-columns: repeat(2, 1fr); }
  .anima-grande, .anima-media, .anima-larga { grid-column: span 2; min-height: 220px; }

  .prop-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; gap: 48px; }
  .work-features { grid-template-columns: 1fr; }
  .chi-grid { grid-template-columns: 1fr; gap: 48px; }
  .canali { grid-template-columns: 1fr; }

  .stanza { grid-template-columns: 50px 1fr; gap: 16px; }
  .stanza-body, .stanza-specs { grid-column: 2; }
  .stanza-specs { text-align: left; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .mugello-grid { grid-template-columns: 1fr; }
  .anima-grande, .anima-media, .anima-larga { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .stanze-close, .mugello-close { flex-direction: column; align-items: flex-start; }
}

/* Selection */
::selection { background: var(--sage); color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   PAGINE DI DETTAGLIO STANZA
   ========================================================= */
.room-page { padding-top: 120px; }

.room-breadcrumb {
  margin-bottom: 40px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}
.room-breadcrumb a { color: var(--text-soft); border-bottom: 1px solid transparent; transition: border-color .2s; }
.room-breadcrumb a:hover { border-bottom-color: var(--sage); }
.room-breadcrumb span { margin: 0 8px; opacity: 0.5; }

.room-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  padding-bottom: clamp(60px, 8vw, 100px);
}
.room-hero-text .kicker { display: block; margin-bottom: 20px; }
.room-hero-text h1 {
  font-size: clamp(48px, 6vw, 84px);
  margin-bottom: 28px;
  line-height: 1;
}
.room-hero-text h1 em { color: var(--sage-dark); }
.room-hero-text .lead { font-size: clamp(17px, 1.4vw, 19px); margin-bottom: 32px; }

.room-specs-inline {
  display: flex; flex-wrap: wrap; gap: 24px;
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.room-specs-inline div { font-size: 12px; }
.room-specs-inline strong {
  display: block; font-weight: 500; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 4px;
}
.room-specs-inline span { font-family: var(--font-display); font-size: 17px; color: var(--text); }

.room-hero-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--sage) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(31,31,29,0.25);
  position: relative;
}
.room-hero-visual picture,
.room-hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-hero-visual .placeholder-note {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; color: rgba(255,255,255,0.85);
  font-size: 16px; text-align: center; padding: 40px;
}

/* Blocchi di storia */
.room-story { background: var(--cream-dark); padding: clamp(72px, 10vw, 120px) 0; }
.room-story-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px;
  max-width: 1100px; margin: 0 auto;
}
.room-story-label {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--sage-dark); margin-bottom: 16px;
}
.room-story-label::before { content: "— "; letter-spacing: 0; }
.room-story h2 { font-size: clamp(32px, 4vw, 44px); }
.room-story h2 em { color: var(--sage-dark); }
.room-story-text p {
  font-size: 16px; line-height: 1.75; color: var(--text);
  margin-bottom: 20px; max-width: 62ch;
}
.room-story-text p:first-of-type::first-letter {
  font-family: var(--font-display); font-size: 56px; line-height: 1;
  float: left; padding: 6px 12px 0 0; color: var(--sage-dark);
}

.room-quote-block {
  background: var(--cream-light); padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
}
.room-quote-block blockquote {
  max-width: 780px; margin: 0 auto; padding: 0 var(--gutter);
}
.room-quote-block q {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(22px, 2.8vw, 32px); line-height: 1.4;
  color: var(--text); quotes: "«" "»";
  display: block; margin-bottom: 20px;
}
.room-quote-block cite {
  font-family: var(--font-body); font-style: normal;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}

/* Info pratiche */
.room-practical { background: var(--cream-light); padding: clamp(60px, 8vw, 100px) 0; }
.room-practical-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.practical-card {
  background: var(--cream-dark); padding: 32px 28px; border-radius: var(--radius-md);
}
.practical-card h4 {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-dark);
  margin-bottom: 14px;
}
.practical-card p { font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.practical-card ul { list-style: none; padding: 0; margin: 0; }
.practical-card li { font-size: 14px; line-height: 1.7; color: var(--text-soft); padding-left: 16px; position: relative; }
.practical-card li::before { content: "·"; position: absolute; left: 4px; color: var(--sage); font-weight: bold; font-size: 18px; line-height: 1.3; }

/* Navigazione fra stanze */
.room-nav {
  background: var(--anthracite); color: var(--cream-light);
  padding: 60px 0;
}
.room-nav-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px;
  align-items: center;
}
.room-nav-grid a {
  color: rgba(245,239,227,0.75);
  font-size: 13px; letter-spacing: 0.05em;
  transition: color .2s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.room-nav-grid a:hover { color: var(--cream-light); }
.room-nav-grid a span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,239,227,0.5); }
.room-nav-grid a strong { font-family: var(--font-display); font-size: 22px; font-weight: 400; font-style: italic; }
.room-nav-prev { text-align: left; }
.room-nav-next { text-align: right; }
.room-nav-center a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1px solid rgba(245,239,227,0.3); border-radius: var(--radius-pill);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
}
.room-nav-center a:hover { border-color: var(--cream-light); }

@media (max-width: 960px) {
  .room-hero { grid-template-columns: 1fr; gap: 48px; }
  .room-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .room-practical-grid { grid-template-columns: 1fr; }
  .room-nav-grid { grid-template-columns: 1fr; gap: 24px; }
  .room-nav-prev, .room-nav-next { text-align: center; }
}
