/* ==========================================================================
   INTIMO IN — Design System "Navy & Cipria"
   Palette: Navy Blue (20,40,80) · Soft Blush Pink (235,195,200) ·
   Powder Blue (175,200,225) · Soft Grey (210,210,210) · sfondo Bianco Seta (251,249,249)
   Mobile-first · WCAG 2.1 AA · nessuna libreria esterna.
   ========================================================================== */

/* ---------- Font ospitati in locale (nessuna richiesta a Google) ----------
   File woff2 variabili presi da Google Fonts (licenza SIL OFL 1.1, vedi
   assets/fonts/OFL-*.txt): un solo file copre tutti i pesi indicati.
   Il browser scarica il sottoinsieme latin-ext solo se la pagina usa quei caratteri. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Fallback metrici dei font (riducono il CLS durante il caricamento) */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 86%;
}
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 104%;
}

/* ---------- Design tokens ------------------------------------------------- */
:root {
  /* Palette principale */
  --c-navy: #142850;           /* Navy Blue · bianco su navy 14.5:1 */
  --c-navy-deep: #0D1B38;      /* navy profondo: top bar, footer, hover */
  --c-blush: #EBC3C8;          /* Soft Blush Pink · CTA su navy (testo navy 9.1:1) */
  --c-powder: #AFC8E1;         /* Powder Blue · su navy 8.4:1, testo navy su powder 8.4:1 */
  --c-silk: #FBF9F9;           /* Bianco Seta · sfondo pagina (bianco appena rosato) */
  --c-grey: #D2D2D2;           /* Soft Grey · bordi e divisori decorativi */

  /* Derivati (stessa famiglia, per leggibilità e profondità) */
  --c-silk-deep: #F3EEEF;      /* superfici secondarie */
  --c-card: #FFFFFF;           /* card e superfici rialzate */
  --c-surface: var(--c-card);
  --c-blush-soft: #F9EDEF;     /* velatura cipria (sezioni alternate) */
  --c-powder-soft: #EEF3F8;    /* velatura azzurro polvere (sezioni alternate) */
  --c-rose: #8E4351;           /* cipria scuro per testo su chiaro · 5.4:1 minimo */
  --c-rose-deep: #75333F;
  --c-ink: #142850;            /* testo = navy · 13.8:1 su bianco seta */
  --c-muted: #4B5A73;          /* testo secondario · ≥6:1 su tutte le superfici chiare */
  --c-grey-strong: #7A7E87;    /* bordi dei controlli · ≥3.5:1 (WCAG 1.4.11) */
  --c-white: #FFFFFF;

  /* Stati */
  --c-open: #1E7A52;
  --c-open-light: #7EE2B0;
  --c-soon: #C98A1E;

  /* Tipografia (Cormorant Garamond dialoga con il corsivo calligrafico del logo) */
  --font-display: "Cormorant Garamond", "Cormorant Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --fs-h2: clamp(2.125rem, 1.55rem + 2.4vw, 3.4rem);
  --fs-h1: clamp(2.75rem, 1.8rem + 4.4vw, 5.4rem);

  /* Spaziature (scala 4px) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section-y: clamp(64px, 5vw + 40px, 128px);

  /* Forme ed elevazioni (ombre tinte di indaco, mai grigie) */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --radius-arch: 999px 999px 20px 20px;
  --shadow-sm: 0 1px 2px rgb(20 40 80 / 0.06), 0 2px 8px rgb(20 40 80 / 0.05);
  --shadow: 0 2px 6px rgb(20 40 80 / 0.06), 0 22px 44px -22px rgb(20 40 80 / 0.32);
  --shadow-lg: 0 30px 60px -30px rgb(13 27 56 / 0.55);

  /* Movimento */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.25s;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  color-scheme: light;
}

/* ---------- Reset essenziale ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  --quickbar-h: 84px;
  margin: 0;
  background: var(--c-silk);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--quickbar-h);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:where(ul[class], ol[class], .footer ul) { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd, address { margin: 0; }
address { font-style: normal; }
table { border-collapse: collapse; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--c-rose); }
p { text-wrap: pretty; }

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

/* Focus visibile e coerente (WCAG 2.4.7): navy su chiaro, cipria su scuro */
:focus-visible {
  outline: 3px solid var(--c-navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.topbar :focus-visible,
.header :focus-visible,
.section--navy :focus-visible,
.social :focus-visible,
.footer :focus-visible,
.quickbar :focus-visible { outline-color: var(--c-blush); }

/* ---------- Utility ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--md { width: 22px; height: 22px; }
.icon--lg { width: 30px; height: 30px; }
.icon--xl { width: 40px; height: 40px; }

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--c-blush);
  color: var(--c-navy);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }
main:focus { outline: none; }

/* Svolazzo calligrafico dell'insegna, motivo decorativo in azzurro polvere */
.swoosh { position: absolute; pointer-events: none; color: var(--c-powder); }

/* ---------- Bottoni ------------------------------------------------------------ */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.75em 1.5em;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
/* Primario: navy */
.btn--primary { --btn-bg: var(--c-navy); --btn-fg: var(--c-white); box-shadow: 0 12px 26px -14px rgb(20 40 80 / 0.75); }
.btn--primary:hover { --btn-bg: var(--c-navy-deep); }
/* Cipria: CTA sui fondi navy (header, sezioni scure) */
.btn--blush { --btn-bg: var(--c-blush); --btn-fg: var(--c-navy); box-shadow: 0 10px 24px -14px rgb(235 195 200 / 0.9); }
.btn--blush:hover { --btn-bg: var(--c-white); }
/* Azzurro polvere: azione secondaria */
.btn--powder { --btn-bg: var(--c-powder); --btn-fg: var(--c-navy); }
.btn--powder:hover { --btn-bg: #9DB9D6; }
.btn--ghost { --btn-border: var(--c-ink); --btn-fg: var(--c-ink); }
.btn--ghost:hover { --btn-bg: var(--c-ink); --btn-fg: var(--c-white); }
.btn--sm { min-height: 44px; padding: 0.55em 1.15em; font-size: var(--fs-xs); }
.btn--lg { min-height: 54px; padding: 0.9em 1.8em; font-size: 1rem; }

/* ---------- Indicatore Aperto / Chiuso ---------------------------------------------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: var(--fs-xs);
  font-weight: 500;
}
.status__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex: none;
}
.status[data-state="open"] .status__dot { background: var(--c-open); opacity: 1; animation: pulse 2.4s infinite; }
.status[data-state="soon"] .status__dot { background: var(--c-soon); opacity: 1; }
.status[data-state="closed"] .status__dot { background: var(--c-rose); opacity: 1; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(30 122 82 / 0.45); }
  70% { box-shadow: 0 0 0 7px rgb(30 122 82 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(30 122 82 / 0); }
}
/* Varianti su fondo scuro */
.topbar .status[data-state="open"] .status__dot,
.header .status[data-state="open"] .status__dot { background: var(--c-open-light); }
.topbar .status[data-state="closed"] .status__dot,
.header .status[data-state="closed"] .status__dot { background: var(--c-blush); }

/* ---------- Top bar ------------------------------------------------------------------- */
.topbar {
  background: var(--c-navy-deep);
  color: var(--c-white);
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 38px;
}
.topbar__links { display: none; gap: var(--s-5); }
.topbar__links a {
  display: inline-flex; align-items: center; gap: 0.45em;
  min-height: 38px;
  text-decoration: none;
  color: rgb(255 255 255 / 0.88);
}
.topbar__links a:hover { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
.topbar__links .icon { width: 14px; height: 14px; color: var(--c-powder); }

/* ---------- Header sticky navy (glassmorphism) ------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(20 40 80 / 0.97);
  color: var(--c-white);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  transition: box-shadow var(--dur) var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header {
    background: rgb(20 40 80 / 0.9);
    -webkit-backdrop-filter: saturate(150%) blur(16px);
    backdrop-filter: saturate(150%) blur(16px);
  }
}
.header.is-scrolled { box-shadow: 0 12px 32px -16px rgb(13 27 56 / 0.6); }
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: var(--header-h);
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.brand__logo { height: 44px; width: auto; }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
}
.brand__name em { font-weight: 500; color: var(--c-blush); }
.brand__tag {
  margin-top: 3px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

.status--chip {
  padding: 0.35em 0.8em;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.08);
  color: var(--c-white);
  white-space: nowrap;
}

/* Navigazione */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.85em;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.06);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
}
.nav__icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__icon-close { display: block; }

.nav__menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  display: none;
  flex-direction: column;
  padding: var(--s-3) var(--gutter) var(--s-5);
  background: var(--c-navy-deep);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 24px 40px -24px rgb(13 27 56 / 0.7);
}
.nav__menu.is-open { display: flex; }
.nav__menu a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-white);
}
.nav__menu li:last-child a { border-bottom: 0; }
.nav__menu a:hover { color: var(--c-blush); }

.header__cta { display: none; }

/* ---------- Sezioni ---------------------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; }
.section--surface { background: var(--c-powder-soft); }
.section--navy {
  background:
    radial-gradient(1100px 520px at 88% -10%, rgb(235 195 200 / 0.18), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgb(175 200 225 / 0.14), transparent 60%),
    var(--c-navy);
  color: var(--c-white);
  overflow: hidden;
}
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head h2 { margin-top: var(--s-3); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split { max-width: none; display: grid; gap: var(--s-4); align-items: end; }
.section__intro { margin-top: var(--s-4); color: var(--c-muted); font-size: var(--fs-lg); line-height: 1.6; max-width: 62ch; }
.section__head--center .section__intro { margin-inline: auto; }
.section__head--split .section__intro { margin-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-rose);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--c-blush); }

/* ---------- Hero ----------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 96px) clamp(56px, 7vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 100% 0%, rgb(235 195 200 / 0.55), transparent 62%),
    radial-gradient(760px 460px at -10% 100%, rgb(175 200 225 / 0.45), transparent 70%),
    var(--c-silk);
}
.hero .swoosh { top: -70px; left: -90px; width: clamp(180px, 24vw, 330px); opacity: 1; }
.hero__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.5em 1.1em 0.5em 0.9em;
  border: 1px solid var(--c-grey);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.75);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}
.badge__line { width: 18px; height: 1.5px; background: var(--c-rose); }
.hero__title {
  margin-top: var(--s-5);
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero__kicker {
  display: block;
  margin-bottom: var(--s-4);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-navy);
}
.hero__lead {
  margin-top: var(--s-5);
  max-width: 58ch;
  font-size: var(--fs-lg);
  color: var(--c-muted);
}
.hero__lead strong { color: var(--c-ink); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-grey);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.hero__proof li { display: flex; align-items: center; gap: 0.4em; }
.hero__proof strong { color: var(--c-ink); }
.rating { display: inline-flex; align-items: center; gap: 0.6em; text-decoration: none; min-height: 44px; }
.rating:hover span:last-of-type { text-decoration: underline; text-underline-offset: 3px; }
.rating__stars { display: inline-flex; gap: 1px; color: var(--c-rose); }
.rating__stars .icon { width: 16px; height: 16px; }

.hero__media { position: relative; max-width: 340px; justify-self: center; width: 100%; }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-arch);
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
}
.arch::after {
  /* filetto interno: richiamo alla cornice dello specchio del camerino */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 999px 999px 14px 14px;
  pointer-events: none;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__card {
  position: absolute;
  left: -8px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.94);
  box-shadow: var(--shadow);
  font-size: var(--fs-sm);
  max-width: calc(100% - 16px);
}
.hero__card > .icon { color: var(--c-rose); }
.hero__card strong { display: block; font-weight: 600; }
.status--inline { color: var(--c-muted); }

/* ---------- Bento brand & collezioni ---------------------------------------------------- */
.bento { display: grid; gap: var(--s-4); }
.bento__item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-grey);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.bento__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-surface);
}
.bento__media > * { transition: transform 0.8s var(--ease); }
.bento__item:hover .bento__media > * { transform: scale(1.04); }
.bento__media img { width: 100%; height: 100%; object-fit: cover; }
.bento__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1; }
.bento__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-rose);
}
.bento__body p:not(.bento__eyebrow) { color: var(--c-muted); font-size: var(--fs-sm); }
.bento__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: auto;
  padding-top: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--c-navy);
  min-height: 44px;
}
.bento__link::after { content: ""; position: absolute; inset: 0; } /* tutta la card è cliccabile */
.bento__link .icon { transition: transform var(--dur) var(--ease); }
.bento__item:hover .bento__link .icon { transform: translateX(4px); }
.bento__item:focus-within { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.bento__item:focus-within .bento__link:focus-visible { outline: none; }
.bento__more {
  margin-top: var(--s-6);
  text-align: center;
  color: var(--c-muted);
}
.bento__more strong { color: var(--c-ink); font-weight: 600; }
.bento__more a { color: var(--c-navy); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Vetrina: filtri e card prodotto ------------------------------------------------ */
.filters { display: grid; gap: var(--s-4); align-items: center; }
.filters__chips {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  padding: 4px 4px 8px;
  margin-inline: -4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.chip {
  flex: none;
  scroll-snap-align: start;
  min-height: 44px;
  padding: 0.5em 1.1em;
  border: 1px solid var(--c-grey-strong);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--c-navy); color: var(--c-navy); }
.chip[aria-pressed="true"] { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }

.filters__brand { display: flex; align-items: center; gap: var(--s-3); }
.filters__brand label { font-size: var(--fs-sm); font-weight: 600; }
.filters__brand select {
  min-height: 44px;
  min-width: 200px;
  padding: 0 2.5em 0 1em;
  border: 1px solid var(--c-grey-strong);
  border-radius: var(--radius-pill);
  background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23142850' stroke-width='1.8' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9em center / 16px;
  -webkit-appearance: none;
  appearance: none;
  font-size: var(--fs-sm);
  cursor: pointer;
}
.filters__count { margin: var(--s-4) 0 var(--s-5); font-size: var(--fs-sm); color: var(--c-muted); }

.products { display: grid; gap: var(--s-4); }
.product {
  display: grid;
  grid-template-columns: minmax(110px, 38%) 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-grey);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product__media { position: relative; min-height: 190px; overflow: hidden; background: var(--c-surface); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); }
.product__brand {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-rose);
}
.product__name { font-size: 1.5rem; line-height: 1.1; }
.product__desc { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.55; }
.product__cat { font-size: var(--fs-xs); color: var(--c-muted); }
.product__price { font-size: var(--fs-base); font-weight: 600; color: var(--c-navy); font-variant-numeric: tabular-nums; }

/* Pagina 404 */
.not-found h1 { margin-top: var(--s-3); font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); line-height: 1.05; }
.not-found__contact { margin-top: var(--s-6); color: var(--c-muted); }
.not-found__contact a { color: var(--c-rose); text-underline-offset: 3px; }
.product .btn { margin-top: auto; align-self: stretch; font-size: var(--fs-xs); padding-inline: 1em; }
.products__empty {
  padding: var(--s-7) var(--s-5);
  border: 1px dashed var(--c-grey-strong);
  border-radius: var(--radius-lg);
  background: var(--c-silk);
  text-align: center;
  color: var(--c-muted);
}
.products__empty-title { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--c-ink); margin-bottom: var(--s-2); }
.products__empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-5); }
.products__note, .products__noscript { margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }

/* ---------- Come funziona ------------------------------------------------------------------ */
.steps { display: grid; gap: var(--s-4); }
.step {
  position: relative;
  padding: var(--s-6) var(--s-5) var(--s-5);
  border-radius: var(--radius-lg);
  background: var(--c-blush-soft);
  border: 1px solid rgb(235 195 200 / 0.9);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  background: var(--c-white);
  border: 1.5px solid var(--c-blush);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 600;
  color: var(--c-navy);
}
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--c-muted); }
.steps__cta { margin-top: var(--s-7); display: flex; justify-content: center; }

/* ---------- Storia (fondo navy) ------------------------------------------------------------ */
.story { position: relative; display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.story__media { max-width: 440px; width: 100%; justify-self: center; }
.arch--light { box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.6); }
.story__copy h2 { margin-top: var(--s-3); }
.story__lead { margin-top: var(--s-5); font-size: var(--fs-lg); }
.story__copy > p:not(.eyebrow):not(.story__lead) { margin-top: var(--s-4); color: rgb(255 255 255 / 0.86); }
.values { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.values li { display: flex; gap: var(--s-4); align-items: flex-start; }
.values .icon { color: var(--c-powder); margin-top: 2px; }
.values h3 { font-size: 1.45rem; }
.values p { margin-top: var(--s-1); font-size: var(--fs-sm); color: rgb(255 255 255 / 0.84); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgb(255 255 255 / 0.2);
}
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.82); }
.stats dd { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1.1; color: var(--c-blush); }

.gallery-wrap { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.gallery__title { margin-bottom: var(--s-5); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.gallery__item { margin: 0; }
.gallery__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--c-navy-deep); }
.gallery__media img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { margin-top: var(--s-2); font-size: var(--fs-xs); color: rgb(255 255 255 / 0.84); }

/* ---------- Social ----------------------------------------------------------------------- */
.social { display: grid; gap: var(--s-4); }
.social__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  text-decoration: none;
  overflow: hidden;
  color: var(--c-white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.social__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.social__card--tiktok { background: var(--c-navy-deep); }
.social__card--facebook { background: var(--c-powder); color: var(--c-navy); }
.social__card::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(235 195 200 / 0.3), transparent 70%);
}
.social__card--facebook::after { background: radial-gradient(circle, rgb(255 255 255 / 0.55), transparent 70%); }
.social__icon { width: 40px; height: 40px; color: var(--c-blush); margin-bottom: var(--s-3); }
.social__card--facebook .social__icon,
.social__card--facebook .social__platform { color: var(--c-navy); }
.social__card--facebook .social__desc { color: rgb(20 40 80 / 0.88); }
.social__platform { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-blush); }
.social__handle { font-family: var(--font-display); font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem); line-height: 1.1; }
.social__desc { color: rgb(255 255 255 / 0.86); max-width: 40ch; }
.social__cta { display: inline-flex; align-items: center; gap: 0.5em; margin-top: var(--s-4); font-weight: 600; font-size: var(--fs-sm); }
.social__cta .icon { transition: transform var(--dur) var(--ease); }
.social__card:hover .social__cta .icon { transform: translateX(4px); }

/* ---------- FAQ -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--s-3); }
.faq details {
  border-radius: var(--radius);
  background: var(--c-white);
  border: 1px solid var(--c-grey);
  transition: box-shadow var(--dur) var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 60px;
  padding: var(--s-4) var(--s-5);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--c-rose); transition: transform var(--dur) var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 var(--s-5) var(--s-5); color: var(--c-muted); }

/* ---------- Contatti, orari e mappa ------------------------------------------------------- */
.contact { display: grid; gap: var(--s-4); }
.contact__card {
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-grey);
}
.contact__address { margin-top: var(--s-3); font-size: var(--fs-lg); line-height: 1.5; }
.status--block {
  margin-top: var(--s-4);
  padding: 0.6em 1em;
  border-radius: var(--radius-pill);
  background: var(--c-white);
  border: 1px solid var(--c-grey);
  font-size: var(--fs-sm);
}
.contact__actions { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.contact__actions .btn { justify-content: flex-start; padding-inline: 1.25em; }

.hours { width: 100%; font-size: var(--fs-sm); }
.hours caption {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: var(--s-4);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  text-align: left;
}
.hours caption .icon { color: var(--c-rose); }
.hours th, .hours td { padding: 0.8em 0.25em; border-bottom: 1px solid var(--c-grey); text-align: left; vertical-align: top; }
.hours th { font-weight: 600; white-space: nowrap; padding-right: var(--s-4); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours__sep { color: var(--c-muted); margin-inline: 0.25em; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--c-navy); }
.hours tr.is-today th::after {
  content: "Oggi";
  display: inline-block;
  margin-left: 0.6em;
  padding: 0.1em 0.6em;
  border-radius: var(--radius-pill);
  background: var(--c-rose);
  color: var(--c-white);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.hours__note { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--c-muted); }

.map {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgb(20 40 80 / 0.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgb(20 40 80 / 0.06) 0 1px, transparent 1px 44px),
    radial-gradient(600px 300px at 50% 50%, var(--c-blush-soft), var(--c-surface));
  border: 1px solid var(--c-grey);
}
.map__facade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-5);
  text-align: center;
}
.map__facade > .icon { color: var(--c-rose); }
.map__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.15; }
.map__text { font-size: var(--fs-sm); color: var(--c-muted); max-width: 44ch; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer (navy profondo + logo bianco) ----------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--c-navy-deep);
  color: rgb(255 255 255 / 0.86);
  padding-top: clamp(56px, 7vw, 96px);
  font-size: var(--fs-sm);
}
.footer .swoosh { right: -90px; top: -30px; width: clamp(200px, 28vw, 380px); opacity: 0.35; transform: scaleX(-1); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--c-blush); text-decoration: underline; text-underline-offset: 3px; }
.footer__grid { position: relative; display: grid; gap: var(--s-6); padding-bottom: var(--s-7); }
.brand--footer { color: var(--c-white); margin-bottom: var(--s-4); }
.brand--footer .brand__logo { height: 64px; }
.footer__brand p { max-width: 38ch; }
.footer__title {
  margin-bottom: var(--s-4);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-blush);
}
.footer__col ul { display: grid; gap: 0; }
.footer__col li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer__col address { margin-bottom: var(--s-3); }
.footer__col .footer__social { display: flex; gap: var(--s-2); margin-top: var(--s-3); }
.footer__col .footer__social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.3);
}
.footer__social a:hover { border-color: var(--c-blush); }
.footer__legal {
  position: relative;
  padding-block: var(--s-5);
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: var(--fs-xs);
  color: rgb(255 255 255 / 0.78);
}
.footer__legal p { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer__sep { opacity: 0.5; }

/* ---------- Barra azioni rapide (mobile) ------------------------------------------------- */
.quickbar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgb(13 27 56 / 0.94);
  box-shadow: 0 16px 40px -12px rgb(13 27 56 / 0.6);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .quickbar { background: rgb(13 27 56 / 0.84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.quickbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  min-height: 48px;
  border-radius: var(--radius-pill);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
}
.quickbar .icon { width: 18px; height: 18px; }
.quickbar__wa { background: var(--c-blush); color: var(--c-navy) !important; }

/* ---------- Segnaposto foto ("photo-ready") ----------------------------------------------- */
.ph {
  --ph-a: #142850; --ph-b: #2E4775; --ph-ink: #EBC3C8;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ph-ink);
  background:
    radial-gradient(120% 80% at 80% 0%, rgb(255 255 255 / 0.2), transparent 55%),
    repeating-linear-gradient(135deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 10px),
    linear-gradient(160deg, var(--ph-a), var(--ph-b));
}
.ph--navy   { --ph-a: #142850; --ph-b: #2E4775; --ph-ink: #EBC3C8; }  /* navy */
.ph--notte  { --ph-a: #0D1B38; --ph-b: #2A3D66; --ph-ink: #EBC3C8; }  /* notte */
.ph--mare   { --ph-a: #E3ECF5; --ph-b: #AFC8E1; --ph-ink: #142850; }  /* azzurro polvere */
.ph--blush  { --ph-a: #F7E8E7; --ph-b: #EBC3C8; --ph-ink: #8E4351; }  /* cipria */
.ph--sabbia { --ph-a: #FFFFFF; --ph-b: #EDE6E8; --ph-ink: #4B5A73; }  /* seta */
.ph--pietra { --ph-a: #E6E6E6; --ph-b: #C4C6CB; --ph-ink: #142850; }  /* grigio tenue */
.ph--peach  { --ph-a: #EBC3C8; --ph-b: #C9959E; --ph-ink: #142850; }  /* cipria intenso */
.ph--hero   { --ph-a: #2A4372; --ph-b: #0D1B38; --ph-ink: #EBC3C8; }  /* navy con marchio */
.ph__mark {
  position: absolute;
  bottom: 8%;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 6cqi, 3.4rem);
  letter-spacing: -0.01em;
  opacity: 0.92;
  padding-inline: 8%;
  line-height: 1;
}
.ph__icon {
  display: grid;
  place-items: center;
  width: clamp(64px, 30%, 128px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.85;
}
.ph__icon svg { width: 46%; height: 46%; }
.ph__icon--brand { width: clamp(110px, 52%, 220px); border: 0; opacity: 1; }
.ph__icon--brand img { width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgb(0 0 0 / 0.25)); }
.bento__media, .product__media, .arch, .gallery__media { container-type: inline-size; }
.arch .ph__mark { bottom: auto; top: 63%; }
.arch .ph__icon { margin-bottom: 22%; }

/* ---------- Animazioni d'ingresso (solo se JS attivo e movimento consentito) --------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Pagine legali (privacy, cookie) ------------------------------------------------ */
body.legal-page { --quickbar-h: 0px; }
.header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  margin-left: auto;
  color: rgb(255 255 255 / 0.9);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
}
.header__back:hover { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
.legal { padding-block: clamp(32px, 5vw, 72px) var(--section-y); }
.breadcrumb { margin-bottom: var(--s-5); font-size: var(--fs-xs); color: var(--c-muted); }
.breadcrumb a { color: var(--c-navy); text-underline-offset: 3px; }
.legal__head h1 { margin-top: var(--s-3); font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); line-height: 1.05; }
.legal__head .eyebrow { line-height: 1.5; }
.legal__updated { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-muted); }
.legal__summary {
  margin-top: var(--s-6);
  padding: var(--s-5);
  border-left: 3px solid var(--c-blush);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--c-blush-soft);
}
.legal__toc {
  margin-top: var(--s-5);
  padding: var(--s-5);
  border-radius: var(--radius);
  background: var(--c-powder-soft);
}
.legal__toc-title { margin-bottom: var(--s-2); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-navy); }
.legal__toc ol { margin: 0; padding-left: 1.3em; columns: 2 240px; column-gap: var(--s-6); }
.legal__toc li { padding-block: 2px; }
.legal__toc a { display: inline-block; min-height: 32px; padding-block: 4px; color: var(--c-navy); font-size: var(--fs-sm); text-underline-offset: 3px; }
.legal__body { margin-top: var(--s-6); }
.legal__body > p, .legal__body section > p { margin-top: var(--s-3); }
.legal__body section { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal__body h2 { margin-top: var(--s-7); font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.2rem); }
.legal__body h3 { margin-top: var(--s-5); font-size: 1.35rem; }
.legal__body ul { margin: var(--s-3) 0 0; padding-left: 1.3em; }
.legal__body li + li { margin-top: 6px; }
.legal__body a { color: var(--c-rose); text-underline-offset: 3px; }
.legal__body a:hover { color: var(--c-rose-deep); }
.legal-card {
  display: grid;
  gap: 4px;
  margin-top: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--c-grey);
  border-radius: var(--radius);
  background: var(--c-card);
}
.table-wrap { margin-top: var(--s-4); overflow-x: auto; border: 1px solid var(--c-grey); border-radius: var(--radius); background: var(--c-card); }
.legal-table { width: 100%; min-width: 520px; font-size: var(--fs-sm); }
.legal-table th, .legal-table td { padding: 0.85em 1em; border-bottom: 1px solid var(--c-grey); text-align: left; vertical-align: top; }
.legal-table thead th { background: var(--c-powder-soft); font-weight: 600; }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table__note { font-size: var(--fs-xs); color: var(--c-muted); }
@media (max-width: 639px) {
  /* Su telefono le tabelle diventano schede impilate: niente scorrimento orizzontale */
  .table-wrap { overflow: visible; }
  .legal-table { min-width: 0; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table tr { display: block; padding: 0.9em 1em; border-bottom: 1px solid var(--c-grey); }
  .legal-table tbody tr:last-child { border-bottom: 0; }
  .legal-table td { display: block; padding: 0.15em 0; border: 0; }
  .legal-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-top: 0.6em;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
  }
}
.footer--compact { padding-top: 0; }
.footer--compact .footer__legal { border-top: 0; }
.map__text a { color: var(--c-rose); text-underline-offset: 3px; }

@media (min-width: 900px) {
  .legal-page .header__back { margin-left: auto; }
  .legal-page .header__cta { margin-left: var(--s-4); }
}

/* ==========================================================================
   BREAKPOINT
   ========================================================================== */
@media (min-width: 480px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; }
  .product__media { aspect-ratio: 4 / 5; min-height: 0; }
  .product__name { font-size: 1.6rem; }
}

@media (min-width: 640px) {
  .topbar__links { display: flex; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--ragno { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .social { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .filters { grid-template-columns: 1fr auto; }
  .filters__chips { flex-wrap: wrap; overflow: visible; }
  .contact { grid-template-columns: repeat(2, 1fr); }
  .map { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  :root { --header-h: 78px; }
  body { --quickbar-h: 0px; }
  .quickbar { display: none; }
  .nav__toggle { display: none; }
  .brand__logo { height: 56px; }
  .nav__menu {
    position: static;
    display: flex;
    flex-direction: row;
    gap: clamp(12px, 2vw, 28px);
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav__menu a {
    position: relative;
    min-height: 44px;
    border: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: rgb(255 255 255 / 0.88);
  }
  .nav__menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-blush);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .nav__menu a:hover, .nav__menu a[aria-current="true"] { color: var(--c-white); }
  .nav__menu a:hover::after, .nav__menu a[aria-current="true"]::after { transform: scaleX(1); }
  .brand { margin-right: 0; }
  .status--chip { order: 3; }
  .nav { margin-inline: auto; }
  .header__cta { display: inline-flex; order: 4; }

  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero__media { max-width: 480px; }
  .hero__card { left: -36px; }
  .section__head--split { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-7); }

  .products { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }

  .bento {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--s-5);
  }
  .bento__item--ragno       { grid-column: 1 / 8;  grid-row: 1 / 3; }
  .bento__item--linclalor   { grid-column: 8 / 13; grid-row: 1; flex-direction: row; }
  .bento__item--iconique    { grid-column: 8 / 13; grid-row: 2; flex-direction: row; }
  .bento__item--corsetteria { grid-column: 1 / 7;  grid-row: 3; flex-direction: row; }
  .bento__item--sisi        { grid-column: 7 / 13; grid-row: 3; flex-direction: row; }
  .bento__item--ragno .bento__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
  .bento__item--ragno h3 { font-size: clamp(1.9rem, 1.2rem + 1.4vw, 2.5rem); }
  .bento__item--linclalor .bento__media,
  .bento__item--iconique .bento__media,
  .bento__item--corsetteria .bento__media,
  .bento__item--sisi .bento__media { aspect-ratio: auto; width: 42%; flex: none; min-height: 240px; }

  .story { grid-template-columns: 0.85fr 1.15fr; }
}

@media (min-width: 1100px) {
  .products { grid-template-columns: repeat(4, 1fr); }
  .map { min-height: 380px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}

@media (min-width: 640px) and (max-width: 1099px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 479px) {
  .hero__ctas .btn { width: 100%; }
}

@media (max-width: 399px) {
  .status--chip { display: none; }
  .brand__logo { height: 40px; }
}

/* ---------- Preferenze utente ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .btn, .chip, .status--chip, .nav__toggle { border: 1px solid CanvasText; }
  .status__dot { forced-color-adjust: none; }
}

@media print {
  .topbar, .quickbar, .map, .filters, .skip-link, .swoosh { display: none !important; }
  .header { position: static; background: #fff; color: #000; }
  body { background: #fff; padding: 0; }
  .section--navy, .footer { background: #fff; color: #000; }
}
