/* ══════════════════════════════════════════
   PETRA SKY GLAMPING — CSS v3 Clean & Elegant
   ══════════════════════════════════════════ */

/* Font di sistema – nessuna dipendenza esterna */
:root {
  --font-serif: Georgia, 'Times New Roman', 'Palatino Linotype', Palatino, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: #F9F6F1;
  color: #1C2B22;
  overflow-x: hidden;
}

:root {
  --sage:   #6E8EB2;
  --sage2:  #8AABC8;
  --coal:   #1E3550;
  --gold:   #C8A030;
  --sand:   #E6DCC8;
  --cream:  #F4EFE6;
  --warm:   #F2EDE3;
  --stone:  #EAE4D8;
  --linen:  #F9F6F1;
  --muted:  #8A9EB2;
  --olive:  #3D6080;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  padding: 0 56px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(30, 53, 80, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(110, 142, 178, 0.18);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; }
.nav-brand {
  font-family: var(--font-serif);
  font-size: 11px; font-weight: 300; letter-spacing: 4px;
  color: rgba(254, 252, 248, 0.85);
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(254, 252, 248, 0.6);
  text-decoration: none; font-weight: 300;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage2); }
.nav-btn {
  background: #6E8EB2 !important;
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: 2px;
  font-weight: 400 !important;
}
.nav-btn:hover { background: #4A6E96 !important; color: #fff !important; }

/* ── HERO ── */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-bg.active { opacity: 1; }
/* Su schermi molto alti usa cover ma meno aggressivo */
@media (min-aspect-ratio: 16/9) {
  .hero-bg { background-size: cover; background-position: center 55%; }
}
@media (max-aspect-ratio: 16/9) {
  .hero-bg { background-size: cover; background-position: center 50%; }
}
@keyframes heroPan { 0%,100% { transform: none; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,40,65,0.35) 0%,
    rgba(20,40,65,0.12) 45%,
    rgba(20,40,65,0.58) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 40px;
  display: flex; flex-direction: column; align-items: center;
}
.logo-spin {
  height: 150px; width: auto;   /* molto più grande */
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 24px rgba(168,196,160,0.4));
  animation: spinIn 1.4s cubic-bezier(0.17, 0.67, 0.3, 1.3) 0.3s both;
  margin-bottom: 28px;
}
@keyframes spinIn {
  0%   { transform: rotate(-1440deg) scale(0); opacity: 0; }  /* 4 giri */
  60%  { transform: rotate(18deg) scale(1.06); opacity: 1; }
  80%  { transform: rotate(-8deg) scale(0.97); }
  92%  { transform: rotate(5deg) scale(1.01); }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
.hero-badge {
  display: inline-block;
  background: rgba(110, 142, 178, 0.18);
  border: 1px solid rgba(110, 142, 178, 0.4);
  color: #8AABC8;
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  padding: 7px 22px; border-radius: 1px;
  margin-bottom: 22px;
  animation: fadeUp 0.7s 0.9s both;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(54px, 8vw, 108px);
  font-weight: 300; line-height: 0.92;
  color: #FEFCF8;
  animation: fadeUp 0.9s 1.1s both;
}
.hero-title em { font-style: italic; color: var(--sage2); }
.hero-sub {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(230, 220, 200, 0.65);
  margin: 22px 0 38px; font-weight: 200;
  animation: fadeUp 0.7s 1.3s both;
}
.hero-ctas {
  display: flex; gap: 14px; justify-content: center;
  animation: fadeUp 0.7s 1.5s both;
}
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeUp 0.6s 2s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, #8AABC8, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-hint span { font-size: 8px; letter-spacing: 4px; text-transform: uppercase; color: #8AABC8; }
@keyframes scrollPulse { 0%,100%{opacity:0.3;} 50%{opacity:1;} }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px);} to{opacity:1;transform:translateY(0);} }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: #6E8EB2; color: #fff;
  padding: 13px 38px; border-radius: 2px;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none; font-family: var(--font-sans);
  border: none; cursor: pointer;
  transition: background 0.3s;
}
.btn-primary:hover { background: #4A6E96; }
.btn-outline {
  display: inline-block;
  color: rgba(254,252,248,0.75);
  padding: 13px 30px; border-radius: 2px;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  border: 1px solid rgba(254,252,248,0.3);
  text-decoration: none; transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: rgba(254,252,248,0.7); color: #fff; }
.btn-dark {
  display: inline-block;
  background: #1E3550; color: var(--cream);
  padding: 12px 34px; border-radius: 2px;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: background 0.3s;
}
.btn-dark:hover { background: #6E8EB2; }
.btn-gold {
  display: inline-block;
  background: var(--gold); color: #fff;
  padding: 12px 34px; border-radius: 2px;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: background 0.3s;
}
.btn-gold:hover { background: #A07820; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  color: #6E8EB2; margin-bottom: 12px; display: block;
}
.eyebrow-gold {
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 300; line-height: 1.08; color: var(--coal);
}
.section-title em { font-style: italic; color: var(--sage); }
.body-text { font-size: 14px; line-height: 1.9; color: #5A6E5E; font-weight: 300; }
.body-text p + p { margin-top: 14px; }
.text-center { text-align: center; }

/* ── DIVIDER ── */
.divider {
  width: 40px; height: 1px;
  background: #8AABC8;
  margin: 20px 0;
}
.divider-center { margin: 20px auto; }

/* ── SECTIONS ── */
.section { padding: 96px 64px; }
.section-linen  { background: var(--linen); }
.section-warm   { background: var(--warm); }
.section-stone  { background: var(--stone); }
.section-cream  { background: var(--cream); }
.section-coal   { background: #1E3550; }
.section-sand   { background: var(--sand); }

/* ── THIN RULE SEPARATOR ── */
.rule-sep {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(122,158,126,0.25), transparent);
  margin: 0 64px;
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── PHOTO ── */
.photo-wrap { overflow: hidden; }
.photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── CARDS — minimal, no heavy hover ── */
.card {
  text-decoration: none; display: block; color: inherit;
  border: 1px solid rgba(0,0,0,0.07);
  transition: border-color 0.3s;
}
.card:hover { border-color: var(--sage2); }
.card-img { overflow: hidden; }
.card-img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.card-body { padding: 24px 22px 28px; background: #fff; }
.card-tag {
  font-size: 8px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; display: block;
}
.card-title {
  font-family: var(--font-serif); font-size: 22px;
  font-weight: 400; color: var(--coal); margin-bottom: 8px;
}
.card-desc { font-size: 12px; line-height: 1.8; color: #6A7E6E; font-weight: 300; }
.card-link {
  display: inline-block; margin-top: 14px;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: #6E8EB2; text-decoration: none;
  border-bottom: 1px solid rgba(122,158,126,0.3);
  padding-bottom: 1px;
}

/* ── FEAT BAR ── */
.feat-bar { display: flex; background: #1E3550; }
.feat-item {
  flex: 1; padding: 26px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.feat-item:last-child { border-right: none; }
.feat-icon { font-size: 18px; margin-bottom: 7px; display: block; }
.feat-label {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(168,196,160,0.55);
}

/* ── FULL BLEED ── */
.full-bleed { position: relative; overflow: hidden; }
.full-bleed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.full-bleed-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,40,65,0.72) 0%, rgba(20,40,65,0.05) 55%);
  display: flex; align-items: center; padding: 80px;
}
.full-bleed-text { max-width: 480px; color: var(--cream); }
.full-bleed-text .section-title { color: var(--cream); }
.full-bleed-text .section-title em { color: var(--sage2); }
.full-bleed-text .body-text { color: rgba(230,220,200,0.75); margin: 16px 0 28px; }

/* ── DARK QUOTE ── */
.dark-quote { background: #1E3550; padding: 96px 64px; text-align: center; }
.dq-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 300; font-style: italic;
  color: var(--sand); line-height: 1.45;
  max-width: 760px; margin: 0 auto 18px;
}
.dq-source { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--sage2); }

/* ── NUMBERS ── */
.numbers-bar { display: grid; grid-template-columns: repeat(4,1fr); background: var(--stone); }
.num-cell {
  padding: 56px 40px; text-align: center;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.num-cell:last-child { border-right: none; }
.num-value { font-family: var(--font-serif); font-size: 48px; font-weight: 300; color: var(--coal); }
.num-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ── CHECKLIST ── */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 40px; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.07);
}
.check-icon { color: #6E8EB2; font-size: 13px; flex-shrink: 0; line-height: 1.65; }
.check-text { font-size: 13px; line-height: 1.7; color: var(--coal); font-weight: 300; }

/* ── SPLIT: testo scuro / foto ── */
.split-dark {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 520px;
}
.split-dark-text {
  background: #1E3550; padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-dark-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── ULIVO ── */
.ulivo-split { display: grid; grid-template-columns: 5fr 4fr; min-height: 540px; }
.ulivo-text {
  padding: 80px 64px; background: #1E3550;
  display: flex; flex-direction: column; justify-content: center;
}
.ulivo-stats { display: flex; gap: 40px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.u-stat-val { font-family: var(--font-serif); font-size: 40px; font-weight: 300; color: var(--sage2); }
.u-stat-lbl { font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: rgba(230,220,200,0.45); margin-top: 4px; }
.ulivo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── APERIBOX ── */
.aperibox-hero { position: relative; height: 520px; overflow: hidden; }
.aperibox-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.aperibox-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,40,65,0.78) 0%, rgba(20,40,65,0.08) 55%);
  display: flex; align-items: center; padding: 80px;
}
.aperibox-text { max-width: 440px; color: var(--cream); }

/* ── COUPON ── */
.coupon-section {
  padding: 96px 64px;
  background: #1E3550;
}

/* ── PHOTO STRIPS — no hover effects ── */
.strip-3 { display: grid; grid-template-columns: repeat(3,1fr); height: 320px; gap: 2px; }
.strip-4 { display: grid; grid-template-columns: repeat(4,1fr); height: 200px; gap: 2px; }
.strip-2 { display: grid; grid-template-columns: 3fr 2fr; height: 400px; gap: 2px; }
.strip-item { overflow: hidden; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  height: 82vh; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 72px 64px;
}
.page-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,40,65,0.85) 0%, rgba(20,40,65,0.08) 55%, transparent 100%);
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 55%; }
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  font-size: 9px; letter-spacing: 6px; text-transform: uppercase;
  color: rgba(168,196,160,0.85); margin-bottom: 14px; display: block;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7.5vw, 94px);
  font-weight: 300; color: #FEFCF8; line-height: 0.92; margin-bottom: 18px;
}
.page-hero-title em { font-style: italic; color: var(--sage2); }
.page-hero-body {
  font-size: 14px; line-height: 1.75; color: rgba(230,220,200,0.75);
  max-width: 500px; font-weight: 300; margin-bottom: 28px;
}

/* ── MINI HERO (dormire) ── */
.mini-hero {
  padding: 110px 64px 56px;
  background: #1E3550;
  text-align: center;
  position: relative; overflow: hidden;
}
.mini-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 60%;
  opacity: 0.18;
}
.mini-hero-content { position: relative; z-index: 2; }

/* ── SUBNAV ── */
.subnav {
  background: #fff; padding: 10px 64px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted);
}
.subnav a { color: var(--muted); text-decoration: none; }
.subnav a:hover { color: var(--coal); }
.subnav .sep { margin: 0 8px; opacity: 0.4; }

/* ── CIR/CIN ── */
.legal-bar {
  background: #162C45; padding: 32px 64px;
  display: flex; gap: 36px; align-items: center; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.legal-code { text-align: center; }
.legal-label { font-size: 8px; letter-spacing: 4px; text-transform: uppercase; color: #8AABC8; margin-bottom: 5px; }
.legal-value { font-family: var(--font-serif); font-size: 14px; color: var(--sand); letter-spacing: 0.5px; }

/* ── CIRCLE DIAGRAM ── */
.circle-diagram {
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(122,158,126,0.3);
  margin: 44px auto; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.circle-inner {
  width: 200px; height: 200px; border-radius: 50%;
  background: linear-gradient(135deg, #C8A97A, #7A9E7E, #9BBDBA);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  color: rgba(255,255,255,0.8);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; text-align: center;
}

/* ── CHATBOT ── */
.chat-btn {
  position: fixed; bottom: 24px; left: 24px; z-index: 9000;
  background: #1E3550; color: rgba(138,171,200,0.9);
  padding: 11px 20px; border-radius: 2px;
  cursor: pointer; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  font-family: var(--font-sans); border: 1px solid rgba(110,142,178,0.3);
  transition: background 0.3s;
}
.chat-btn:hover { background: #2A4870; }
.chat-panel {
  position: fixed; bottom: 74px; left: 24px; z-index: 9001;
  width: 340px; max-height: 520px;
  background: #fff; border-radius: 2px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  display: none; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
}
.chat-panel.open { display: flex; animation: slideUp 0.25s ease; }
@keyframes slideUp { from{opacity:0;transform:translateY(12px);} to{opacity:1;transform:translateY(0);} }
.chat-header {
  background: #1E3550; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.chat-header img { height: 24px; filter: brightness(0) invert(1); }
.chat-htext h3 {
  font-size: 12px; letter-spacing: 1px; color: #FEFCF8;
  font-family: var(--font-serif); font-weight: 300;
}
.chat-htext p { font-size: 9px; color: rgba(230,220,200,0.45); margin-top: 1px; }
.chat-close { margin-left: auto; background: none; border: none; color: rgba(230,220,200,0.5); cursor: pointer; font-size: 18px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; flex-direction: column; }
.bubble { padding: 9px 13px; font-size: 13px; line-height: 1.6; max-width: 85%; font-weight: 300; }
.msg.bot .bubble { background: #F4EFE6; color: var(--coal); border-radius: 1px 10px 10px 10px; align-self: flex-start; }
.msg.user .bubble { background: #6E8EB2; color: #fff; border-radius: 10px 10px 1px 10px; align-self: flex-end; }
.chat-opts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.chat-opt-btn {
  background: #fff; border: 1px solid rgba(122,158,126,0.4); color: var(--sage);
  padding: 5px 13px; border-radius: 1px; font-size: 11px; cursor: pointer;
  font-family: var(--font-sans); transition: background 0.2s, color 0.2s;
}
.chat-opt-btn:hover { background: #6E8EB2; color: #fff; }
.chat-input-row { padding: 10px 13px; border-top: 1px solid rgba(0,0,0,0.06); display: flex; gap: 8px; align-items: center; }
.chat-input {
  flex: 1; border: 1px solid rgba(0,0,0,0.12); border-radius: 1px;
  padding: 8px 12px; font-size: 13px; color: var(--coal); outline: none;
  font-family: var(--font-sans); background: #fff;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--sage); }
.chat-send { background: #6E8EB2; color: #fff; border: none; border-radius: 1px; width: 32px; height: 32px; cursor: pointer; font-size: 14px; }
.chat-disclaimer { padding: 7px 13px; font-size: 9px; color: #AAB8AA; text-align: center; border-top: 1px solid rgba(0,0,0,0.05); line-height: 1.5; }

/* ── AUDIO BTN ── */
#audio-btn {
  position: fixed; top: 80px; right: 20px; z-index: 8000;
  background: rgba(14,26,19,0.7); border: 1px solid rgba(168,196,160,0.25);
  color: var(--sage2); border-radius: 50%; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; transition: background 0.3s;
  backdrop-filter: blur(8px);
}
#audio-btn:hover { background: #6E8EB2; color: #fff; }

/* ── REVEAL ── */
.reveal   { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal-l { opacity: 0; transform: translateX(-36px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal-r { opacity: 0; transform: translateX(36px);  transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal-s { opacity: 0; transform: scale(0.94);        transition: opacity 0.75s ease, transform 0.75s ease; }
.in-view  { opacity: 1 !important; transform: none !important; }

/* ── FOOTER ── */
footer { background: #1E3550; padding: 64px 64px 32px; }
.ft-grid {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 56px;
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ft-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-bottom: 13px; }
.ft-logo img { height: 32px; filter: brightness(0) invert(1); }
.ft-logo span { font-family: var(--font-serif); font-size: 14px; font-weight: 300; color: var(--cream); }
.ft-brand p { font-size: 12px; line-height: 1.9; color: rgba(230,220,200,0.38); max-width: 250px; }
.ft-col h4 { font-size: 8px; letter-spacing: 4px; text-transform: uppercase; color: #8AABC8; margin-bottom: 14px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ft-col ul li a { font-size: 12px; color: rgba(230,220,200,0.42); text-decoration: none; transition: color 0.3s; }
.ft-col ul li a:hover { color: var(--sage2); }
.ft-bottom { display: flex; justify-content: space-between; font-size: 10px; color: rgba(230,220,200,0.22); flex-wrap: wrap; gap: 8px; }

/* ── FORM ── */
.form-label { font-size: 8px; letter-spacing: 4px; text-transform: uppercase; color: var(--sage); margin-bottom: 6px; display: block; }
.form-input {
  width: 100%; border: none; border-bottom: 1px solid rgba(14,26,19,0.14);
  background: transparent; padding: 10px 0; font-size: 14px; color: var(--coal);
  font-family: var(--font-sans); font-weight: 300; outline: none; transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--sage); }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit {
  background: #1E3550; color: var(--cream);
  padding: 12px 36px; border-radius: 2px; font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase; border: none;
  cursor: pointer; font-family: var(--font-sans);
  transition: background 0.3s; margin-top: 8px;
}
.form-submit:hover { background: var(--sage); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  .section { padding: 72px 36px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 32px; }
  .ulivo-split, .split-dark { grid-template-columns: 1fr; }
  .numbers-bar { grid-template-columns: 1fr 1fr; }
  .strip-3 { height: 240px; }
  .strip-4 { grid-template-columns: 1fr 1fr; height: 280px; }
  .feat-bar { flex-wrap: wrap; }
  .feat-item { min-width: 50%; }
  .page-hero { padding: 40px 24px; height: 70vh; }
  .chat-panel { width: calc(100vw - 48px); }
  .legal-bar { padding: 28px 24px; }
  .hero-title { font-size: clamp(44px, 10vw, 72px); }
  .logo-spin { height: 110px !important; }
  .ft-grid { grid-template-columns: 1fr; }
  .full-bleed-overlay { padding: 36px; }
  .rule-sep { margin: 0 24px; }
  .checklist { grid-template-columns: 1fr; }
}

/* ── DESKTOP: foto nelle card ben inquadrate ── */
@media (min-width: 769px) {
  /* Card img: altezza sufficiente, centrata */
  .card-img img {
    height: 260px;
    object-fit: cover;
    object-position: center center;
  }

  /* Photo-wrap nelle sezioni 2-col: altezza proporzionata */
  .grid-2 .photo-wrap {
    max-height: 560px;
  }

  /* Strip 3 col: altezza non eccessiva */
  .strip-3 {
    height: 300px;
  }

  /* Hero: foto landscape isola_hero.jpg — meno zoom */
  .hero-bg {
    background-size: 100% auto !important;
    background-position: center 55% !important;
    animation: none !important;
    transform: none !important;
  }

  /* Full bleed: altezza contenuta su desktop */
  .full-bleed {
    max-height: 500px;
  }
}

/* ── GRANDI SCHERMI (> 1400px): evita foto enormi ── */
@media (min-width: 1400px) {
  .aperibox-hero {
    height: 560px;
  }
  .ulivo-split {
    min-height: 520px;
    max-height: 600px;
  }
  .page-hero {
    height: 78vh;
    max-height: 780px;
  }
  .hero {
    max-height: 100vh;
  }
}

/* ── DESKTOP: Aperibox + Ulivo affiancati ── */
@media (min-width: 900px) {
  .home-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }
  .home-duo > * {
    min-height: 520px;
  }
}
@media (max-width: 899px) {
  .home-duo {
    display: flex;
    flex-direction: column;
  }
}

/* ── FOTO: no crop, visibili per intero ── */
.photo-full {
  width: 100%;
  height: auto !important;
  object-fit: unset !important;
  display: block;
}
/* Photo-wrap senza altezza fissa: la foto decide */
.photo-wrap-auto {
  overflow: hidden;
}
.photo-wrap-auto img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

/* Card img nelle strutture: altezza proporzionata, no crop */
.card-img {
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Theatron: THEATRON in azzurro logo, molto grande */
.theatron-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  color: #6E8EB2;
  line-height: 1;
  margin-bottom: 12px;
  font-style: italic;
}

/* ── BANDA FOTO SCORREVOLE ── */
.photo-band-wrap {
  overflow: hidden;
  background: #F9F6F1;
  padding: 20px 0;
  border-top: 1px solid rgba(110,142,178,0.1);
  border-bottom: 1px solid rgba(110,142,178,0.1);
}

.photo-band {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: bandScroll 38s linear infinite;
}

.photo-band:hover {
  animation-play-state: paused;
}

@keyframes bandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.pb-item {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 3px;
}

.pb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 768px) {
  .pb-item {
    width: 150px;
    height: 150px;
  }
  .photo-band {
    gap: 8px;
    animation-duration: 30s;
  }
}

/* ── HERO TITLE ridotto ── */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2vw, 62px);
  font-weight: 300;
  line-height: 1.12;
  color: #FEFCF8;
  animation: fadeUp 0.9s 1.1s both;
}
.hero-title em { font-style: italic; color: #8AABC8; }

/* ── HERO MOBILE: adatta posizione per smartphone ── */
@media (max-width: 768px) {
  .hero-bg {
    background-size: cover;
    background-position: center 60%;
  }
  .hero-content {
    padding: 0 20px;
    align-items: center;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(16px, 5vw, 26px) !important;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.01em;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* ── SEZIONI TESTO OLIVARIO / STARSBOX ARRICCHITE ── */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}
.content-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 44px);
  color: var(--coal);
  font-weight: 300;
  margin-bottom: 24px;
}
.content-section h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--sage);
  font-weight: 300;
  margin-bottom: 16px;
  margin-top: 40px;
}
.content-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3A4A5C;
  margin-bottom: 16px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.checklist li {
  font-size: 0.95rem;
  color: #3A4A5C;
  padding-left: 22px;
  position: relative;
}
.checklist li::before {
  content: '✓';
  color: var(--sage);
  position: absolute;
  left: 0;
  font-weight: 600;
}
@media (max-width: 600px) {
  .checklist { grid-template-columns: 1fr; }
  .content-section { padding: 40px 20px; }
}

/* ── GALLERIA FOTO INTERNA ── */
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 0 40px;
}
.photo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 0 40px;
}
.photo-grid-3 img, .photo-grid-2 img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .photo-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ── GRAFICA FULL STARSBOX ── */
.starsbox-grafica {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 40px auto;
  border-radius: 4px;
}

/* ── FOTO BAGNO RESPONSIVE ── */
.photo-single {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ══════════════════════════════════════════
   HAMBURGER MENU MOBILE
   ══════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: rgba(254,252,248,0.85);
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
  z-index: 10001;
}

/* Menu overlay mobile */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30,53,80,0.97);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: rgba(254,252,248,0.85);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.2s;
}
.nav-mobile-overlay a:hover, .nav-mobile-overlay a.active { color: #8AABC8; }
.nav-mobile-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none; border: none;
  color: rgba(254,252,248,0.6);
  font-size: 30px; cursor: pointer; line-height: 1;
}
.nav-mobile-prenota {
  margin-top: 16px;
  background: #6E8EB2 !important;
  color: #fff !important;
  padding: 12px 38px !important;
  border-radius: 2px;
  font-size: 10px !important;
  font-family: var(--font-sans) !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  /* Dai spazio alla bottom bar */
  body { padding-bottom: 80px; }
}
@media (min-width: 769px) {
  .nav-hamburger { display: none; }
  .nav-mobile-overlay { display: none !important; }
  body { padding-bottom: 0; }
}

/* ══════════════════════════════════════════
   BOTTOM NAV BAR
   ══════════════════════════════════════════ */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9500;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 4px 12px;
  box-shadow: 0 -1px 0 rgba(30,53,80,0.10), 0 -4px 16px rgba(30,53,80,0.08);
}
@media (min-width: 769px) { .bottom-bar { display: none; } }

.bb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #1E3550;
  flex: 1;
}
.bb-item span {
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
  color: #1E3550;
  text-align: center;
  line-height: 1.2;
}

/* Icone strutture: quadrato con sfondo celeste (stesso della icona) */
.bb-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Pulsante telefono verde */
.bb-icon-phone {
  background: #2E7D32;
  border-radius: 10px;
}
.bb-icon-phone svg { stroke: #fff; }
.bb-phone span { color: #2E7D32; font-weight: 600; }

/* ── HERO CENTRAMENTO MOBILE ── */
@media (max-width: 768px) {
  .hero-content {
    text-align: center !important;
    align-items: center !important;
    padding: 0 20px !important;
  }
  .hero-title {
    text-align: center !important;
    font-size: clamp(20px, 5.5vw, 30px) !important;
  }
  .hero-ctas {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 32px !important;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100% !important;
    max-width: 300px !important;
    text-align: center !important;
  }
}

/* ── FORM PRIVACY ── */
.form-privacy {
  margin: 16px 0 20px;
}
.privacy-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.privacy-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--coal);
  cursor: pointer;
}
.privacy-label span {
  font-size: 11px;
  line-height: 1.5;
  color: #5A6A7A;
}

/* Nasconde audio e chat */
#audio-btn, .chat-btn, .chat-panel { display: none !important; }

/* ── WHATSAPP CTA BANNER ── */
.wa-cta-section {
  background: #f0fdf4;
  border-top: 1px solid rgba(37,211,102,0.2);
  padding: 48px 64px;
  text-align: center;
}
.wa-cta-section h2 { font-family: var(--font-serif); font-size: clamp(22px,3vw,34px); font-weight:300; color:var(--coal); margin-bottom:12px; }
.wa-cta-section p { font-size:14px; color:#5A6A7A; margin-bottom:28px; max-width:480px; margin-left:auto; margin-right:auto; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 16px 32px; border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
@media (max-width: 768px) {
  .wa-cta-section { padding: 40px 24px; }
  .btn-wa { font-size: 14px; padding: 14px 24px; }
}

/* ── GRIGLIE 3-COL MOBILE FIX ── */
@media (max-width: 768px) {
  /* Griglia a 3 colonne → 1 colonna su mobile */
  div[style*="grid-template-columns:1fr 1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  /* Griglia a 2 colonne nelle sezioni immagini → 1 colonna */
  div[style*="grid-template-columns:1fr 1fr"][style*="height:380px"],
  div[style*="grid-template-columns:1fr 1fr"][style*="height:380"],
  div[style*="grid-template-columns:3fr 2fr"] {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  /* Strip item altezza fissa su mobile */
  .strip-item { height: 220px !important; }
  /* Page hero testo: padding e font corretti */
  .page-hero-content { padding: 0 !important; }
  .page-hero-title { font-size: clamp(32px,9vw,48px) !important; line-height: 1.1 !important; }
  .page-hero-body { font-size: 13px !important; max-width: 100% !important; }
  /* Section padding ridotto */
  .section-linen, .section-warm, .section-coal { padding-left: 20px !important; padding-right: 20px !important; }
  /* Grid nested per half-height */
  div[style*="grid-template-rows:1fr 1fr"] { height: auto !important; grid-template-rows: auto auto !important; }
}

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--coal);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  min-width: 200px;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: rgba(230,220,200,0.8);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu li a:hover {
  color: var(--sage2);
  background: rgba(255,255,255,0.05);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
