/* GuiCo — un solo foglio di stile, scritto a mano. Prima il telefono (360 px), poi tablet e computer. */

:root {
  --blu: #00215a;          /* blu notte del logo («Gui») */
  --acqua: #00b1b1;        /* verde acqua del logo («Co»): solo decorazioni, mai testo su chiaro */
  --acqua-scuro: #006b69;  /* verde acqua scurito per link e dettagli leggibili */
  --fondo: #fbfaf7;        /* bianco caldo, da tovaglia */
  --carta: #ffffff;
  --testo: #1c2333;
  --tenue: #4b5468;
  --linea: #e5e1d8;
  --presto-fondo: #fdf1dc;
  --presto-testo: #7a4700;
  --riquadro: #eef4f4;
  --raggio: 14px;
  --misura: 68rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--testo);
  font: 400 1.0625rem/1.6 var(--font);
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--acqua-scuro); text-underline-offset: 0.15em; }
a:hover { color: var(--blu); }
a:focus-visible, .bottone:focus-visible { outline: 3px solid var(--acqua); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { color: var(--blu); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 7.5vw, 3.4rem); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 5vw, 2.25rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 680; }
p { margin: 0 0 1em; }

.salta {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--blu); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 10;
}
.salta:focus { top: 1rem; color: #fff; }

.contenitore { width: 100%; max-width: var(--misura); margin: 0 auto; padding: 0 16px; }

/* Testata */
.testata { border-bottom: 1px solid var(--linea); background: var(--carta); }
.testata .contenitore { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.testata .logo img { width: 116px; height: auto; }
.testata nav { display: flex; align-items: center; gap: 1.25rem; font-size: 0.95rem; }
.testata nav .voce { display: none; color: var(--testo); text-decoration: none; }
.testata nav .voce:hover { color: var(--acqua-scuro); text-decoration: underline; }

/* Bottoni */
.bottone {
  display: inline-block; text-decoration: none; font-weight: 650;
  background: var(--blu); color: #fff; border-radius: 999px;
  padding: 0.85rem 1.4rem; line-height: 1.25;
}
.bottone:hover { background: #0a3480; color: #fff; }
.bottone.piccolo { padding: 0.5rem 1rem; font-size: 0.95rem; }

/* Sezioni */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--linea); }
.occhiello {
  display: inline-block; font-size: 0.85rem; font-weight: 650; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--acqua-scuro); margin-bottom: 0.75rem;
}
.introduzione { color: var(--tenue); font-size: 1.1rem; max-width: 40rem; }

/* Apertura */
.apertura { padding-top: 2.5rem; }
.apertura .griglia { display: grid; gap: 2.5rem; align-items: center; }
.apertura .lead { font-size: 1.15rem; color: var(--tenue); max-width: 36rem; }
.stato {
  margin-top: 1.75rem; padding: 1rem 1.1rem; border-left: 4px solid var(--acqua);
  background: var(--carta); border-radius: 0 var(--raggio) var(--raggio) 0; font-size: 0.98rem; max-width: 36rem;
}
.stato strong { color: var(--blu); }

/* La schermata vera del menu sul telefono, con la cornice di un telefono */
.foto-telefono {
  display: block; width: min(100%, 240px); height: auto; margin: 0 auto;
  border: 8px solid #0b1b33; border-radius: 34px; background: #0b1b33;
  box-shadow: 0 18px 40px rgba(0, 33, 90, 0.18);
}

/* Come funziona */
.passi { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: passo; }
.passi li {
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--raggio);
  padding: 1.4rem 1.25rem; counter-increment: passo;
}
.passi .icona { width: 64px; height: 64px; margin-bottom: 0.9rem; }
.passi h3::before { content: counter(passo) ". "; color: var(--acqua-scuro); }
.passi p { margin: 0; color: var(--tenue); }

/* Illustrazioni SVG: hanno un fondo chiaro proprio, quindi si leggono anche sul riquadro blu */
.illustrazione { width: 100%; height: auto; }
.percorso { max-width: 46rem; margin-top: 1.5rem; }
.resta .illustrazione { max-width: 36rem; margin-bottom: 1.5rem; }
.scheda .illustrazione { margin-bottom: 1rem; }
.allergeni .illustrazione { max-width: 26rem; margin: 1.5rem 0 0.5rem; }


.resta {
  margin-top: 2.5rem; background: var(--blu); color: #e9eef8; border-radius: var(--raggio); padding: 1.6rem 1.35rem;
}
.resta h3 { color: #fff; }
.resta ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.8rem; }
.resta li { padding-left: 1.75rem; position: relative; }
.resta li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 0.8rem; height: 0.8rem;
  border-radius: 50%; background: var(--acqua);
}
.resta strong { color: #fff; }

/* Cosa facciamo noi */
.schede { display: grid; gap: 1.25rem; margin-top: 2rem; }
.scheda { background: var(--carta); border: 1px solid var(--linea); border-radius: var(--raggio); padding: 1.4rem 1.25rem; }
.scheda p:last-child { margin-bottom: 0; }
.scheda p { color: var(--tenue); }

/* Allergeni */
.elenco-allergeni { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.elenco-allergeni li {
  background: var(--carta); border: 1px solid var(--linea); border-radius: 999px;
  padding: 0.3rem 0.8rem; font-size: 0.92rem;
}
.nota { font-size: 0.92rem; color: var(--tenue); }
.elenco-allergeni + .nota { margin-top: 1rem; }

/* In arrivo */
.in-arrivo ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.in-arrivo li { background: var(--carta); border: 1px dashed #d8cbb2; border-radius: var(--raggio); padding: 1.1rem 1.2rem; }
.etichetta {
  display: inline-block; background: var(--presto-fondo); color: var(--presto-testo);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 999px; padding: 0.2rem 0.65rem; margin-bottom: 0.5rem;
}
.in-arrivo h3 { margin-bottom: 0.3rem; }
.in-arrivo p { margin: 0; color: var(--tenue); }

/* Chi siamo e contatti */
.chi-siamo p { max-width: 40rem; font-size: 1.1rem; }
.contatti { background: var(--carta); }
.contatti p { max-width: 40rem; }
.contatti .indirizzo { font-size: 1.15rem; font-weight: 650; margin-top: 1rem; word-break: break-word; }

/* Piè di pagina */
.piede { border-top: 1px solid var(--linea); padding: 2rem 0 2.5rem; font-size: 0.92rem; color: var(--tenue); }
.piede .contenitore { display: grid; gap: 1rem; }
.piede img { width: 96px; height: auto; }
.piede ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.piede p { margin: 0; }

/* Pagine di testo (privacy, 404) */
.testo { padding: 2.5rem 0 3.5rem; }
.testo .contenitore { max-width: 44rem; }
.testo h2 { font-size: 1.35rem; margin-top: 2rem; }
.testo ul { padding-left: 1.2rem; }
.testo li { margin-bottom: 0.4rem; }
.segnaposto {
  background: #fff3c4; color: #5c4400; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700; padding: 0.05rem 0.35rem; border-radius: 4px;
}

/* Tablet */
@media (min-width: 640px) {
  .contenitore { padding: 0 24px; }
  .testata nav .voce { display: inline; }
  .passi { grid-template-columns: repeat(3, 1fr); }
  .schede { grid-template-columns: repeat(3, 1fr); }
  .in-arrivo ul { grid-template-columns: 1fr 1fr; }
  .resta ul { grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
  .piede .contenitore { grid-template-columns: auto 1fr; align-items: center; }
  .piede ul { justify-content: flex-end; }
  .piede p { grid-column: 1 / -1; }
}

/* Computer */
@media (min-width: 960px) {
  section { padding: 5rem 0; }
  .apertura { padding-top: 4rem; }
  .apertura .griglia { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
  .resta { padding: 2.25rem 2.5rem; }
  .foto-telefono { width: min(100%, 300px); }
}
