/* ================================================================== */
/* PAGINA CATERING — stessi colori e font della home                    */
.page-catering {
  --c-copper: #f0b58a;
  --c-line: rgba(240, 181, 138, 0.22);
  --c-gutter: max(1.25rem, env(safe-area-inset-left));
  background: var(--olive-dark);
}
.page-catering .site-header { transition: background-color 0.35s ease, backdrop-filter 0.35s ease; }
.page-catering .site-header.is-scrolled {
  background: rgba(13, 17, 12, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 181, 138, 0.12);
}
.page-catering :focus-visible { outline: 2px solid var(--c-copper); outline-offset: 3px; }
.page-catering .menu-title { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
.page-catering .menu-title em { font-style: italic; color: var(--c-copper); }

/* ---------- bottoni ---------- */
.ct-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.ct-actions-center { justify-content: center; }
.ct-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0.9rem 1.6rem; border-radius: 999px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.ct-btn:hover { transform: translateY(-2px); }
.ct-btn-solid { background: var(--c-copper); color: #2a1a10; border: 1px solid var(--c-copper); box-shadow: 0 10px 30px rgba(240, 181, 138, 0.22); }
.ct-btn-solid:hover { background: var(--cream); border-color: var(--cream); }
.ct-btn-ghost { color: var(--cream); border: 1px solid var(--c-line); }
.ct-btn-ghost:hover { border-color: var(--c-copper); color: var(--c-copper); }

/* ---------- hero ---------- */
.ct-hero {
  position: relative; overflow: hidden;
  padding: calc(7rem + env(safe-area-inset-top)) var(--c-gutter) clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse 60% 55% at 78% 45%, rgba(214, 140, 96, 0.28) 0%, rgba(214, 140, 96, 0) 70%),
    radial-gradient(ellipse 90% 80% at 20% 30%, var(--olive-mid) 0%, var(--olive-deep) 55%, var(--black-ink) 100%);
}
.ct-hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  min-height: min(78vh, 760px);
}
.ct-eyebrow { margin-bottom: 1.1rem; }
.ct-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.8rem, 6.6vw, 5.8rem); line-height: 0.98; letter-spacing: 0.005em;
  color: var(--cream);
}
.ct-title em { display: block; font-style: italic; color: var(--c-copper); }
.ct-lead { margin-top: 1.5rem; max-width: 44ch; font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.65; color: var(--beige); }

.ct-hero-collage { position: relative; height: clamp(420px, 60vh, 620px); }
.ct-polaroid {
  position: absolute; width: 52%; aspect-ratio: 3 / 4.4;
  padding: 0.55rem 0.55rem 2.2rem; background: var(--cream); border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.ct-polaroid img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 2px; }
.ct-polaroid.p1 { left: 0; top: 8%; transform: rotate(-7deg); z-index: 1; }
.ct-polaroid.p2 { left: 26%; top: 0; transform: rotate(3deg); z-index: 2; }
.ct-polaroid.p3 { right: 0; top: 22%; transform: rotate(9deg); z-index: 3; }
.ct-hero-collage:hover .p1 { transform: rotate(-10deg) translate(-12px, 6px); }
.ct-hero-collage:hover .p3 { transform: rotate(12deg) translate(12px, 6px); }
.ct-stamp {
  position: absolute; z-index: 4; left: 4%; bottom: 2%;
  width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: #5c2a16; color: var(--cream); border: 1px dashed rgba(240, 181, 138, 0.7);
  outline: 6px solid #5c2a16;
  transform: rotate(-12deg); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.ct-stamp span { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--c-copper); }
.ct-stamp strong { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.55rem; line-height: 1; }

/* ---------- nastro ---------- */
.ct-ribbon {
  overflow: hidden; background: var(--c-copper); color: #2a1a10;
  border-block: 1px solid rgba(0, 0, 0, 0.2);
  transform: rotate(-1.2deg) scale(1.02); margin: -1rem 0 0; position: relative; z-index: 3;
}
.ct-ribbon-track { display: flex; width: max-content; gap: 1.4rem; padding: 0.95rem 0; animation: ct-marquee 38s linear infinite; }
.ct-ribbon span { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; font-style: italic; white-space: nowrap; }
.ct-ribbon i { font-style: normal; font-size: 0.8rem; align-self: center; opacity: 0.7; }
@keyframes ct-marquee { to { transform: translateX(-50%); } }

/* ---------- sezioni ---------- */
.ct-section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--c-gutter);
  background: linear-gradient(180deg, #14160f 0%, #0d110c 100%);
}
.ct-inner { max-width: 1120px; margin: 0 auto; }

.ct-services { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ct-service {
  position: relative; padding: 1.8rem 1.5rem 1.9rem;
  border: 1px solid var(--c-line); border-radius: 20px;
  background: linear-gradient(160deg, rgba(240, 181, 138, 0.09), rgba(240, 181, 138, 0.015));
  transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
.ct-service:hover { border-color: rgba(240, 181, 138, 0.55); transform: translateY(-4px); }
.ct-service-num { position: absolute; top: 1.2rem; right: 1.3rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--c-copper); opacity: 0.7; }
.ct-icon { width: 44px; height: 44px; fill: none; stroke: var(--c-copper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.3rem; }
.ct-service h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; color: var(--cream); margin-bottom: 0.6rem; }
.ct-service p { font-size: 0.9rem; font-weight: 300; line-height: 1.55; color: var(--beige); }

/* ---------- galleria ---------- */
.ct-gallery-section {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(214, 140, 96, 0.16) 0%, rgba(214, 140, 96, 0) 70%),
    linear-gradient(180deg, #5c2a16 0%, #2a1a10 22%, #14160f 70%, #0d110c 100%);
}
.ct-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); grid-auto-flow: dense; gap: 0.8rem; }
.g-item { position: relative; overflow: hidden; border-radius: 16px; background: #1b1a14; }
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(9, 12, 8, 0.85));
  font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--cream);
}

/* ---------- feste bambini ---------- */
.ct-kids { padding: clamp(3rem, 6vw, 5rem) var(--c-gutter); background: #0d110c; }
.ct-kids-card {
  max-width: 1120px; margin: 0 auto; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.6rem);
  border-radius: 28px; border: 1px solid rgba(240, 181, 138, 0.35);
  background:
    radial-gradient(circle at 92% 10%, rgba(240, 181, 138, 0.28) 0, transparent 40%),
    radial-gradient(circle at 5% 100%, rgba(199, 125, 82, 0.25) 0, transparent 45%),
    linear-gradient(135deg, #5c2a16 0%, #2a1a10 100%);
}
.ct-kids-kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--c-copper); margin-bottom: 0.8rem; }
.ct-kids h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1; color: var(--cream); }
.ct-kids h2 em { display: block; font-style: italic; color: var(--c-copper); }
.ct-kids-text p:last-child { margin-top: 1.1rem; max-width: 40ch; font-weight: 300; line-height: 1.6; color: var(--beige); }
.ct-kids-list { list-style: none; display: grid; gap: 0.7rem; }
.ct-kids-list li {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.1rem;
  background: rgba(9, 12, 8, 0.35); border: 1px solid rgba(240, 181, 138, 0.2); border-radius: 14px;
  font-weight: 500; color: var(--cream);
}
.ct-kids-ico {
  flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid rgba(240, 181, 138, 0.45);
  background: radial-gradient(circle at 30% 25%, rgba(240, 181, 138, 0.22), rgba(240, 181, 138, 0.04) 70%);
}
.ct-kids-ico svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--c-copper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- come funziona ---------- */
.ct-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: none; position: relative; }
.ct-steps::before {
  content: ""; position: absolute; top: 1rem; left: 12%; right: 12%; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(240, 181, 138, 0.45) 0 6px, transparent 6px 12px);
}
.ct-steps li { position: relative; text-align: center; padding: 0 0.6rem; }
.ct-steps .build-step {
  position: relative; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; margin: 0 auto 1.1rem;
  border-radius: 50%; background: var(--c-copper); color: #2a1a10; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 0 0 8px #10130d;
}
.ct-steps h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; color: var(--cream); margin-bottom: 0.5rem; }
.ct-steps p { font-size: 0.92rem; font-weight: 300; line-height: 1.6; color: var(--beige); max-width: 32ch; margin: 0 auto; }

/* ---------- preventivo ---------- */
.ct-quote {
  padding: clamp(4rem, 8vw, 7rem) var(--c-gutter) clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(214, 140, 96, 0.2) 0%, rgba(214, 140, 96, 0) 70%),
    linear-gradient(180deg, #0d110c 0%, #14160f 100%);
}
.ct-quote-card {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.4rem, 5vw, 3.5rem);
  border: 1px solid rgba(240, 181, 138, 0.35); border-radius: 28px;
  background: linear-gradient(160deg, rgba(240, 181, 138, 0.1), rgba(240, 181, 138, 0.02));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.ct-quote-card h2 { margin-top: 0.9rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.02; color: var(--cream); }
.ct-quote-card h2 em { font-style: italic; color: var(--c-copper); }
.ct-quote-lead { margin-top: 1rem; color: var(--beige); font-weight: 300; }
.ct-phone {
  display: inline-block; margin-top: 1.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 7vw, 3.6rem); letter-spacing: 0.04em;
  color: var(--c-copper); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s ease;
}
.ct-phone:hover { border-bottom-color: var(--c-copper); }
.ct-quote .ct-actions { margin-top: 1.4rem; }
.ct-checklist { margin: 2.2rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--c-line); max-width: 520px; }
.ct-checklist p { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--beige-muted); }
.ct-checklist ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.9rem; }
.ct-checklist li { padding: 0.45rem 0.9rem; border: 1px solid var(--c-line); border-radius: 999px; font-size: 0.85rem; color: var(--cream); }
.ct-quote-foot { margin-top: 1.8rem; font-size: 0.9rem; color: var(--beige); }
.ct-quote-foot a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(201, 138, 82, 0.55); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .ct-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .ct-hero { padding-top: calc(6rem + env(safe-area-inset-top)); }
  .ct-hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .ct-hero-collage { height: clamp(340px, 92vw, 480px); max-width: 480px; width: 100%; margin: 0 auto; }
  .ct-kids-card { grid-template-columns: 1fr; }
  .ct-steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .ct-steps::before { display: none; }
}
@media (max-width: 600px) {
  .ct-actions .ct-btn { flex: 1 1 100%; }
  .ct-services { grid-template-columns: 1fr; }
  .ct-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 0.55rem; }
  .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .g-item figcaption { font-size: 0.98rem; padding: 1.8rem 0.75rem 0.6rem; }
  .ct-stamp { width: 104px; height: 104px; }
  .ct-stamp strong { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-ribbon-track { animation: none; }
  .ct-polaroid, .g-item img, .ct-btn, .ct-service { transition: none; }
}
