@charset "UTF-8";
/* ==========================================================================
   Irma Vestimoda — foglio di stile unico
   Nessuna dipendenza esterna: niente Bootstrap, niente CDN, niente font remoti.
   Tutto ciò che serve è in questa cartella, così il sito gira anche da file://
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font serviti in locale
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Variabili
   L'azzurro del marchio è #81c9ec. Su bianco ha un contrasto di 1,8:1, cioè è
   illeggibile come testo. Quindi: #81c9ec per i fondi e i dettagli, --brand-ink
   (scurissimo) per il testo SOPRA l'azzurro, --brand-dark per il testo azzurro
   su fondo chiaro. Tutte le combinazioni superano WCAG AA — i rapporti misurati
   sono annotati qui accanto.
   -------------------------------------------------------------------------- */
:root {
  --brand:        #81c9ec;   /* fondi, bordi, dettagli                      */
  --brand-dark:   #1c6f95;   /* testo e link azzurri su bianco (5,6:1)      */
  --brand-darker: #14587a;   /* hover (7,8:1)                               */
  --brand-ink:    #0a2e3d;   /* testo sopra l'azzurro (7,8:1)               */
  --brand-wash:   #eff8fd;   /* velatura azzurra per i fondi                */

  --ink:      #1f2426;       /* testo principale          */
  --ink-soft: #4a5457;       /* testo secondario (4,9:1)  */
  --line:     #e2e6e7;       /* filetti                   */
  --paper:    #ffffff;
  --paper-alt:#f4f6f6;
  --dark:     #262b2d;       /* footer                    */
  --darker:   #1a1e1f;       /* riga legale               */

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1400px;          /* larghezza massima del contenuto  */
  --wrap-text: 56rem;      /* colonne di solo testo            */
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .05);
  --shadow-md: 0 6px 28px rgba(0, 0, 0, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   3. Reset essenziale
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1rem, .94rem + .3vw, 1.125rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

/* Le icone disegnate in linea non hanno una dimensione propria: senza questa
   regola un SVG si prende tutto lo spazio disponibile. Qui seguono corpo e
   colore del testo che le ospita; i disegni grandi (la mappa) sovrascrivono. */
svg {
  display: block;
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: currentColor;
}

a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-darker); }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.3em; }
li + li { margin-top: .35em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--brand); color: var(--brand-ink); }

:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Salta al contenuto — utile per tastiera e screen reader */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* L'intestazione è appiccicata in alto: senza questo margine, saltando al
   contenuto il primo titolo finirebbe nascosto sotto la barra. */
#contenuto { scroll-margin-top: 90px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Impalcatura
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--alt { background: var(--paper-alt); }
.section--wash { background: var(--brand-wash); }

.section-head { max-width: 54rem; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: .75rem;
}

.lead { font-size: 1.125rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   5. Bottoni
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  padding: .85em 1.7em;
  min-height: 44px;                    /* area di tocco comoda su mobile */
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 4px 14px rgba(129, 201, 236, .45);
}
.btn--primary:hover {
  background: #6dbce6;
  border-color: #6dbce6;
  color: var(--brand-ink);
  box-shadow: 0 8px 22px rgba(129, 201, 236, .55);
}

.btn--ghost {
  background: transparent;
  border-color: var(--brand-dark);
  color: var(--brand-dark);
}
.btn--ghost:hover { background: var(--brand-dark); color: #fff; }

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn--light:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --------------------------------------------------------------------------
   6. Barra di servizio + testata
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand);
  color: var(--brand-ink);
  font-size: .875rem;
  font-weight: 500;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: .55rem;
}
.topbar a { color: var(--brand-ink); text-decoration: none; }
.topbar a:hover { color: #000; text-decoration: underline; }

.topbar-contacts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.topbar-contacts span { display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }

.social { display: flex; align-items: center; gap: .35rem; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  transition: background-color .2s var(--ease);
}
.social a:hover { background: rgba(0, 0, 0, .12); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
}
.brand-logo { display: inline-block; flex: none; }
.brand-logo img { width: 210px; max-width: 46vw; }

.nav-toggle {
  display: none;
  flex: none;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  display: block;
  padding: .6rem .95rem;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.main-nav a:hover { color: var(--brand-dark); background: var(--brand-wash); }
.main-nav a[aria-current='page'] {
  color: var(--brand-dark);
  background: var(--brand-wash);
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  /* Senza JS il bottone non può aprire niente: meglio mostrare il menu aperto. */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .main-nav { position: static; grid-template-rows: 1fr; box-shadow: none; border: 0; }
  html:not(.js) .main-nav > ul { visibility: visible; }
  .main-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s var(--ease);
  }
  /* A menu chiuso l'altezza è zero, ma senza visibility:hidden i link restano
     raggiungibili col tasto Tab e annunciati dai lettori di schermo: si
     navigherebbe dentro un menu che non si vede. */
  .main-nav > ul { overflow: hidden; visibility: hidden; transition: visibility .28s var(--ease); }
  .main-nav.is-open { grid-template-rows: 1fr; }
  .main-nav.is-open > ul { visibility: visible; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem clamp(1rem, 4vw, 2rem) 1rem;
  }
  .main-nav li + li { margin-top: 0; border-top: 1px solid var(--line); }
  .main-nav a { padding: .95rem .25rem; border-radius: 0; }
}

/* --------------------------------------------------------------------------
   7. Hero della home
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(76vh, 620px);
  display: grid;
  place-items: center;
  padding-block: clamp(3.5rem, 10vw, 6.5rem);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Velatura concentrata al centro, dove sta il testo: lì il bianco raggiunge un
   contrasto di circa 6,7:1 anche sulle porzioni chiare della fotografia,
   mentre i lati del trittico restano luminosi e riconoscibili. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 72% 62% at 50% 48%,
                    rgba(8, 18, 20, .58) 0%,
                    rgba(8, 18, 20, .34) 62%,
                    rgba(8, 18, 20, .20) 100%),
    linear-gradient(180deg, rgba(8, 18, 20, .30) 0%, rgba(8, 18, 20, .46) 100%);
}
.hero .wrap { position: relative; }
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
  margin-bottom: .35em;
}
.hero-tag {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  font-size: clamp(1rem, .9rem + .55vw, 1.3rem);
  padding: .5em 1.1em;
  border-radius: 999px;
  margin-bottom: 1.8rem;
}
.hero-kicker {
  display: inline-block;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
  padding: .4em .95em;
  border-radius: 999px;
  /* Sopra una fotografia il solo turchese sparisce: serve un fondo proprio. */
  background: rgba(10, 46, 61, .58);
  backdrop-filter: blur(3px);
}

/* --------------------------------------------------------------------------
   8. Testata delle pagine interne
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 5rem);
  color: #fff;
}
.page-head img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* La velatura non è un vezzo grafico: senza, il testo bianco finirebbe sotto
   il minimo di contrasto AA là dove la fotografia sottostante è chiara.
   Il valore più basso (0.62) è calcolato sul caso peggiore, foto bianca. */
.page-head::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 20, 22, .84) 0%, rgba(10, 20, 22, .62) 100%);
}
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: rgba(255, 255, 255, .95); max-width: 50rem; margin-bottom: 0; }

.breadcrumb { margin-bottom: .9rem; font-size: .875rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0; padding: 0;
  color: rgba(255, 255, 255, .9);
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--brand); font-weight: 500; }

/* --------------------------------------------------------------------------
   9. Blocchi testo + immagine
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split-media { order: 2; }
}
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.split-body h2 { margin-bottom: .5em; }

.figure-pair {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.figure-pair img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.figure-pair figure { margin: 0; }
.figure-pair figcaption {
  margin-top: .7rem;
  font-size: .875rem;
  color: var(--ink-soft);
  text-align: center;
}

/* --------------------------------------------------------------------------
   10. Griglia marchi
   -------------------------------------------------------------------------- */
.brand-group + .brand-group { margin-top: clamp(2.5rem, 6vw, 4rem); }
.brand-group h2 {
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  text-align: center;
  color: var(--brand-dark);
  margin-bottom: .4em;
}
.brand-group .rule {
  width: 60px; height: 3px;
  background: var(--brand);
  border-radius: 2px;
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
}

/* La misura minima cresce con la finestra: due colonne sul telefono, sei su
   uno schermo largo. Così i riquadri non restano sperduti su un monitor grande
   né si stringono troppo sul telefono. */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 15vw, 205px), 1fr));
  gap: clamp(.75rem, 2vw, 1.25rem);
  list-style: none;
  margin: 0; padding: 0;
}
.brand-grid li { margin: 0; }
.brand-grid .tile {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 104px;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.brand-grid .tile:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.brand-grid img {
  max-height: 66px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   11. Schede
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
  list-style: none;
  margin: 0; padding: 0;
}
/* Sei schede vanno in tre colonne: 3+3 è equilibrato, 4+2 lascia un buco. */
@media (min-width: 880px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}
.cards li { margin: 0; }
.card {
  height: 100%;
  padding: clamp(1.3rem, 3vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: .9375rem; }
.card-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand-dark);
}
.card-icon svg { width: 22px; height: 22px; fill: currentColor; }

/* --------------------------------------------------------------------------
   12. Fascia d'invito con foto
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 4.5rem);
  color: #fff;
}
.band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 24, 26, .72);
}
.band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.band h2 { color: #fff; margin-bottom: .25em; }
.band p { color: rgba(255, 255, 255, .88); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   13. Pagina contatti
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.info-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.info-list li {
  display: flex;
  gap: .9rem;
  margin: 0 0 1.1rem;
  align-items: flex-start;
}
.info-list .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand-dark);
}
.info-list .ico svg { width: 19px; height: 19px; }
.info-list strong {
  display: block;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- orari --- */
.hours { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.hours caption {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-align: left;
  font-weight: 600;
  padding-bottom: .7rem;
  color: var(--ink);
}
.hours caption svg { color: var(--brand-dark); }
.hours th, .hours td { padding: .55rem .4rem; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 500; color: var(--ink-soft); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--ink-soft); }
.hours tr.is-today th, .hours tr.is-today td { background: var(--brand-wash); font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   Recapiti a rivelazione

   Numeri e indirizzo non stanno nell'HTML: al loro posto c'è un pulsante, e il
   valore compare solo dopo il clic. Il riquadro non deve però "saltare" quando
   il pulsante viene sostituito dal collegamento, perciò i due elementi hanno
   la stessa altezza minima.
   -------------------------------------------------------------------------- */
.contact-card {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.contact-card > p { color: var(--ink-soft); font-size: .9375rem; }

.recapiti { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.recapiti li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin: 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.recapiti li:last-child { padding-bottom: 0; }
.recapiti .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand-dark);
}
.recapiti .ico svg { width: 19px; height: 19px; }
.recapiti .corpo { min-width: 0; flex: 1; }
.recapiti strong {
  display: block;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .35rem;
}

.rivela {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 40px;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: #fff;
  border: 1px dashed var(--brand);
  border-radius: 999px;
  padding: .45em 1.1em;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-style .2s;
}
.rivela:hover { background: var(--brand); border-style: solid; color: var(--brand-ink); }
.rivela svg { width: 15px; height: 15px; }

.recapito-valore {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
  overflow-wrap: anywhere;      /* l'indirizzo email non deve sfondare su mobile */
}
.recapito-valore:hover { text-decoration: underline; }

.nota {
  margin: .35rem 0 0;
  font-size: .8125rem;
  color: var(--ink-soft);
}
.nota[hidden] { display: none; }

.contact-card .chiusa {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  color: var(--ink-soft);
}

.avviso {
  display: block;
  margin-top: 1.2rem;
  padding: .9rem 1.1rem;
  border-radius: 8px;
  font-size: .9375rem;
  background: #fff8e8;
  border: 1px solid #f0d79a;
  color: #7a5310;
}

/* --- mappa disegnata in locale --- */
.map-card {
  max-width: 64rem;       /* è uno schema: su monitor larghi non serve enorme */
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #eaf0f1;
}
.map-card a { display: block; text-decoration: none; }
.map-card svg { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.map-card .map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  padding: .9rem 1.1rem;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
}
.map-card .map-foot span { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   14. Testo lungo (privacy)
   -------------------------------------------------------------------------- */
.prose { max-width: var(--wrap-text); }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); margin-top: 2.4em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin-top: 1.8em; }
.prose ul { margin-bottom: 1.1em; }
.prose .updated { font-size: .875rem; color: var(--ink-soft); }
.prose .box {
  padding: 1.1rem 1.3rem;
  background: var(--brand-wash);
  border-left: 4px solid var(--brand);
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.6em;
}
.prose .box p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Piè di pagina
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .78);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  font-size: .9375rem;
}
.site-footer h2 {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.site-footer .social a { color: #fff; }
.site-footer .social a:hover { background: rgba(255, 255, 255, .14); }

.footer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.footer-logo { width: 190px; margin-bottom: 1.2rem; }
.footer-about { line-height: 1.65; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 .6rem; }
.footer-contacts { list-style: none; margin: 0; padding: 0; }
.footer-contacts li { display: flex; gap: .7rem; margin: 0 0 .8rem; align-items: flex-start; }
.footer-contacts svg { flex: none; width: 17px; height: 17px; margin-top: .25rem; fill: var(--brand); }

.legal {
  background: var(--darker);
  color: rgba(255, 255, 255, .55);
  font-size: .75rem;
  line-height: 1.7;
}
.legal .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  padding-block: 1.1rem;
}
.legal a { color: rgba(255, 255, 255, .72); }
.legal a:hover { color: var(--brand); }
.legal p { margin: 0; }

/* --------------------------------------------------------------------------
   16. Torna su
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  background: var(--brand);
  color: var(--brand-ink);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 19px; height: 19px; fill: currentColor; }

/* --------------------------------------------------------------------------
   17. Comparsa dolce allo scorrimento
   -------------------------------------------------------------------------- */
/* Il contenuto parte nascosto SOLO se il JS è attivo (classe .js messa da uno
   script inline nel <head>). Senza JS resta tutto visibile: mai pagine bianche. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Chi ha chiesto meno animazioni non deve vederne nessuna, né restare
   con contenuti invisibili se il JS non parte. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   18. Stampa
   -------------------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .to-top, .band, .map-card { display: none !important; }
  /* Su carta un pulsante «mostra il numero» è inutile: stampiamo il valore. */
  .rivela::after { content: ' (visibile sul sito)'; font-weight: 400; }
  /* Su carta non c'è scorrimento: quello che compare allo scroll va mostrato. */
  .js .reveal { opacity: 1 !important; transform: none !important; }
  body { color: #000; font-size: 11pt; }
  .site-footer, .legal { background: none; color: #000; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; }
}
