/* TideRelief — foglio di stile */

:root {
  --bg: #FFFFFF;
  --surface: #F3F4F7;
  --sand: #EFE9DF;
  --ink: #0C0F14;
  --ink-2: #3D4450;
  --muted: #727986;
  --line: #E1E3E9;
  --blue: #1F3BB3;
  --blue-deep: #13256F;
  --blue-soft: #E6EAFB;
  --blue-light: #9FB0F5;
  --coral: #E4572E;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(80px, 11vw, 152px);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open, body.pop-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }

h1, h2, h3, h4, h5 { font-family: var(--font); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; margin: 0; font-stretch: 88%; }
h1 { font-size: clamp(44px, 7.2vw, 108px); letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
h4 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 650; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--blue); }
i { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Etichette */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-2); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.eyebrow .num { order: -1; display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 8px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.eyebrow:has(.num)::before { display: none; }
.eyebrow.on-dark { color: var(--blue-light); }
.eyebrow.on-dark::before { background: var(--blue-light); }

.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 10px 0 28px;
  font: 600 16px/1 var(--font);
  border: 0; border-radius: 99px;
  background: var(--blue); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn::after {
  content: "→"; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.18); font-weight: 400;
  transition: transform .25s;
}
.btn:hover { background: var(--blue-deep); color: #fff; }
.btn:hover::after { transform: translateX(3px); }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-ghost::after { background: var(--ink); color: #fff; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost:hover::after { background: rgba(255,255,255,.18); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light::after { background: var(--blue); color: #fff; }
.btn-light:hover { background: var(--blue-soft); color: var(--ink); }

/* Striscia pubblicitaria */
.ad-note {
  margin: 0; padding: 9px var(--gutter);
  background: var(--surface); color: var(--ink-2);
  font-size: 12px; text-align: center;
}
.ad-note strong { display: inline-block; background: var(--ink); color: #fff; font-weight: 600; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-right: 10px; }

/* Testata */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-size: 23px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-stretch: 88%; }
.brand-name i { font-style: normal; font-weight: 400; color: var(--blue); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { white-space: nowrap; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); padding: 10px 14px; border-radius: 99px; transition: background .2s, color .2s; }
.site-nav a:hover { background: var(--surface); color: var(--ink); }
.site-nav .nav-cta { margin-left: 10px; background: var(--ink); color: #fff; padding: 12px 22px; }
.site-nav .nav-cta:hover { background: var(--blue); color: #fff; }

.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--surface); padding: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: 76px; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px var(--gutter) 40px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-stretch: 88%; }
  .site-nav a:hover { background: transparent; color: var(--blue); }
  .site-nav .nav-cta { margin: 28px 0 0; text-align: center; font-size: 17px; font-weight: 600; letter-spacing: 0; padding: 20px; border-radius: 99px; border: 0; background: var(--blue); }
}

/* Hero */
.hero { padding: clamp(16px, 2vw, 24px) 0 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px);
  align-items: stretch; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 88px);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { margin-bottom: 32px; }
.hero h1 em { display: inline; background: linear-gradient(transparent 62%, var(--blue-soft) 62%); color: var(--blue); }
.hero .lead { max-width: 30em; }
.hero-copy > p:not(.lead):not(.eyebrow):not(.fine) { max-width: 36em; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; background: var(--surface); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 36% center; }
.hero-photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14px; color: var(--ink-2); line-height: 1.35;
}
.hero-photo figcaption span:last-child { text-align: right; white-space: nowrap; }
.hero-photo figcaption b { display: block; font-size: 38px; font-weight: 700; color: var(--blue); letter-spacing: -0.04em; line-height: 1; }

/* Indice */
.index-strip { padding-bottom: clamp(40px, 5vw, 64px); }
.index-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.index-row a {
  display: grid; grid-template-columns: 1fr auto; row-gap: 6px;
  padding: 24px; text-decoration: none; border-radius: 16px;
  background: var(--surface); transition: background .2s, color .2s;
}
.index-row a:hover { background: var(--ink); color: #fff; }
.index-row a:hover span:last-child { color: #B7BDC8; }
.index-row .n { grid-column: 2; grid-row: 1; font-size: 12px; font-weight: 600; color: var(--blue); }
.index-row a:hover .n { color: var(--blue-light); }
.index-row strong { grid-column: 1; grid-row: 1; font-size: 30px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-stretch: 88%; }
.index-row span:last-child { grid-column: 1 / -1; font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Sezioni */
.section { padding: var(--space) 0; }
.section-tint { background: var(--surface); }
.section-white { background: #fff; }
.section-white + .section-white, .section:not(.section-tint):not(.section-white) + .section-white { border-top: 1px solid var(--line); }

.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head p:last-child { margin-bottom: 0; color: var(--ink-2); font-size: 18px; }

.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }

.prose h2 { margin-bottom: 28px; }
.prose p { color: var(--ink-2); }
.prose .eyebrow + h2 + p { font-size: 20px; line-height: 1.5; color: var(--ink); }

.notice { margin: 36px 0 0; padding: 22px 24px; border-radius: 16px; background: #FDEEE9; }
.notice strong { display: block; font-size: 14px; font-weight: 700; color: var(--coral); margin-bottom: 6px; }
.notice p { margin: 0; font-size: 16px; color: var(--ink); }

/* Schema anatomico */
.diagram { margin: 0; padding: clamp(24px, 3vw, 44px); background: var(--surface); border-radius: var(--radius); position: sticky; top: 108px; }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Guida a tempo */
.pacer-band { background: var(--blue); color: #fff; padding: var(--space) 0; position: relative; overflow: hidden; }
.pacer-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.pacer-copy h2 { color: #fff; margin-bottom: 28px; }
.pacer-copy h2 em { color: var(--blue-light); }
.pacer-copy p { color: #D6DDFB; max-width: 34em; }
.pacer-copy .btn { margin-top: 20px; }
.pacer-stage { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; display: grid; place-items: center; }
.pacer-stage::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,.07); }
.pacer-stage::after { content: ""; position: absolute; inset: 22%; border: 2px dashed rgba(255,255,255,.25); border-radius: 50%; }
.pacer-ring { position: absolute; inset: 6%; border-radius: 50%; background: #fff; transition-property: transform; transition-timing-function: cubic-bezier(.45, 0, .55, 1); transform: scale(1); }
.pacer-readout { position: relative; z-index: 1; text-align: center; display: grid; gap: 6px; }
.pacer-phase { font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1; font-stretch: 88%; }
.pacer-seconds { font-size: 14px; color: var(--ink-2); }
.pacer-count { position: absolute; bottom: -40px; left: 0; right: 0; text-align: center; margin: 0; font-size: 13px; font-weight: 600; color: #D6DDFB; }

/* Routine */
.phase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.phase-side { position: sticky; top: 108px; align-self: start; }
.phase-label { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; font-size: 13px; font-weight: 600; }
.phase-label b { background: var(--blue); color: #fff; padding: 5px 12px; border-radius: 99px; font-weight: 600; }
.phase-label span { background: var(--surface); color: var(--ink-2); padding: 5px 12px; border-radius: 99px; }
.phase-side h3 { margin-bottom: 24px; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.04em; }
.phase-side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.phase-side img.crop-right { object-position: 70% center; }

.moves { list-style: none; margin: 0; padding: 0; counter-reset: move var(--start, 0); display: grid; gap: 12px; }
.moves li { counter-increment: move; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; row-gap: 14px; padding: 26px; border-radius: 16px; background: var(--surface); }
.moves li::before {
  content: counter(move, decimal-leading-zero);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--blue); font-size: 14px; font-weight: 700;
  grid-row: span 2;
}
.moves .move-body { grid-column: 2; }
.moves h4 { margin-bottom: 8px; }
.moves p { margin: 0; color: var(--ink-2); font-size: 16px; }
.moves .dose { grid-column: 2; justify-self: start; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.tip { margin: 16px 0 0; font-size: 15px; color: var(--ink-2); padding: 18px 22px; border-radius: 16px; border: 1px dashed var(--blue-light); }

.offmat { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 16px; align-items: stretch; margin-top: clamp(32px, 4vw, 56px); }
.offmat img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: var(--radius); }
.offmat-copy { padding: clamp(28px, 3vw, 44px); background: var(--ink); color: #fff; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; }
.offmat-copy .eyebrow { color: var(--blue-light); }
.offmat-copy .eyebrow::before { background: var(--blue-light); }
.offmat-copy h3 { margin-bottom: 14px; }
.offmat-copy p { color: #C4C9D2; margin: 0; }

/* Settimana */
.week { width: 100%; border-collapse: separate; border-spacing: 0 8px; margin-top: -8px; }
.week th, .week td { text-align: left; padding: 20px 24px; vertical-align: middle; background: var(--surface); }
.week thead th { background: transparent; font-size: 13px; color: var(--muted); font-weight: 600; padding-top: 0; padding-bottom: 4px; }
.week tbody th { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; width: 24%; border-radius: 14px 0 0 14px; font-stretch: 88%; }
.week tbody td:last-child { border-radius: 0 14px 14px 0; color: var(--ink-2); }
.week td { font-size: 16px; }
.week td:nth-child(2) { font-weight: 600; }
.week tr.soft th, .week tr.soft td { background: #fff; color: var(--muted); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.week tr.soft th { box-shadow: inset 1px 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.week tr.soft td:last-child { box-shadow: inset -1px 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.week .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 99px; margin-left: 10px; vertical-align: 1px; }
.week tr.soft .tag { color: var(--muted); background: var(--surface); }

/* Prodotto */
.product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #fff; }
.product-gallery .product-main { grid-column: 1 / -1; border-radius: var(--radius); }
.facts { list-style: none; margin: 32px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts li { padding: 18px; border-radius: 14px; background: #fff; font-size: 14px; color: var(--muted); line-height: 1.35; }
.facts b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px; }
.steps { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 42px; color: var(--ink-2); font-size: 16px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 22px 24px; border-radius: 16px; background: var(--ink); color: #fff; margin-bottom: 20px; }
.price-row .price { margin: 0; font-size: 44px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-stretch: 88%; color: #fff; }
.price-row span { font-size: 14px; color: #B7BDC8; flex: 1 1 220px; }
.prose .btn { margin-top: 12px; }

/* Alimentazione */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-bottom: clamp(72px, 9vw, 128px); }
.mosaic figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 500; color: var(--ink); background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 99px; }
.mm-a { grid-column: 1 / 6; } .mm-a img { aspect-ratio: 3 / 2; }
.mm-b { grid-column: 6 / 9; grid-row: span 2; }
.mm-c { grid-column: 9 / 13; grid-row: span 2; }
.mm-note { grid-column: 1 / 6; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--blue); color: #fff; }
.mm-figure { font-size: clamp(56px, 7vw, 104px); font-weight: 700; line-height: .9; letter-spacing: -0.06em; margin-bottom: 18px; font-stretch: 85%; }
.mm-note p:last-child { color: #D6DDFB; margin: 0; font-size: 16px; }

.block-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); margin-bottom: 40px; align-items: end; }
.block-head h3 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.04em; }
.block-head p { margin: 0; color: var(--ink-2); }

.how { margin-bottom: clamp(72px, 9vw, 128px); }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.how-list li { grid-column: span 2; padding: 28px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; }
.how-list li:nth-child(n+4) { grid-column: span 3; }
.how-icon { width: 44px; height: 44px; color: var(--blue); background: #fff; border-radius: 12px; padding: 8px; margin-bottom: 22px; flex: none; }
.how-list h4 { margin-bottom: 10px; }
.how-list p { margin: 0; font-size: 15px; color: var(--ink-2); }
.sources { font-size: 13px; color: var(--muted); margin-top: 24px; max-width: 70em; }

.ingredients { margin-bottom: clamp(72px, 9vw, 128px); }
.ing-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 16px; }
.ing img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 14px; }
.ing h4 { font-size: 18px; margin-bottom: 4px; }
.ing p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.ing-in { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 99px; }

.recipes-title { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.04em; margin-bottom: 32px; }
.recipe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); padding: clamp(20px, 2.4vw, 32px); border-radius: 28px; background: var(--surface); align-items: start; margin-bottom: 16px; }
.recipe:nth-of-type(even) .recipe-media { order: 2; }
.recipe-media { position: relative; }
.recipe-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.recipe-num { display: inline-block; font-size: 13px; font-weight: 600; color: #fff; background: var(--ink); padding: 5px 12px; border-radius: 99px; margin: 12px 0 18px; }
.recipe h4 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-bottom: 18px; font-stretch: 88%; }
.recipe-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; }
.recipe-tags span { font-size: 12px; font-weight: 600; color: var(--blue); background: #fff; padding: 5px 12px; border-radius: 99px; }
.recipe-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.recipe-cols > div { background: #fff; border-radius: 16px; padding: 22px; }
.recipe-cols h5 { font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--blue); margin: 0 0 12px; }
.recipe ul { list-style: none; margin: 0; padding: 0; }
.recipe ul li { position: relative; padding: 6px 0 6px 18px; font-size: 15px; }
.recipe ul li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.recipe-cols p { font-size: 15px; color: var(--ink-2); }
.recipe-cols p:last-child { margin: 0; }
.recipe-thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; }
.recipe-thumbs img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-right: -10px; }

.tips { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(72px, 9vw, 128px); }
.tips h3 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.04em; }
.tips ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tips li { counter-increment: t; display: grid; grid-template-columns: 56px 1fr; padding: 20px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.tips li:last-child { border-bottom: 1px solid var(--line); }
.tips li::before { content: counter(t, decimal-leading-zero); font-size: 26px; font-weight: 700; letter-spacing: -0.04em; color: var(--blue); line-height: 1.1; }
.tips li strong { color: var(--ink); font-weight: 650; }

.pantry { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 16px; margin-top: clamp(72px, 9vw, 128px); align-items: stretch; }
.pantry-copy { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--sand); }
.pantry-copy h3 { margin-bottom: 12px; font-size: 26px; }
.pantry-copy p { color: var(--ink-2); font-size: 16px; }
.pantry-copy p:last-child { margin: 0; }
.pantry-copy h3 + p { margin-bottom: 28px; }
.pantry img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: var(--radius); }

/* Avviso sanitario */
.health { padding: 0 var(--gutter) var(--space); }
.health .wrap { padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(28px, 3vw, 44px); background: var(--blue-soft); border-radius: var(--radius); }
.health-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.health h2 { font-size: clamp(22px, 2.2vw, 28px); color: var(--blue-deep); }
.health p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Domande */
#domande { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.faq { display: grid; gap: 8px; align-content: start; }
.faq details { border-radius: 16px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 24px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); font-weight: 400; font-size: 22px; line-height: 1; color: var(--ink); transition: transform .25s, background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { margin: 0; padding: 0 24px 24px; color: var(--ink-2); max-width: 44em; }

/* Contatti e modulo */
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 8px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--surface); font-size: 16px; }
.contact-list span { font-size: 13px; color: var(--muted); padding-top: 1px; }
.contact-list a { text-decoration: none; font-weight: 600; }

.contact-form { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.form-title { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; margin: 0 0 28px; font-stretch: 88%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 14px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 500; color: #B7BDC8; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7D8492; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue-light); background: rgba(255,255,255,.1); }
.field [aria-invalid="true"] { border-color: var(--coral); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; color: #B7BDC8; margin: 10px 0 24px; line-height: 1.5; }
.consent a { color: #fff; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue-light); }
.consent input[aria-invalid="true"] { outline: 2px solid var(--coral); outline-offset: 2px; }
.contact-form .btn { width: 100%; }
.form-status { font-size: 14px; color: #B7BDC8; margin: 16px 0 0; }
.form-status.is-error { color: #FF9C80; font-weight: 500; }

/* Popup di conferma */
.thanks-pop { position: fixed; inset: 0; z-index: 200; background: rgba(12, 15, 20, 0.55); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.thanks-pop.is-open { opacity: 1; }
.thanks-pop-box { position: relative; background: #fff; max-width: 460px; width: 100%; padding: 44px 36px 36px; border-radius: 28px; }
.thanks-pop-box h2 { font-size: 34px; margin: 20px 0 12px; }
.thanks-pop-box p { color: var(--ink-2); margin-bottom: 28px; }
.thanks-pop-box .btn { width: 100%; }
.thanks-pop-icon { width: 56px; height: 56px; background: var(--blue-soft); border-radius: 50%; display: grid; place-items: center; }
.thanks-pop-icon svg { width: 26px; height: 26px; }
.thanks-pop-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }

/* Banner cookie */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 540px; background: #fff; color: var(--ink-2); padding: 22px; border-radius: 20px; display: grid; gap: 16px; box-shadow: 0 24px 60px -20px rgba(12,15,20,.35), 0 0 0 1px var(--line); }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.55; }
.cookie-bar a { color: var(--blue); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button { flex: 1 1 140px; min-height: 46px; font: 600 14px/1 var(--font); cursor: pointer; border: 0; border-radius: 99px; background: var(--surface); color: var(--ink); }
.cookie-actions button[data-cookie="all"] { background: var(--blue); color: #fff; }

/* Pagine legali */
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); background: var(--surface); }
.page-hero .back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; margin-bottom: 32px; background: #fff; padding: 8px 16px; border-radius: 99px; }
.page-hero .back-link::before { content: "←"; }
.page-hero h1 { font-size: clamp(44px, 6vw, 88px); margin-bottom: 20px; }
.page-hero p { color: var(--ink-2); max-width: 40em; margin: 0; font-size: 18px; }
.legal { padding: clamp(48px, 6vw, 88px) 0 var(--space); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.legal-aside { position: sticky; top: 108px; align-self: start; font-size: 15px; }
.legal-aside h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 12px; }
.legal-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-aside li a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink-2); }
.legal-aside li a:hover { background: var(--surface); color: var(--ink); }
.legal-aside li a[aria-current="page"] { background: var(--ink); color: #fff; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 48px 0 16px; letter-spacing: -0.035em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul { padding-left: 20px; margin: 0 0 1em; }
.legal-body li { margin-bottom: 6px; }
.entity { margin: 24px 0; padding: 8px 24px; border-radius: var(--radius); background: var(--surface); }
.entity div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.entity div:last-child { border-bottom: 0; }
.entity dt { font-size: 13px; color: var(--muted); }
.entity dd { margin: 0; color: var(--ink); font-weight: 500; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.legal-table th, .legal-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-page h2 { font-size: clamp(28px, 3vw, 40px); }

/* Piè di pagina */
.site-footer { background: var(--ink); color: #9CA3AF; padding: clamp(64px, 8vw, 112px) 0 32px; font-size: 14px; }
.site-footer a { color: #E5E7EB; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; margin-bottom: 24px; }
.site-footer .brand:hover { color: #fff; text-decoration: none; }
.site-footer .brand-name i { color: var(--blue-light); }
.footer-claim { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; color: #fff; max-width: 16em; font-stretch: 90%; }
.site-footer h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; color: #6B7280; margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-entity p { margin: 0 0 4px; line-height: 1.6; }
.footer-entity strong { color: #fff; font-weight: 600; }
.footer-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-notes h3 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #E5E7EB; margin-bottom: 8px; }
.footer-notes p { margin: 0; font-size: 13px; line-height: 1.6; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13px; color: #6B7280; }
.footer-base button { background: none; border: 0; padding: 0; font: inherit; color: #9CA3AF; text-decoration: underline; cursor: pointer; }

/* Responsive */
@media (max-width: 1080px) {
  .ing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .how-list li, .how-list li:nth-child(n+4) { grid-column: span 3; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .split-rev, .pacer-grid, .section-head, .block-head, .phase, .tips, .faq-grid, .health-row, .legal-layout, .contact-page { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .split-rev .product-gallery { order: 2; }
  .phase-side, .legal-aside, .diagram { position: static; }
  .legal-aside ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-aside li a { background: var(--surface); padding: 8px 14px; border-radius: 99px; font-size: 14px; }
  .index-row { grid-template-columns: 1fr 1fr; }
  .recipe { grid-template-columns: 1fr; }
  .recipe:nth-of-type(even) .recipe-media { order: 0; }
  .recipe-media > img { aspect-ratio: 4 / 3; }
  .how-list { grid-template-columns: 1fr; }
  .how-list li, .how-list li:nth-child(n+4) { grid-column: auto; }
  .offmat { grid-template-columns: 1fr 1fr; }
  .offmat-copy { grid-column: 1 / -1; }
  .pantry { grid-template-columns: repeat(3, 1fr); }
  .pantry-copy { grid-column: 1 / -1; }
  .pantry img { min-height: 0; aspect-ratio: 3 / 4; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mm-a, .mm-note { grid-column: 1 / -1; }
  .mm-b, .mm-c { grid-column: auto; grid-row: auto; }
  .mm-b img, .mm-c img { aspect-ratio: 2 / 3; }
  .pacer-stage { max-width: 340px; margin-bottom: 40px; }
  .footer-notes { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-row { height: 64px; }
  .site-nav { top: 64px; }
  .brand-name { font-size: 21px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-actions .btn { width: 100%; }
  .hero-photo figcaption { font-size: 13px; padding: 12px 14px; }
  .hero-photo figcaption b { font-size: 30px; }
  .index-row { gap: 8px; }
  .index-row a { padding: 18px; }
  .index-row strong { font-size: 24px; }
  .moves li { grid-template-columns: 1fr; padding: 22px; }
  .moves li::before { grid-row: auto; width: 38px; height: 38px; }
  .moves .move-body, .moves .dose { grid-column: 1; }
  .week thead { display: none; }
  .week, .week tbody, .week tr, .week th, .week td { display: block; width: 100%; }
  .week { border-spacing: 0; margin: 0; }
  .week tr { padding: 18px 20px; margin-bottom: 8px; border-radius: 14px; background: var(--surface); }
  .week tr.soft { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .week th, .week td, .week tr.soft th, .week tr.soft td, .week tr.soft td:last-child { padding: 2px 0; background: transparent; border-radius: 0 !important; box-shadow: none; }
  .week tbody th { width: auto; font-size: 22px; margin-bottom: 4px; }
  .facts { grid-template-columns: 1fr; }
  .ing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .recipe { border-radius: 22px; padding: 14px; }
  .recipe-cols { grid-template-columns: 1fr; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-list li, .entity div { grid-template-columns: 1fr; gap: 2px; }
  .footer-top { grid-template-columns: 1fr; }
  .offmat img { min-height: 200px; }
  .pantry { grid-template-columns: 1fr 1fr; }
  .pantry img:nth-of-type(3) { display: none; }
  .thanks-pop-box { padding: 40px 24px 28px; }
}
