/* Valori del riferimento demo/index.html, mantenuti per una riproduzione fedele. */
body { margin: 0; }
a { color: #7B2433; }
a:hover { color: #5A1824; }

.page-background {
  background: #F5F2EC;
}

.site-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F5F2EC;
  color: #1C1B19;
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #F5F2EC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #E2DCD0;
}

.brand-link {
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #1C1B19;
  text-decoration: none;
}

.booking-link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  background: #1C1B19;
  color: #F5F2EC;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.site-nav {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  overflow-x: auto;
  border-bottom: 1px solid #E2DCD0;
}

.nav-link {
  flex: none;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #CFC7B8;
  border-radius: 22px;
  color: #1C1B19;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.hero {
  position: relative;
  height: 560px;
  background: #2A2723;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px 28px;
  box-sizing: border-box;
  gap: 14px;
}

.hero-title {
  margin: 0;
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.08;
  color: #FFFFFF;
}

.hero-description {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #E8E3DA;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.button-sesto {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 26px;
  background: #7B2433;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.button-mare {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 26px;
  background: #1E5866;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.venues {
  padding: 48px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-title {
  margin: 0;
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
}

.venue-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2DCD0;
}

.venue-photo-sesto {
  height: 200px;
  background: #D9D3C7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
  color: #4A463F;
  font-size: 13px;
}

.venue-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.venue-eyebrow-sesto {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7B2433;
}

.venue-title {
  margin: 0;
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.venue-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #4A463F;
}

.venue-address {
  margin: 0;
  font-size: 14px;
  color: #4A463F;
}

.venue-link-sesto {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 6px;
  border-radius: 24px;
  border: 1.5px solid #7B2433;
  color: #7B2433;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.venue-photo-mare {
  height: 200px;
  background: #CFDAD8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
  color: #33494E;
  font-size: 13px;
}

.venue-eyebrow-mare {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1E5866;
}

.venue-link-mare {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 6px;
  border-radius: 24px;
  border: 1.5px solid #1E5866;
  color: #1E5866;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.events {
  margin: 32px 20px 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1C1B19;
  color: #F5F2EC;
  display: flex;
  flex-direction: column;
}

.events-photo {
  height: 220px;
  background: #3A3631;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
  color: #D9D3C7;
  font-size: 13px;
}

.events-content {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.events-title {
  margin: 0;
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
}

.events-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #D9D3C7;
}

.events-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-top: 6px;
  border-radius: 26px;
  background: #F5F2EC;
  color: #1C1B19;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.booking-section {
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-sesto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  border-radius: 14px;
  background: #7B2433;
  color: #FFFFFF;
  text-decoration: none;
}

.phone-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-location-sesto {
  font-size: 13px;
  color: rgb(241, 217, 221);
}

.phone-number {
  font-size: 17px;
  font-weight: 600;
}

.phone-mare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  border-radius: 14px;
  background: #1E5866;
  color: #FFFFFF;
  text-decoration: none;
}

.phone-location-mare {
  font-size: 13px;
  color: rgb(211, 230, 234);
}

.site-footer {
  flex-grow: 1;
  background: #1C1B19;
  color: #D9D3C7;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-brand {
  margin: 0;
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #FFFFFF;
}

.footer-location {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-title {
  margin: 0;
  font-weight: 600;
  color: #FFFFFF;
}

.footer-copy {
  margin: 0;
}

.footer-copy a {
  color: inherit;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-instagram {
  color: rgb(255, 255, 255);
  font-weight: 500;
}

.social-facebook {
  color: rgb(255, 255, 255);
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: #A39C90;
}

/* Logo originale bianco su trasparenza: scuro in testata, bianco nel footer. */
.brand-link { display: flex; align-items: center; }
.brand-logo { display: block; width: 72px; height: auto; filter: brightness(0); }
.footer-brand { display: block; width: fit-content; }
.footer-logo { display: block; width: 112px; height: auto; }
.site-main { display: contents; }
.site-topbar { display: contents; }
.menu-toggle { display: none; }
.menu-icon-close { display: none; }
html { scroll-behavior: smooth; }
#prenota, #contatti { scroll-margin-top: 80px; }
a:focus-visible { outline: 3px solid #B36A32; outline-offset: 4px; }
.menu-toggle:focus-visible { outline: 3px solid #B36A32; outline-offset: 4px; }
section:focus, footer:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Navigazione compatta su telefoni e tablet; menu sempre leggibile senza JS. */
@media (max-width: 1023px) {
  .site-shell { overflow-x: clip; }
  .site-topbar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #F5F2EC;
  }
  .site-header {
    position: static;
    height: 80px;
    padding: 0 20px;
    gap: 12px;
  }
  .brand-link { flex-shrink: 0; }
  .brand-logo { width: 96px; }
  .booking-link {
    flex-shrink: 0;
    height: 44px;
    padding-inline: 16px;
    background: #7B2433;
    color: #FFFFFF;
  }
  .booking-link:hover { background: #5A1824; color: #FFFFFF; }
  .site-topbar.menu-ready .site-header { padding-right: 76px; }
  .site-topbar.menu-ready .menu-toggle {
    position: absolute;
    top: 18px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #CFC7B8;
    border-radius: 50%;
    background: transparent;
    color: #1C1B19;
    cursor: pointer;
  }
  .menu-toggle:hover { background: #EAE4DA; }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    background: #F5F2EC;
    border-bottom: 1px solid #E2DCD0;
  }
  .site-topbar.menu-ready .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    box-shadow: 0 16px 24px rgb(28 27 25 / 10%);
  }
  .site-topbar.menu-ready:not(.menu-open) .site-nav { display: none; }
  .nav-link {
    min-height: 48px;
    height: auto;
    padding: 4px 16px;
    border-color: transparent;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
  }
  .nav-link:hover { background: #EAE4DA; color: #1C1B19; }
  .menu-open .menu-icon-open { display: none; }
  .menu-open .menu-icon-close { display: block; }
  #prenota, #contatti { scroll-margin-top: 96px; }
}

@media (max-width: 359px) {
  .site-header { padding-left: 16px; gap: 8px; }
  .brand-logo { width: 84px; }
  .booking-link { padding-inline: 14px; font-size: 14px; }
  .site-topbar.menu-ready .site-header { padding-right: 72px; }
  .site-topbar.menu-ready .menu-toggle { right: 16px; }
}

/* Tablet: la pagina si allarga e le sedi occupano due colonne. */
@media (min-width: 768px) {
  .site-shell {
    --page-gutter: max(32px, calc((100% - 1200px) / 2));
    max-width: none;
    overflow-x: clip;
  }

  .site-header, .site-nav { padding-inline: var(--page-gutter); }
  .site-nav { justify-content: center; }

  .hero {
    height: 600px;
    padding: 48px var(--page-gutter);
    gap: 20px;
  }
  .hero-title { max-width: 760px; font-size: 56px; }
  .hero-description { max-width: 560px; font-size: 18px; }
  .hero-actions { flex-direction: row; gap: 14px; }
  .button-sesto, .button-mare { min-width: 220px; padding-inline: 24px; }

  .venues {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 64px var(--page-gutter) 24px;
  }
  .venues > .section-title { grid-column: 1 / -1; }
  .section-title { font-size: 36px; }
  .venue-card { min-width: 0; }
  .venue-content { flex: 1; padding: 28px; gap: 14px; }
  .venue-link-sesto, .venue-link-mare { margin-top: auto; flex-shrink: 0; }
  .venue-address { margin-bottom: 8px; line-height: 1.5; }
  .venue-photo-sesto, .venue-photo-mare { height: 260px; }

  .events {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 40px var(--page-gutter) 0;
  }
  .events-photo { height: 100%; min-height: 360px; }
  .events-content { justify-content: center; padding: 36px; gap: 20px; }
  .events-title { font-size: 32px; }
  .events-link { flex-shrink: 0; }

  .booking-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    padding: 64px var(--page-gutter);
  }
  .booking-section > .section-title,
  .booking-section > .venue-description { grid-column: 1 / -1; }
  .phone-sesto, .phone-mare { height: 80px; padding-inline: 24px; }
  .phone-number { font-size: 22px; }

  .site-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding: 48px var(--page-gutter);
  }
  .footer-brand, .social-links, .copyright { grid-column: 1 / -1; }
  .copyright { overflow-wrap: anywhere; }
  #prenota, #contatti { scroll-margin-top: 96px; }
}

/* Desktop: un'unica testata, contenuti larghi al massimo 1200 px. */
@media (min-width: 1024px) {
  .site-shell { --page-gutter: max(48px, calc((100% - 1200px) / 2)); }

  .site-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 104px;
    padding-inline: var(--page-gutter);
    background: #F5F2EC;
    border-bottom: 1px solid #E2DCD0;
  }
  .site-header { display: contents; }
  .brand-link { grid-column: 1; grid-row: 1; }
  .brand-logo { width: 100px; }
  .booking-link { grid-column: 3; grid-row: 1; padding-inline: 24px; }
  .site-nav {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    border: 0;
    overflow: visible;
    gap: 4px;
  }
  .nav-link { border-color: transparent; padding-inline: 14px; }
  .nav-link:hover { background: #EAE4DA; color: #1C1B19; }
  .booking-link:hover { background: #35322D; color: #F5F2EC; }

  .hero { height: 640px; padding-block: 64px; gap: 24px; }
  .hero-title { max-width: 850px; font-size: clamp(60px, 5.2vw, 76px); }
  .hero-description { max-width: 590px; font-size: 20px; }
  .hero-actions { padding-top: 8px; }
  .button-sesto, .button-mare { height: 56px; border-radius: 28px; }

  .venues { padding-top: 88px; gap: 36px 32px; }
  .section-title { font-size: 42px; }
  .venue-photo-sesto, .venue-photo-mare { height: 320px; }
  .venue-content { padding: 32px; gap: 16px; }
  .venue-title { font-size: 28px; }
  .venue-description, .events-description { font-size: 16px; line-height: 1.65; }
  .venue-link-sesto, .venue-link-mare { height: 52px; border-radius: 26px; }

  .events { margin-top: 64px; }
  .events-photo { min-height: 400px; }
  .events-content { padding: 48px; gap: 24px; }
  .events-title { font-size: 40px; }
  .events-link { align-self: flex-start; padding-inline: 28px; }

  .booking-section { padding-block: 88px; gap: 24px 32px; }
  .phone-sesto, .phone-mare { margin-top: 8px; height: 88px; }

  .site-footer {
    grid-template-columns: 180px repeat(2, minmax(0, 1fr));
    gap: 32px 48px;
    padding-block: 64px 32px;
  }
  .footer-brand { grid-column: 1; grid-row: 1 / 3; }
  .footer-logo { width: 150px; }
  .social-links { grid-column: 2 / -1; }
  .copyright {
    padding-top: 28px;
    border-top: 1px solid #3A3631;
  }
  #prenota, #contatti { scroll-margin-top: 128px; }
}
