/* =========================================================
   SOULS TO SEOUL · GMG 2027
   Colori presi dal logo: rosso, blu, giallo stella, nero
   ========================================================= */
:root {
  --red: #d0142c;
  --red-dark: #a50e22;
  --blue: #0b3d91;
  --blue-dark: #072a66;
  --yellow: #f7c21a;
  --yellow-soft: #fff1c2;
  --wine: #7a1f3d;
  --ink: #16161d;
  --cream: #fffaf0;
  --paper: #ffffff;
  --muted: #5b5b6b;
  --line: #ece3d0;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(22, 22, 29, .12);
  --shadow-lg: 0 20px 50px rgba(22, 22, 29, .18);
  --font-display: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
/* Solo scorrimento verticale anche su iPhone: clip taglia ciò che sporge senza rompere la nav sticky */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.hl-red { color: var(--red); }
.hl-blue { color: var(--blue); }
.hl-yellow { color: var(--yellow); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 900; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 3px solid var(--ink);
  text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--red { background: var(--red); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--whatsapp { background: #25d366; color: var(--ink); }
.btn--outline { background: var(--paper); color: var(--ink); }
.btn--sm { padding: .5rem 1.1rem; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--lg { padding: 1.1rem 1.6rem; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 240, .9);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.nav__inner {
  width: min(1180px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.nav__brand img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; }
.nav__brand span { font-family: var(--font-display); font-size: 1.3rem; color: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) {
  text-decoration: none; font-weight: 800; position: relative; padding: .2rem 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  background: var(--red); border-radius: 3px; transition: width .2s;
}
.nav__links a:not(.btn):hover::after,
.nav__links a.is-active::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 3px; transition: .25s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 60px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; }
.blob--red { width: 420px; height: 420px; background: var(--red); top: -120px; left: -140px; }
.blob--blue { width: 480px; height: 480px; background: var(--blue); bottom: -200px; right: -160px; }
.blob--yellow { width: 300px; height: 300px; background: var(--yellow); top: 30%; left: 45%; opacity: .45; }
.spark { position: absolute; color: var(--yellow); font-size: 2.4rem; animation: twinkle 2.6s ease-in-out infinite; text-shadow: 0 0 1px var(--ink); }
.spark--1 { top: 12%; right: 8%; }
.spark--2 { top: 70%; left: 4%; font-size: 1.6rem; animation-delay: .8s; }
.spark--3 { bottom: 10%; left: 50%; font-size: 1.9rem; animation-delay: 1.5s; }
/* Stelline in più: posizioni, grandezze e tempi diversi così non brillano tutte insieme */
.spark { pointer-events: none; }
.spark--4 { top: 6%; left: 38%; font-size: 1.3rem; animation-delay: .4s; animation-duration: 3.1s; }
.spark--5 { top: 42%; right: 3%; font-size: 1.1rem; animation-delay: 1.1s; animation-duration: 2.2s; }
.spark--6 { bottom: 22%; right: 24%; font-size: 1.5rem; animation-delay: 1.9s; animation-duration: 3.4s; }
.spark--7 { top: 30%; left: 2%; font-size: 1rem; animation-delay: 2.2s; }
.spark--8 { bottom: 5%; left: 20%; font-size: 1.2rem; animation-delay: .6s; animation-duration: 2.9s; }
.spark--9 { top: 4%; right: 30%; font-size: .95rem; animation-delay: 1.4s; animation-duration: 2.4s; }
.spark--red { color: var(--red); }
.spark--blue { color: var(--blue); }
.spark--white { color: #fff; }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(20deg); opacity: .5; } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__logo {
  width: 190px; height: 190px; object-fit: cover; border-radius: 50%;
  border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  margin-bottom: 1.2rem; animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.hero__kicker {
  display: inline-block; margin: 0 0 .8rem; padding: .35rem 1rem;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 900; font-size: .95rem;
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.3rem); line-height: 1.02; margin: 0 0 1rem;
}
.hero__lead { font-size: 1.15rem; color: #33333f; max-width: 34rem; margin: 0 0 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

.countdown {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1rem 1.2rem; box-shadow: 5px 5px 0 var(--blue); max-width: 30rem;
}
.countdown__label { margin: 0 0 .5rem; font-weight: 900; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.countdown__boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; text-align: center; }
.countdown__boxes div { background: var(--cream); border-radius: 14px; padding: .5rem .2rem; }
.countdown__boxes span { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--red); line-height: 1.1; }
.countdown__boxes small { font-weight: 800; color: var(--muted); font-size: .75rem; }

/* ---------- POLAROID ---------- */
.polaroid {
  margin: 0; background: #fff; padding: 12px 12px 0;
  box-shadow: var(--shadow-lg); border-radius: 4px;
  transition: transform .3s ease, z-index 0s;
}
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(1.1) contrast(1.03); }
.polaroid figcaption {
  font-family: var(--font-hand); font-size: 1.45rem; text-align: center;
  padding: .45rem 0 .7rem; color: #2a2a35; line-height: 1.2;
}
.polaroid:hover { transform: rotate(0) scale(1.05) !important; z-index: 10; }

.hero__polaroids { position: relative; height: 560px; }
.hero__polaroids .polaroid { position: absolute; width: 58%; }
.polaroid--1 { top: 0; left: 4%; transform: rotate(-7deg); z-index: 2; }
.polaroid--2 { top: 4%; right: 0; transform: rotate(6deg); z-index: 1; }
.polaroid--3 { bottom: 0; left: 0; transform: rotate(5deg); z-index: 3; width: 50% !important; }
.polaroid--4 { bottom: 4%; right: 4%; transform: rotate(-5deg); z-index: 4; width: 50% !important; }
.tape {
  position: absolute; width: 110px; height: 30px; z-index: 6;
  background: rgba(247, 194, 26, .75); border: 1px dashed rgba(0,0,0,.15);
}
.tape--1 { top: -8px; left: 20%; transform: rotate(-12deg); }
.tape--2 { top: 1%; right: 14%; transform: rotate(14deg); background: rgba(208, 20, 44, .55); }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--ink); color: var(--yellow); overflow: hidden;
  border-block: 3px solid var(--ink); transform: rotate(-1.5deg); margin: -20px -10px 0;
  position: relative; z-index: 2;
}
.marquee__track { display: flex; width: max-content; animation: scroll 28s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 1.4rem; padding: .8rem 0; white-space: nowrap; padding-right: 2rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-eyebrow {
  display: inline-block; margin: 0 0 .6rem; font-weight: 900; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--red);
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.05; margin: 0 0 .8rem;
}
.section-sub { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* ---------- ABOUT ---------- */
.about { background: var(--paper); border-block: 3px solid var(--ink); }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.about__text h3 { font-family: var(--font-display); font-weight: 400; color: var(--blue); font-size: 1.8rem; margin: 0 0 .5rem; }
.about__text h3:not(:first-child) { margin-top: 1.8rem; }
.about__text p { font-size: 1.08rem; margin: 0 0 1rem; }
.about__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 2rem; }
.stat { border: 3px solid var(--ink); border-radius: 18px; padding: 1rem .6rem; text-align: center; color: #fff; }
.stat--red { background: var(--red); }
.stat--blue { background: var(--blue); }
.stat--yellow { background: var(--yellow); color: var(--ink); }
.stat__big { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.1; }
.stat__small { font-weight: 800; font-size: .85rem; }
.about__polas { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding: 0 .5rem; }
.polaroid--tilt-l { transform: rotate(-4deg); }
.polaroid--tilt-r { transform: rotate(4deg); margin-top: 30px; }

.steps {
  list-style: none; padding: 0; margin: 60px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.steps li {
  display: flex; gap: .8rem; align-items: center;
  background: var(--cream); border: 3px dashed var(--ink); border-radius: 18px; padding: 1rem;
}
.steps__n {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--ink);
  font-family: var(--font-display); font-size: 1.3rem;
}

/* ---------- SERVICES ---------- */
.services { background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.5rem; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card--red { box-shadow: 8px 8px 0 var(--red); }
.card--blue { box-shadow: 8px 8px 0 var(--blue); }
.card--yellow { box-shadow: 8px 8px 0 var(--yellow); }
.card:hover { transform: translate(-3px, -3px) rotate(-.6deg); }
.card__icon {
  width: 70px; height: 70px; font-size: 2.2rem; display: grid; place-items: center;
  border-radius: 20px; border: 3px solid var(--ink); margin-bottom: 1rem;
}
.card--red .card__icon { background: #ffe1e5; }
.card--blue .card__icon { background: #dde8ff; }
.card--yellow .card__icon { background: var(--yellow-soft); }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 .4rem; }
.card p { margin: 0 0 1.2rem; color: #3d3d4a; flex: 1; }
.card__btn {
  align-self: flex-start; background: none; border: 0; padding: 0;
  font: 900 1.05rem var(--font-body); color: var(--blue); cursor: pointer; text-decoration: none;
  border-bottom: 3px solid var(--yellow);
}
.card__btn:hover { color: var(--red); }
/* "Vedi di più" delle schede servizi (si vede solo da telefono) */
.card__more { display: none; }
/* Pulsante ✕ della scheda aperta (si vede solo da telefono) */
.card__close {
  position: absolute; top: .6rem; right: .7rem; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--cream); font: 900 .9rem/1 var(--font-body);
  display: none; place-items: center;
}

/* ---------- EVENTS ---------- */
.events {
  background: var(--blue);
  background-image: radial-gradient(rgba(255,255,255,.08) 2px, transparent 2px);
  background-size: 26px 26px;
  color: #fff; border-block: 3px solid var(--ink);
}
.section-head--light .section-eyebrow { color: var(--yellow); }
.section-head--light .section-sub { color: #d6e0ff; }
.events__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.event {
  background: var(--paper); color: var(--ink); border: 3px solid var(--ink);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 8px 8px 0 var(--ink); transition: transform .2s;
}
.event:hover { transform: translateY(-6px); }
.event__top { position: relative; height: 150px; display: grid; place-items: center; border-bottom: 3px solid var(--ink); }
.event__top--red { background: linear-gradient(135deg, var(--red), #ff5a6e); }
.event__top--blue { background: linear-gradient(135deg, #1e63d6, #43b0ff); }
.event__top--wine { background: linear-gradient(135deg, var(--wine), #c2416b); }
.event__top--yellow { background: linear-gradient(135deg, var(--yellow), #ffdf6e); }
.event__emoji { font-size: 4rem; filter: drop-shadow(3px 3px 0 rgba(0,0,0,.25)); transition: transform .3s; }
.event:hover .event__emoji { transform: scale(1.15) rotate(-8deg); }
.event__tag {
  position: absolute; top: 12px; left: 12px; background: var(--paper); border: 2px solid var(--ink);
  border-radius: 999px; padding: .1rem .7rem; font-weight: 900; font-size: .8rem;
}
.event__body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.event__body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; margin: 0 0 .4rem; }
.event__body p { margin: 0 0 .8rem; font-size: .98rem; color: #3d3d4a; }
.event__date { font-weight: 800; color: var(--blue) !important; font-size: .9rem !important; margin-top: auto !important; }

.event__date--set { color: var(--red) !important; line-height: 1.5; }
.maps-link { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; cursor: pointer; }
.maps-link:hover { text-decoration: underline; }

/* ---------- MINI CALENDARIO (riquadro fisso in Home) ---------- */
.mini-cal {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 320px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem; box-shadow: 6px 6px 0 var(--yellow);
  animation: slideIn .6s ease .4s both;
}
.mini-cal[hidden] { display: none; }
@keyframes slideIn { from { transform: translateY(40px); opacity: 0; } }
.mini-cal__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .7rem; }
.mini-cal__title { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin: 0; }
.mini-cal__toggle {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: var(--cream);
  font: 900 1.2rem/1 var(--font-body); cursor: pointer; display: grid; place-items: center; padding: 0 0 3px;
}
.mini-cal__toggle:hover { background: var(--yellow); }
.mini-cal__all {
  display: inline-block; margin-top: .8rem; font-weight: 900; font-size: .9rem;
  color: var(--blue); text-decoration: none; border-bottom: 3px solid var(--yellow);
}
.mini-cal__all:hover { color: var(--red); }
.mini-cal__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.mini-cal__empty { font-weight: 700; color: var(--muted); }
.mini-cal__item {
  display: flex; align-items: center; gap: .8rem; padding: .6rem; text-decoration: none;
  background: var(--cream); border: 2px dashed #c9c2b3; border-radius: 14px;
  transition: transform .15s, border-color .15s;
}
.mini-cal__item:hover { transform: translateY(-2px); border: 2px solid var(--ink); }
.mini-cal-open {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  padding: .7rem 1.2rem; border-radius: 999px; border: 3px solid var(--ink);
  background: var(--yellow); font: 900 1rem var(--font-body); cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}
.mini-cal-open[hidden] { display: none; }
@media (max-width: 600px) {
  .mini-cal { left: 12px; right: 12px; bottom: 12px; width: auto; padding: .8rem .9rem .9rem; }
  .mini-cal__title { font-size: 1.15rem; }
  .mini-cal__all { margin-top: .5rem; }
  .mini-cal-open { right: 12px; bottom: 12px; }
}
.mini-cal__badge {
  flex: none; width: 54px; height: 58px; border-radius: 12px; border: 3px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--red); color: #fff; box-shadow: 3px 3px 0 var(--ink);
}
.mini-cal__badge--blue { background: var(--blue); }
.mini-cal__badge--wine { background: var(--wine); }
.mini-cal__badge--yellow { background: var(--yellow); color: var(--ink); }
.mini-cal__day { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.mini-cal__month { font-weight: 900; font-size: .75rem; text-transform: uppercase; }
.mini-cal__info { display: flex; flex-direction: column; font-weight: 700; font-size: .95rem; color: #3d3d4a; }
.mini-cal__info strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ink); }

/* ---------- CALENDARIO ---------- */
.calendar-sec { background: var(--cream); }
.calendar-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: start; }
.calendar {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: 8px 8px 0 var(--blue);
}
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.calendar__month {
  font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; margin: 0;
  text-transform: capitalize; color: var(--blue);
}
.calendar__nav {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink);
  background: var(--yellow); font: 900 1.6rem/1 var(--font-body); cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink); transition: transform .15s;
  display: grid; place-items: center; padding: 0 0 4px;
}
.calendar__nav:hover { transform: translate(-1px, -1px); }
.calendar__nav:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.calendar__weekdays, .calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.calendar__weekdays { margin-bottom: .4rem; }
.calendar__weekdays span { text-align: center; font-weight: 900; font-size: .8rem; color: var(--muted); text-transform: uppercase; }
.calendar__day {
  position: relative; aspect-ratio: 1 / 1; border-radius: 12px; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font: 800 1rem var(--font-body); color: var(--ink); border: 2px solid transparent;
}
.calendar__day--empty { background: transparent; }
.calendar__day.is-today { border-color: var(--blue); }
.calendar__day.has-event {
  cursor: pointer; color: #fff; border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink); transition: transform .15s;
  animation: pulse 2.4s ease-in-out infinite;
}
.calendar__day.has-event:hover { transform: translate(-2px, -2px) rotate(-3deg); }
.has-event--red { background: var(--red); }
.has-event--blue { background: var(--blue); }
.has-event--wine { background: var(--wine); }
.has-event--yellow { background: var(--yellow); color: var(--ink) !important; }
.calendar__emoji { font-size: .95rem; line-height: 1; }
@keyframes pulse { 0%, 100% { box-shadow: 3px 3px 0 var(--ink); } 50% { box-shadow: 3px 3px 0 var(--ink), 0 0 0 6px rgba(247, 194, 26, .55); } }

.agenda {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: 8px 8px 0 var(--red);
}
.agenda__title { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 1rem; }
.agenda__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.agenda__empty { font-weight: 700; color: var(--muted); padding: 1rem; background: var(--cream); border-radius: 14px; }
.agenda__item {
  display: flex; gap: 1rem; padding: 1rem; border-radius: 16px; background: var(--cream);
  border: 2px dashed #c9c2b3; transition: border-color .2s, background .2s, transform .2s;
}
.agenda__item.is-selected { border: 2px solid var(--ink); background: var(--yellow-soft); transform: scale(1.02); }
.agenda__badge {
  flex: none; width: 66px; height: 72px; border-radius: 14px; border: 3px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: var(--red);
}
.agenda__item--blue .agenda__badge { background: var(--blue); }
.agenda__item--wine .agenda__badge { background: var(--wine); }
.agenda__item--yellow .agenda__badge { background: var(--yellow); color: var(--ink); }
.agenda__day { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.agenda__month { font-weight: 900; font-size: .8rem; text-transform: uppercase; }
.agenda__info h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin: 0 0 .2rem; }
.agenda__info p { margin: 0 0 .15rem; font-weight: 700; font-size: .95rem; color: #3d3d4a; }
.agenda__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: .7rem; }
.agenda__gcal { font-weight: 900; font-size: .9rem; color: var(--blue); text-decoration: none; border-bottom: 3px solid var(--yellow); }
.agenda__gcal:hover { color: var(--red); }

@media (max-width: 860px) {
  .calendar-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .calendar, .agenda { padding: 1rem; box-shadow: 5px 5px 0 var(--blue); }
  .agenda { box-shadow: 5px 5px 0 var(--red); }
  .calendar__weekdays, .calendar__grid { gap: .25rem; }
  .calendar__day { font-size: .85rem; border-radius: 9px; }
  .calendar__emoji { font-size: .75rem; }
  .agenda__item { flex-direction: column; }
}

/* ---------- BOOKING ---------- */
.booking { background: var(--cream); }
.booking__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.booking__intro .section-title, .booking__intro .section-eyebrow { text-align: left; }
.booking__perks { list-style: none; padding: 0; margin: 1.4rem 0 2rem; font-weight: 800; }
.booking__perks li { margin-bottom: .5rem; }
.booking__pola { max-width: 280px; margin-left: 10px; }

.form {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 2rem; box-shadow: 10px 10px 0 var(--red);
}
.form em { color: var(--red); font-style: normal; font-weight: 900; }
.form__type { border: 0; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.form__type legend { font-weight: 900; margin-bottom: .6rem; padding: 0; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block; padding: .65rem 1.3rem; border: 3px solid var(--ink); border-radius: 999px;
  font-weight: 900; background: var(--cream); transition: .15s;
}
.pill input:checked + span { background: var(--blue); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.pill input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.form__row { display: grid; gap: 1rem; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field.is-hidden { display: none; }
.field label { font-weight: 800; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: 600 1rem var(--font-body); color: var(--ink);
  padding: .8rem 1rem; border: 2.5px solid #c9c2b3; border-radius: 14px; background: #fffdf8;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 61, 145, .15);
}
.field__err { display: none; color: var(--red); font-weight: 800; font-size: .85rem; margin-top: .3rem; }
.field.has-error input, .field.has-error select { border-color: var(--red); background: #fff4f5; }
.field.has-error .field__err { display: block; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; margin: .4rem 0 .3rem; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; margin-top: 2px; }
.field__err--check { margin: 0 0 1rem; }
.check.has-error + .field__err--check { display: block; }
.form .btn--lg { margin-top: 1rem; }
.form .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form__quando {
  margin: .6rem 0 0; padding: .7rem .9rem; white-space: pre-line;
  background: var(--yellow-soft); border: 2px dashed var(--ink); border-radius: 14px;
  font-weight: 800; font-size: .95rem; line-height: 1.5; color: var(--red);
}
.form__quando[hidden] { display: none; }
.form__or { text-align: center; font-weight: 800; font-size: .9rem; color: var(--muted); margin: .9rem 0 .1rem; }
.form #bookingWhatsapp { margin-top: .5rem; }
.modal__actions a[hidden] { display: none; }
/* Campo anti-spam nascosto */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modal__actions[hidden] { display: none; }
.modal__actions + .modal__actions { margin-top: .8rem; }
.form__note { text-align: center; font-size: .85rem; color: var(--muted); margin: .8rem 0 0; }

/* ---------- MODAL ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(22, 22, 29, .6); backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }
.modal__box {
  position: relative; width: min(480px, 100%); max-height: 90vh; overflow: auto;
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 2rem 1.6rem 1.6rem; text-align: center; box-shadow: 10px 10px 0 var(--yellow);
  animation: pop .3s ease;
}
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.modal__icon { font-size: 3rem; }
.modal__box h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; margin: .2rem 0 .4rem; color: var(--blue); }
.modal__summary {
  text-align: left; white-space: pre-wrap; font: 600 .9rem var(--font-body);
  background: var(--cream); border: 2px dashed #c9c2b3; border-radius: 14px; padding: 1rem; margin: 1rem 0;
}
.modal__actions { display: grid; gap: .8rem; }
.modal__close {
  position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: #eaeaf2; position: relative; }
.footer__wave {
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--red) 0 33.33%, var(--yellow) 33.33% 66.66%, var(--blue) 66.66% 100%);
  background-size: 180px 100%;
}
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 60px 0 40px; }
.footer__logo { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; border: 3px solid var(--yellow); margin-bottom: 1rem; }
.footer h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--yellow); margin: 0 0 1rem; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .6rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__addr { margin: 0 0 .8rem; }
.footer__map { font-weight: 900; color: var(--yellow); }
.socials { display: grid; gap: .8rem; }
.social {
  display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 16px;
  font-weight: 800; color: #fff; border: 2px solid rgba(255,255,255,.2); transition: transform .2s;
}
.social:hover { transform: translateX(5px); color: #fff !important; }
.social svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.social--ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7); }
.social--tt { background: #000; box-shadow: -3px 0 0 #25f4ee, 3px 0 0 #fe2c55; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 1.2rem 16px; font-size: .9rem; color: #a9a9b8; }
.footer__bottom p { margin: 0; }

/* ---------- PAGE HERO (intestazione pagine interne) ---------- */
/* Sfondo chiaro con macchie di colore sfumate (come la Home),
   ogni pagina ha la sua combinazione di colori */
.page-hero {
  --g1: rgba(208, 20, 44, .5);
  --g2: rgba(247, 194, 26, .55);
  --g3: rgba(255, 120, 140, .45);
  --g4: rgba(11, 61, 145, .25);
  --b1: var(--red);
  --b2: var(--yellow);
  --accent: var(--red);
  --spark: var(--yellow);

  position: relative; overflow: hidden; padding: 80px 0 90px; text-align: center;
  border-bottom: 3px solid var(--ink); color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(22, 22, 29, .07) 1.5px, transparent 1.5px),
    radial-gradient(circle at 10% 15%, var(--g1) 0, transparent 42%),
    radial-gradient(circle at 90% 10%, var(--g2) 0, transparent 40%),
    radial-gradient(circle at 80% 100%, var(--g3) 0, transparent 45%),
    radial-gradient(circle at 20% 105%, var(--g4) 0, transparent 40%);
  background-size: 22px 22px, auto, auto, auto, auto;
}
/* Macchie sfocate che si muovono piano */
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .45; pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
.page-hero::before { width: 380px; height: 380px; background: var(--b1); top: -150px; left: -100px; }
.page-hero::after { width: 420px; height: 420px; background: var(--b2); bottom: -220px; right: -120px; animation-delay: -7s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 30px) scale(1.15); }
}
.page-hero .container { position: relative; z-index: 1; }

/* Chi siamo: rosso + giallo + rosa */
.page-hero--red { --accent: var(--red); }
/* Servizi: blu + azzurro + un tocco di giallo */
.page-hero--blue {
  --g1: rgba(11, 61, 145, .5);
  --g2: rgba(67, 176, 255, .5);
  --g3: rgba(247, 194, 26, .4);
  --g4: rgba(120, 90, 255, .25);
  --b1: var(--blue);
  --b2: #43b0ff;
  --accent: var(--blue);
  --spark: var(--yellow);
}
/* Eventi: giallo + arancio + rosso vino */
.page-hero--yellow {
  --g1: rgba(247, 194, 26, .7);
  --g2: rgba(255, 130, 60, .5);
  --g3: rgba(208, 20, 44, .35);
  --g4: rgba(122, 31, 61, .3);
  --b1: var(--yellow);
  --b2: #ff7a45;
  --accent: var(--red);
  --spark: var(--red);
}
/* Prenota: i tre colori del logo insieme */
.page-hero--mix {
  --g1: rgba(255, 90, 110, .5);
  --g2: rgba(247, 194, 26, .6);
  --g3: rgba(80, 150, 255, .45);
  --g4: rgba(247, 194, 26, .35);
  --b1: #ff5a6e;
  --b2: #5b9dff;
  --accent: var(--red);
  --spark: var(--yellow);
}

.page-hero .spark { color: var(--spark); z-index: 1; }
.page-hero .spark--1 { top: 18%; right: 10%; }
.page-hero .spark--2 { top: 60%; left: 7%; }
.page-hero .spark.spark--red { color: var(--red); }
.page-hero .spark.spark--blue { color: var(--blue); }
.page-hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.02; margin: 0 0 1rem;
  text-shadow: 3px 3px 0 #fff;
}
.page-hero__title span { color: var(--accent); }
.page-hero__sub { font-size: 1.15rem; font-weight: 700; max-width: 40rem; margin: 0 auto; color: #2c2c38; }

.section-title--center { text-align: center; margin-top: 70px; }
.nav__links .btn.is-current { background: var(--blue); }

/* ---------- TILES (home) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.tile {
  display: flex; flex-direction: column; text-decoration: none; color: #fff;
  border: 3px solid var(--ink); border-radius: var(--radius); padding: 1.6rem 1.4rem;
  box-shadow: 7px 7px 0 var(--ink); transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 10px 10px 0 var(--ink); }
.tile--red { background: var(--red); }
.tile--blue { background: var(--blue); }
.tile--yellow { background: var(--yellow); color: var(--ink); }
.tile--ink { background: var(--ink); box-shadow: 7px 7px 0 var(--yellow); }
.tile--ink:hover { box-shadow: 10px 10px 0 var(--yellow); }
.tile__emoji { font-size: 2.6rem; margin-bottom: .6rem; }
.tile h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; margin: 0 0 .4rem; }
.tile p { margin: 0 0 1.2rem; flex: 1; font-weight: 600; }
.tile__go { font-weight: 900; }

/* ---------- DONA (fascia GoFundMe in Home) ---------- */
.dona {
  background: var(--red);
  background-image: radial-gradient(rgba(255,255,255,.1) 2px, transparent 2px);
  background-size: 24px 24px;
  color: #fff; border-block: 3px solid var(--ink); padding: 60px 0;
  position: relative; overflow: hidden;
}
.dona .spark { text-shadow: 0 0 1px var(--ink), 2px 2px 0 rgba(0,0,0,.2); }
.dona__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.dona__eyebrow { margin: 0 0 .5rem; font-weight: 900; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); }
.dona__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.05; margin: 0 0 .7rem; }
.dona__title span { color: var(--yellow); }
.dona__lead { margin: 0; font-size: 1.08rem; font-weight: 600; max-width: 36rem; }
.dona__btns { display: grid; gap: .9rem; flex: none; }
.dona .btn--outline { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.nav__dona { box-shadow: 3px 3px 0 var(--ink); }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 50px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0; }
.cta-band__btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn { box-shadow: 4px 4px 0 #fff; border-color: #fff; }
.cta-band .btn--outline { background: transparent; color: #fff; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .events__grid, .tiles { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 3px solid var(--ink);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav__links.is-open { max-height: 480px; }
  .nav__links a:not(.btn) { padding: 1rem; width: 100%; text-align: center; border-top: 1px solid var(--line); }
  .nav__links .btn { margin: 1rem 0 1.2rem; }

  .hero { padding-top: 40px; }
  .hero__grid, .about__grid, .booking__grid { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero__logo { margin-inline: auto; width: 160px; height: 160px; }
  .hero__lead, .countdown { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__polaroids { height: 480px; max-width: 480px; width: 100%; margin: 20px auto 0; }
  .booking__intro { text-align: center; }
  .booking__intro .section-title, .booking__intro .section-eyebrow { text-align: center; }
  .booking__pola { display: none; }
}

@media (max-width: 600px) {
  .cards, .events__grid, .steps, .footer__grid, .about__cards, .tiles { grid-template-columns: 1fr; }
  .page-hero { padding: 50px 0 60px; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__btns { justify-content: center; }
  .form__row--2 { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 1.4rem 1.1rem; box-shadow: 6px 6px 0 var(--red); }
  .hero__polaroids { height: 380px; }
  .polaroid figcaption { font-size: 1.15rem; }
  .section { padding: 70px 0; }
  .countdown__boxes { gap: .35rem; }
  .about__cards { grid-template-columns: repeat(3, 1fr); }
  .stat__small { font-size: .75rem; }
  .card { box-shadow: 6px 6px 0 var(--ink); }
  .card--red { box-shadow: 6px 6px 0 var(--red); }
  .card--blue { box-shadow: 6px 6px 0 var(--blue); }
  .card--yellow { box-shadow: 6px 6px 0 var(--yellow); }
}

/* ---------- PROSSIMO EVENTO NELL'HERO (compare solo da telefono) ---------- */
.next-event { display: none; }

/* =========================================================
   SOLO TELEFONO: layout più compatto.
   Da desktop e tablet non cambia nulla.
   ========================================================= */
@media (max-width: 600px) {
  /* --- HOME: hero più leggero --- */
  .hero__kicker { display: none; }
  .hero__cta { flex-wrap: nowrap; gap: .7rem; margin-bottom: 1.6rem; }
  .hero__cta .btn {
    flex: 1 1 0; min-width: 0; padding: .75rem .6rem; font-size: .88rem;
    line-height: 1.2; text-align: center; box-shadow: 3px 3px 0 var(--ink);
  }

  /* --- HOME: il prossimo evento prende il posto del countdown --- */
  .countdown, .mini-cal, .mini-cal-open { display: none !important; }
  .next-event {
    display: block; text-align: left; max-width: 30rem; margin-inline: auto;
    background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
    padding: .9rem 1rem 1rem; box-shadow: 5px 5px 0 var(--yellow);
  }
  .next-event__label {
    margin: 0 0 .6rem; font-weight: 900; font-size: .85rem;
    text-transform: uppercase; letter-spacing: .06em; color: var(--blue);
  }
  .next-event .mini-cal__all { margin-top: .6rem; }

  /* --- HOME: riquadri "Come puoi aiutarci?" due per riga --- */
  .tiles { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .tile { padding: 1rem .9rem; box-shadow: 4px 4px 0 var(--ink); border-radius: 18px; }
  .tile--ink { box-shadow: 4px 4px 0 var(--yellow); }
  .tile__emoji { font-size: 1.8rem; margin-bottom: .3rem; }
  .tile h3 { font-size: 1.3rem; margin-bottom: .25rem; }
  .tile p { font-size: .82rem; line-height: 1.4; margin-bottom: .7rem; }
  .tile__go { font-size: .85rem; }

  /* --- SERVIZI: tre per riga, schede compatte --- */
  .services.section { padding: 45px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: .65rem; }
  .card {
    padding: .8rem .4rem .7rem; align-items: center; text-align: center;
    border-width: 2.5px; border-radius: 16px;
  }
  .card--red { box-shadow: 3px 3px 0 var(--red); }
  .card--blue { box-shadow: 3px 3px 0 var(--blue); }
  .card--yellow { box-shadow: 3px 3px 0 var(--yellow); }
  .card:hover { transform: none; }
  .card__icon {
    width: 44px; height: 44px; font-size: 1.4rem; border-width: 2.5px;
    border-radius: 12px; margin-bottom: .45rem;
  }
  .card h3 { font-size: .95rem; line-height: 1.15; margin-bottom: .5rem; overflow-wrap: anywhere; }
  .card p { display: none; }
  .card__btn { align-self: center; margin-top: auto; font-size: .8rem; border-bottom-width: 2px; }

  /* Tocchi un servizio: si apre in cima a tutta larghezza con la descrizione */
  /* flex invece di grid così un'eventuale ultima riga incompleta resta centrata */
  .services .cards { display: flex; flex-wrap: wrap; justify-content: center; }
  .services .card { flex: 0 0 calc((100% - 1.3rem) / 3); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .services .card.is-open {
    flex-basis: 100%; order: -1; padding: 1.2rem 1.1rem;
    border-width: 3px; border-radius: 20px; animation: cardOpen .3s ease;
  }
  .services .card--red.is-open { box-shadow: 5px 5px 0 var(--red); }
  .services .card--blue.is-open { box-shadow: 5px 5px 0 var(--blue); }
  .services .card--yellow.is-open { box-shadow: 5px 5px 0 var(--yellow); }
  .card.is-open .card__icon { width: 64px; height: 64px; font-size: 2rem; border-width: 3px; border-radius: 16px; margin-bottom: .6rem; }
  .card.is-open h3 { font-size: 1.5rem; margin-bottom: .5rem; }
  .card.is-open p { display: block; flex: none; font-size: .98rem; line-height: 1.5; margin: 0 0 1rem; max-width: 30rem; }
  .card.is-open .card__btn {
    display: inline-flex; align-items: center; justify-content: center; margin-top: 0;
    padding: .7rem 1.8rem; border: 3px solid var(--ink); border-radius: 999px;
    background: var(--red); color: #fff; font-size: 1rem; box-shadow: 3px 3px 0 var(--ink);
  }
  .card.is-open .card__btn:hover { color: #fff; }
  .card.is-open .card__close { display: grid; }
  /* Chiusa: "Vedi di più" al posto di "Prenota" · Aperta: descrizione e "Prenota" */
  .services .card:not(.is-open) .card__btn { display: none; }
  .services .card__more {
    display: inline-block; margin-top: auto; font-weight: 900; font-size: .78rem;
    color: var(--blue); border-bottom: 2px solid var(--yellow);
  }
  .services .card.is-open .card__more { display: none; }
  @keyframes cardOpen { from { transform: scale(.94); opacity: .4; } }

  /* --- EVENTI: calendario e prossimi appuntamenti affiancati --- */
  .calendar-sec.section { padding: 45px 0; }
  .calendar-sec .section-head { margin-bottom: 26px; }
  .calendar-wrap { grid-template-columns: 1.3fr 1fr; gap: .55rem; align-items: stretch; }
  .calendar, .agenda { padding: .6rem .45rem; border-width: 2.5px; border-radius: 16px; }
  .calendar { box-shadow: 3px 3px 0 var(--blue); }
  .agenda { box-shadow: 3px 3px 0 var(--red); }
  .calendar__head { margin-bottom: .5rem; }
  .calendar__month { font-size: .9rem; }
  .calendar__nav { width: 24px; height: 24px; border-width: 2px; font-size: 1rem; box-shadow: 2px 2px 0 var(--ink); padding: 0 0 2px; }
  .calendar__weekdays, .calendar__grid { gap: 2px; }
  .calendar__weekdays { margin-bottom: 2px; }
  .calendar__weekdays span { font-size: .45rem; letter-spacing: 0; }
  .calendar__day { font-size: .62rem; border-radius: 6px; border-width: 1.5px; }
  .calendar__day.has-event { border-width: 1.5px; box-shadow: 1.5px 1.5px 0 var(--ink); animation: none; }
  .calendar__emoji { display: none; }
  .agenda__title { font-size: .95rem; line-height: 1.15; margin-bottom: .5rem; }
  .agenda__list { gap: .5rem; }
  .agenda__empty { font-size: .7rem; padding: .5rem; }
  .agenda__item { padding: .45rem; gap: .35rem; border-radius: 10px; }
  .agenda__item.is-selected { transform: none; }
  .agenda__badge { width: 38px; height: 42px; border-width: 2px; border-radius: 9px; }
  .agenda__day { font-size: 1.15rem; }
  .agenda__month { font-size: .55rem; }
  .agenda__info h4 { font-size: .82rem; line-height: 1.15; }
  .agenda__info p { font-size: .62rem; line-height: 1.35; }
  .agenda__actions { gap: .35rem; margin-top: .4rem; }
  .agenda__actions .btn { padding: .35rem .5rem; font-size: .62rem; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
  .agenda__gcal { font-size: .6rem; border-bottom-width: 2px; }

  /* --- EVENTI: tre per riga come i servizi --- */
  .events.section { padding: 45px 0; }
  .events__grid { grid-template-columns: repeat(3, 1fr); gap: .65rem; }
  .events__grid .event:last-child:nth-child(3n + 1) { grid-column: 2; }
  .event { border-width: 2.5px; border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); text-align: center; }
  .event:hover { transform: none; }
  .event__top { height: 62px; border-bottom-width: 2.5px; }
  .event__emoji { font-size: 2rem; }
  .event__tag { display: none; }
  .event__body { padding: .6rem .4rem .6rem; }
  .event__body h3 { font-size: .95rem; line-height: 1.15; margin-bottom: .4rem; }
  .event__body p:not(.event__date) { display: none; }
  .events__grid .event__date { font-size: .66rem !important; line-height: 1.35; margin-bottom: .5rem; }
  .event .btn {
    padding: .45rem .3rem; font-size: .72rem; line-height: 1.15;
    border-width: 2px; box-shadow: 2px 2px 0 var(--ink);
  }
}

/* ---------- PRENOTA da telefono: nessun box deve uscire dallo schermo ---------- */
@media (max-width: 600px) {
  .form { max-width: 100%; }
  .form__row > *, .field { min-width: 0; }
  .field input, .field select, .field textarea { max-width: 100%; min-width: 0; }
  /* iPhone/Safari: il campo data ha una larghezza minima sua e sfora */
  .field input[type="date"], .field input[type="time"] {
    -webkit-appearance: none; appearance: none; display: block;
    min-height: 3.2rem; line-height: 1.3; text-align: left;
  }
  .field input[type="date"]::-webkit-date-and-time-value, .field input[type="time"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
  .form__type { gap: .6rem; }
  .pill span { padding: .6rem 1rem; }
  .check span { min-width: 0; overflow-wrap: anywhere; }
  /* Riepilogo nel popup: email o indirizzi lunghi vanno a capo */
  .modal__box { padding: 1.8rem 1.1rem 1.3rem; box-shadow: 6px 6px 0 var(--yellow); }
  .modal__summary { overflow-wrap: anywhere; word-break: break-word; }
  .modal__box h3 { font-size: 1.7rem; }
}

/* ---------- DONA da telefono ---------- */
@media (max-width: 860px) {
  .dona__inner { flex-direction: column; text-align: center; }
  .dona__lead { margin-inline: auto; }
  .dona__btns { width: 100%; max-width: 360px; }
}
@media (max-width: 600px) {
  .dona { padding: 45px 0; }
  .dona__lead { font-size: 1rem; }
  .nav__links .nav__dona { margin: 1rem 0 0; }
  .nav__links .nav__dona + .btn { margin-top: .8rem; }
}

/* ---------- Stelline da telefono: lontane dai testi ---------- */
@media (max-width: 600px) {
  .hero .spark--7 { top: 17%; left: 4%; }
  .hero .spark--5 { top: 8%; right: 9%; }
  .dona .spark--1 { top: 3%; right: 5%; font-size: 1.5rem; }
  .dona .spark--2 { top: auto; bottom: 3%; left: 5%; }
  .dona .spark--5 { top: 6%; left: 6%; right: auto; }
  .dona .spark--9 { top: auto; bottom: 4%; right: 8%; }
}

/* ---------- EVENTI: un solo evento (La Corrida) centrato ---------- */
.events__grid--single { grid-template-columns: minmax(0, 400px); justify-content: center; }
.events__grid--single .event__top { height: 190px; }
.events__grid--single .event__emoji { font-size: 5rem; }
@media (max-width: 600px) {
  .events__grid.events__grid--single { grid-template-columns: minmax(0, 320px); }
  .events__grid.events__grid--single .event:last-child:nth-child(n) { grid-column: auto; }
  .events__grid--single .event { border-width: 3px; border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); }
  .events__grid--single .event__top { height: 140px; border-bottom-width: 3px; }
  .events__grid--single .event__emoji { font-size: 3.6rem; }
  .events__grid--single .event__tag { display: block; }
  .events__grid--single .event__body { padding: 1.1rem 1.1rem 1.2rem; }
  .events__grid--single .event__body h3 { font-size: 1.5rem; }
  .events__grid--single .event__body p:not(.event__date) { display: block; font-size: .95rem; }
  .events__grid--single .event__date { font-size: .88rem !important; }
  .events__grid--single .event .btn { padding: .8rem 1rem; font-size: 1rem; border-width: 3px; box-shadow: 4px 4px 0 var(--ink); }
}
