/* ============================================================
   SICILIA IN FAMIGLIA — style.css
   Palette: terracotta #C4622D · crema #FDFAF4 · bruno #1E130A
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ── TOKENS ── */
:root {
  --t:      #C4622D;
  --t-l:   #D97848;
  --t-d:   #9E4E22;
  --t-xs:  #FBF0E8;
  --brown:  #1E130A;
  --brown-m:#3B2510;
  --cream:  #FDFAF4;
  --cream-d:#F5EBD8;
  --gold:   #C09040;
  --sand:   #DEB97A;
  --text:   #271808;
  --text-l: #7A5C3E;
  --white:  #FFFFFF;
  --border: rgba(196,98,45,0.14);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', sans-serif;
  --rad:   6px;
  --sh:    0 3px 18px rgba(30,19,10,0.10);
  --sh-lg: 0 10px 44px rgba(30,19,10,0.18);
}

/* ── BASE ── */
body { font-family: var(--sans); background: var(--cream); color: var(--text); line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── TOP BAR ── */
.topbar {
  background: var(--brown);
  color: rgba(255,255,255,0.88);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.73rem;
  letter-spacing: 0.025em;
  position: sticky;
  top: 0;
  z-index: 300;
}
.topbar strong { color: var(--sand); font-weight: 500; }

/* ── NAV ── */
nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 33px;
  z-index: 299;
  box-shadow: 0 1px 10px rgba(30,19,10,0.06);
}
.nav-logo img  { height: 34px; width: auto; }
.nav-links     { display: flex; gap: 24px; list-style: none; }
.nav-links a   { font-size: 0.79rem; color: var(--text-l); letter-spacing: 0.03em; transition: color .2s; }
.nav-links a:hover { color: var(--t); }
.nav-cta {
  background: var(--t);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--rad);
  font-size: 0.79rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s;
}
.nav-cta:hover { background: var(--t-l); }

/* ── HERO ── */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-start; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg,rgba(30,19,10,.80) 0%,rgba(158,78,34,.42) 50%,rgba(30,19,10,.68) 100%),
    url('images/hero-main.jpg') center / cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10,6,2,.30) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 28px 0px;
  text-align: center;
}
.hero-logo-wrap { margin: 0 auto 16px; }
.hero-logo-wrap img {
  height: 200px;
  width: auto;
  margin: 0 auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 14px rgba(0,0,0,.50));
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.26);
  color: rgba(255,255,255,.90);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: italic; color: #F0C898; }
.hero-sub { font-size: 1.02rem; color: rgba(255,255,255,.82); margin-bottom: 36px; font-weight: 300; line-height: 1.65; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 34px;
  border-radius: 50px;
  font-size: .96rem;
  font-weight: 500;
  box-shadow: 0 5px 24px rgba(37,211,102,.34);
  transition: transform .2s, box-shadow .2s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 9px 32px rgba(37,211,102,.42); }
.btn-wa svg   { width: 20px; height: 20px; flex-shrink: 0; }

.hero-disclaimer {
  margin-top: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--rad);
  padding: 13px 18px;
  font-size: .74rem;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  text-align: left;
}
.hero-disclaimer strong { color: var(--white); font-weight: 500; }

/* ── SEZIONI COMUNI ── */
section { padding: 72px 20px; }
.container { max-width: 1080px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: .65rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--t); margin-bottom: 8px; }
.section-title { font-family: var(--serif); font-size: clamp(1.75rem, 3.4vw, 2.7rem); font-weight: 500; color: var(--brown); line-height: 1.18; margin-bottom: 14px; letter-spacing: -.02em; }
.section-lead { font-size: .97rem; color: var(--text-l); max-width: 560px; line-height: 1.72; }
.divider { width: 36px; height: 2px; background: var(--t); margin: 14px 0 24px; }

/* ── COME FUNZIONA ── */
.funziona { background: var(--brown); }
.funziona .section-tag   { color: var(--sand); }
.funziona .section-title { color: var(--white); }
.funziona .section-lead  { color: rgba(255,255,255,.65); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; margin-top: 44px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 10px; padding: 20px 26px; }
.step-num { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: rgba(196,98,45,.30); line-height: 1; margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.step p { font-size: .85rem; color: rgba(255,255,255,.66); line-height: 1.65; }
.step p strong { color: var(--sand); font-weight: 500; }
.funziona-disc { margin-top: 40px; background: rgba(196,98,45,.12); border-left: 3px solid var(--t); padding: 16px 22px; border-radius: 0 var(--rad) var(--rad) 0; font-size: .78rem; color: rgba(255,255,255,.74); line-height: 1.65; }
.funziona-disc strong { color: var(--sand); }

/* ── TRASPARENZA MINI ── */
.trasparenza-mini {
  background: var(--cream-d);
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  font-size: .78rem;
  color: var(--text-l);
  line-height: 1.65;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.trasparenza-mini-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.trasparenza-mini p {
  max-width: 860px;
  margin: 0 auto;
  text-wrap: pretty;
}

.trasparenza-mini strong {
  color: var(--text);
  font-weight: 500;
}

.trasparenza-mini .btn-wa {
  padding: 10px 20px !important;
  font-size: .85rem !important;
  border-radius: 999px;
  gap: 12px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(37,211,102,.35);
}

/* ── COSA FACCIAMO ── */
.facciamo { background: var(--cream); padding-top: 20px; }
.facciamo-grid { display: grid; grid-template-columns: 1fr; gap: 48px 72px; margin-top: 44px; align-items: start; }
.facciamo-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.facciamo-list li { display: flex; align-items: flex-start; gap: 13px; font-size: .92rem; color: var(--text); line-height: 1.5; }
.icon-wrap { flex-shrink: 0; width: 34px; height: 34px; background: var(--t-xs); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--t); }

/* ── COSA NON FACCIAMO ── */
.non-facciamo { background: var(--cream-d); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.non-facciamo .section-title { color: var(--text); }
.non-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; margin-top: 40px; }
.non-card { background: var(--white); border: 1px solid rgba(196,98,45,.14); border-radius: 10px; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.x-icon { width: 32px; height: 32px; background: var(--t-xs); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--t); }
.non-card h4 { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--t-d); }
.non-card p { font-size: .79rem; color: var(--text-l); line-height: 1.55; }
.non-note { margin-top: 28px; padding: 16px 22px; background: var(--white); border-left: 3px solid var(--t); border-radius: 0 var(--rad) var(--rad) 0; font-size: .81rem; color: var(--text); line-height: 1.6; }
.non-note strong { color: var(--t); }

/* ── DESTINAZIONI ── */
.destinazioni { background: var(--cream); }
.dest-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 44px; }
.dest-card { border-radius: 10px; overflow: hidden; position: relative; aspect-ratio: 2/3; box-shadow: var(--sh); transition: transform .3s, box-shadow .3s; }
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.dest-card img { width:100%; height:100%; object-fit:cover; }
.dest-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(30,19,10,.90) 0%,rgba(30,19,10,.08) 55%,transparent 100%); }
.dest-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 14px; }
.dest-tag { display: inline-block; background: rgba(196,98,45,.60); color: rgba(255,255,255,.92); font-size: .56rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; margin-bottom: 5px; }
.dest-info h3 { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; color: var(--white); line-height: 1.15; margin-bottom: 2px; }
.dest-info p { font-size: .67rem; color: rgba(255,255,255,.70); line-height: 1.38; }
.dest-note { margin-top: 22px; font-size: .76rem; color: var(--text-l); font-style: italic; text-align: center; }
.dest-cta { margin-top: 18px; }

/* ── INTERMEZZO ── */
.intermezzo { position: relative; padding: 90px 20px; text-align: center; overflow: hidden; }
.intermezzo-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg,rgba(30,19,10,.84) 0%,rgba(158,78,34,.44) 52%,rgba(30,19,10,.78) 100%),
    url('images/bg-intermezzo.jpg') center / cover no-repeat;
  z-index: 0;
}
.intermezzo-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.intermezzo-inner .section-tag   { color: var(--sand); }
.intermezzo-inner .section-title { color: var(--white); margin: 0 auto 14px; }
.intermezzo-inner p { font-size: .98rem; color: rgba(255,255,255,.78); margin-bottom: 32px; font-weight: 300; line-height: 1.65; }

/* ── FAQ ── */
.faq { background: var(--brown-m); }
.faq .section-tag   { color: var(--sand); }
.faq .section-title { color: var(--white); }
.faq .section-lead  { color: rgba(255,255,255,.62); }
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 2px; }
.faq-item { border-radius: var(--rad); overflow: hidden; }
.faq-q { width: 100%; background: rgba(255,255,255,.06); border: none; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--white); font-family: var(--serif); font-size: 1.04rem; font-weight: 500; text-align: left; padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; transition: background .2s; }
.faq-q:hover  { background: rgba(255,255,255,.09); }
.faq-q.open   { background: rgba(196,98,45,.15); }
.chevron { flex-shrink:0; width:16px; height:16px; color:var(--sand); transition:transform .28s; }
.faq-q.open .chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; font-size: .85rem; color: rgba(255,255,255,.68); line-height: 1.7; background: rgba(255,255,255,.04); }
.faq-a.open { display: block; }
.faq-a strong { color: var(--sand); font-weight: 500; }

/* ── CTA FINALE ── */
.cta-section { background: var(--cream-d); text-align: center; }
.cta-section .section-title { max-width: 520px; margin: 0 auto 12px; }
.cta-section .section-lead  { margin: 0 auto 32px; }
.cta-note { margin-top: 14px; font-size: .73rem; color: var(--text-l); }

/* ── FOOTER ── */
footer { background: var(--brown); color: rgba(255,255,255,.55); padding: 20px 20px 80px; }
.footer-inner  { max-width: 1080px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 36px; }
.footer-logo img   { height: 34px; width: auto; margin-bottom: 14px; }
.footer-brand p    { font-size: .77rem; line-height: 1.65; color: rgba(255,255,255,.40); max-width: 300px; }
.footer-contact    { margin-top: 18px; display: flex; flex-direction: column; gap: 7px; }
.footer-contact a  { color: rgba(255,255,255,.46); font-size: .78rem; display: flex; align-items: center; gap: 7px; transition: color .2s; }
.footer-contact a:hover { color: rgba(255,255,255,.80); }
.footer-col h4     { font-size: .66rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--sand); margin-bottom: 14px; }
.footer-col ul     { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a   { font-size: .78rem; color: rgba(255,255,255,.42); transition: color .2s; }
.footer-col ul a:hover { color: rgba(255,255,255,.78); }
.footer-disc { background: rgba(196,98,45,.09); border: 1px solid rgba(196,98,45,.18); border-radius: var(--rad); padding: 20px 22px; font-size: .74rem; color: rgba(255,255,255,.52); line-height: 1.72; margin-bottom: 28px; }
.footer-disc strong { color: var(--sand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .69rem; color: rgba(255,255,255,.24); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.24); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.56); }

/* ── ANIMAZIONI ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.hero-inner > * { animation: fadeUp .70s ease both; }
.hero-inner > *:nth-child(1) { animation-delay: .08s; }
.hero-inner > *:nth-child(2) { animation-delay: .20s; }
.hero-inner > *:nth-child(3) { animation-delay: .32s; }
.hero-inner > *:nth-child(4) { animation-delay: .44s; }
.hero-inner > *:nth-child(5) { animation-delay: .56s; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .58s ease, transform .58s ease; }
.reveal.visible { opacity:1; transform:none; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) { .dest-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 860px) {
  .facciamo-grid { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  nav            { padding: 11px 16px; }
  .nav-links     { display: none; }
  section        { padding: 56px 16px; }
  .dest-grid     { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-logo-wrap img { height: 115px; }
  .hero-inner {
    padding: 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    margin-bottom: 10px;
    line-height: 1.05;
  }
  .hero-badge {
    font-size: 0.55rem;
    letter-spacing: .10em;
    padding: 4px 14px;
    margin-bottom: 14px;
  }
  .hero-sub {
    margin-bottom: 18px;
    line-height: 1.45;
    font-size: .95rem;
  }
  .btn-wa { padding: 10px 20px; font-size: .78rem; }
  .trasparenza-mini {
    padding: 16px 18px;
    font-size: .72rem;
    line-height: 1.55;
  }
  .trasparenza-mini-inner {
    gap: 12px;
  }
  .trasparenza-mini p {
    max-width: 34rem;
  }
  .hero { min-height: 78vh; }
  .hero-bg {
    background:
      linear-gradient(155deg,rgba(30,19,10,.80) 0%,rgba(158,78,34,.42) 50%,rgba(30,19,10,.68) 100%),
      url('images/hero-mobile.jpg') center / cover no-repeat;
  }
}
@media (max-width: 440px) {
  .non-grid  { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
}

/* ── CHI SIAMO — FIX PADDING ── */
.chi-siamo {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
@media (max-width: 700px) {
  .chi-siamo {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ── CHI SIAMO — STAT BOXES RIDOTTE ── */
.chi-siamo-inner > .reveal {
  gap: 10px !important;
}
.chi-siamo-inner > .reveal > div {
  padding: 14px 16px !important;
  border-radius: 10px !important;
}
.chi-siamo-inner > .reveal > div > div:first-child {
  font-size: 1.2rem !important;
  font-weight: 600;
}
.chi-siamo-inner > .reveal > div > div:last-child {
  font-size: .75rem !important;
  margin-top: 3px !important;
}
