:root {
  --navy: #0E3473;
  --navy-dark: #0A2757;
  --orange: #FF6B00;
  --orange-dark: #E05F00;
  --cream: #FAF7F5;
  --white: #FFFFFF;
  --text: #313B4D;
  --text-light: #6B7280;
  --border: #E7E5E4;
  --card-bg: #FCFCFC;
  --radius: 18px;
  --font-heading: 'Sora', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--navy);
}

h1 { font-size: 42px; font-weight: 800; }
h2 { font-size: 32px; }
h3 { font-size: 20px; margin-bottom: 8px; }

p { margin: 0 0 12px; }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.eyebrow-light { color: #FFB27A; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover { border-color: var(--navy); }

.btn-block { width: 100%; }

.btn-ghost-inverse {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-inverse:hover { border-color: var(--white); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover { background: #1FBB59; transform: translateY(-1px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}

.logo span { color: var(--orange); }

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.main-nav a:hover { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Scroll reveal + entrance animations */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-animate {
  opacity: 0;
  animation: fade-in-up 0.7s ease forwards;
}

.hero-animate-1 { animation-delay: 0.05s; }
.hero-animate-2 { animation-delay: 0.2s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.cards .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards .reveal:nth-child(3) { transition-delay: 0.2s; }

.fact-list .reveal:nth-child(2) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  .hero-animate, .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* Touch feedback */
.btn:active { transform: scale(0.97); }

/* Hero */
.hero { padding: 72px 0 96px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-lead {
  font-size: 18px;
  color: var(--text-light);
  max-width: 540px;
}

.hero-cta { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.hero-media img {
  border-radius: 24px;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 0 24px 48px -16px rgba(14, 52, 115, 0.25);
}

/* Sections */
.section { padding: 88px 0; }

.section-alt { background: var(--white); }

.section-head { max-width: 640px; margin-bottom: 48px; }

.section-sub { color: var(--text-light); font-size: 17px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.lead-text {
  font-size: 20px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}

.fact-list { display: flex; flex-direction: column; gap: 28px; }

.fact p { color: var(--text-light); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(14, 52, 115, 0.25);
}

.card-icon {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
}

.card p { color: var(--text-light); margin: 0; }

.card-booking {
  display: flex;
  flex-direction: column;
}

.card-booking p { margin-bottom: 24px; }

.card-booking .btn { margin-top: auto; }

/* Testimonianze (sezione pronta, disattivata finche' non ci sono contenuti reali) */
.testimonial-stars {
  color: var(--orange);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin: 0;
}

.testimonial-more {
  text-align: center;
  margin-top: 40px;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 32px;
  margin: 0 24px;
  width: auto;
}

.cta-band .container { max-width: 1092px; }

.cta-band h2 { color: var(--white); }

.cta-band-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.cta-band-lead { color: #C9D4E8; font-size: 17px; }

.contact-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFB27A;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #B9C3D8;
  padding: 48px 0 28px;
  margin-top: 32px;
}

.logo-footer { color: var(--white); margin-bottom: 6px; }
.logo-footer span { color: var(--orange); }

.footer-note { color: #93A0BD; font-size: 15px; margin-bottom: 12px; }

.footer-reviews {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.footer-reviews span { color: #FFB27A; }

.footer-reviews:hover { color: #FFB27A; }

.footer-inner { display: flex; flex-direction: column; gap: 20px; }

.footer-legal {
  font-size: 13px;
  color: #7F8CAA;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.footer-copy { font-size: 13px; color: #7F8CAA; margin: 0; }

/* Nascosti di default: attivi solo sotto i 900px (vedi Responsive) */
.mobile-cta-bar { display: none; }
.mobile-only { display: none; }

/* Pulsante WhatsApp flottante, solo desktop (su mobile c'e' gia' la barra fissa "Prenota") */
.whatsapp-fab {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.whatsapp-fab:hover { background: #1FBB59; transform: translateY(-2px); }

/* Responsive */
@media (max-width: 900px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }

  .main-nav { display: none; }
  .burger { display: flex; }

  .header-actions .btn-primary { display: none; }
  .whatsapp-fab { display: none; }

  .hero { padding: 32px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  /* Mobile: foto dopo titolo/CTA (non prima), e piu' piccola, cosi' il bottone "Prenota" resta vicino alla cima */
  .hero-media { max-width: 180px; margin: 0 auto; }

  /* Mobile: testo breve dedicato al posto del testo lungo desktop */
  .mobile-hide { display: none; }
  .mobile-only { display: block; }

  /* Mobile: barra fissa con la call-to-action principale sempre raggiungibile */
  .mobile-cta-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--cream);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px -12px rgba(14, 52, 115, 0.18);
  }

  body { padding-bottom: 84px; }

  .section { padding: 56px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }

  .cta-band { margin: 0 16px; border-radius: 24px; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Mobile: fondi "Il metodo" con "Chi sono" in un unico blocco, meno stop di scroll */
  #metodo { padding-top: 32px; border-top: 1px solid var(--border); }
  #metodo .section-head { display: none; }

  /* Mobile: le opzioni cliente/collaborazione diventano righe compatte, non card intere */
  .cards-booking .card-booking:nth-child(2),
  .cards-booking .card-booking:nth-child(3) {
    padding: 20px 22px;
  }

  .cards-booking .card-booking:nth-child(2) p,
  .cards-booking .card-booking:nth-child(3) p {
    display: none;
  }

  .cards-booking .card-booking:nth-child(2) h3,
  .cards-booking .card-booking:nth-child(3) h3 {
    margin-bottom: 16px;
  }

  .cards-booking .card-booking:nth-child(2) .card-icon,
  .cards-booking .card-booking:nth-child(3) .card-icon {
    display: none;
  }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 28px; }
  .container { padding: 0 18px; }
}
