/* Ca la Cris · web de presentació — mateixa marca que el TPV (tpv/web/src/styles.css) */
:root {
  --rosa: #E0A0C0;
  --rosa-wash: #F0D0E0;
  --rosa-soft: #F8E7EF;
  --rosa-deep: #C77B9E;
  --rosa-ink: #8B4A6B;
  --ink: #1A1A1A;
  --ink-2: #4A4544;
  --ink-3: #776F6C;
  --tan: #A9967A;
  --tan-text: #7F6D52;
  --cream: #FBF7F2;
  --cream-2: #F5EFE6;
  --paper: #FFFFFF;
  --border: #ECE4DC;
  --border-strong: #DCD0C5;
  --success-ink: #4C7140;
  --info-ink: #3D6378;

  --r-2: 10px; --r-3: 14px; --r-4: 20px; --r-5: 28px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(60, 30, 40, 0.06);
  --shadow-md: 0 4px 14px rgba(60, 30, 40, 0.08);
  --shadow-lg: 0 16px 40px rgba(60, 30, 40, 0.14);
  --shadow-pink: 0 8px 24px rgba(199, 123, 158, 0.25);

  --font-display: 'Caveat', 'Bradley Hand', cursive;
  --font-ui: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--rosa-ink); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 14px; }
.muted { color: var(--ink-3); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-2); z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rosa-deep); outline-offset: 3px; border-radius: 6px; }

/* Tipografia de marca */
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.005em; }
.squiggle { position: relative; display: inline-block; white-space: nowrap; }
.squiggle::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -4px; height: 14px; z-index: -1;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 C 50 2, 100 12, 198 4' stroke='%23E0A0C0' stroke-width='3.5' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}
.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tan-text); }
.h2 { font-size: clamp(44px, 6vw, 64px); margin-bottom: 14px; }
.sub { font-size: 19px; color: var(--ink-2); max-width: 560px; }

/* Botons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r-pill); border: 2px solid transparent;
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: var(--shadow-md); }
.btn-rosa { background: var(--rosa); color: var(--ink); box-shadow: var(--shadow-pink); }
.btn-rosa:hover { background: var(--rosa-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--paper); }
/* WhatsApp i Telegram: cada botó amb el seu logo i el color de la seva marca */
.btn-wa, .btn-tg { color: #fff; font-weight: 800; }
.btn-wa svg, .btn-tg svg { width: 22px; height: 22px; fill: #fff; }
.btn-wa { background: #25D366; box-shadow: 0 8px 22px rgba(37, 211, 102, .28); }
.btn-wa:hover { background: #1EBE5A; }
.btn-tg { background: #229ED9; box-shadow: 0 8px 22px rgba(34, 158, 217, .28); }
.btn-tg:hover { background: #1C8BC0; }

/* Capçalera */
.top {
  position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 242, .88);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 116px; transition: height .3s var(--ease); }
.brand { display: block; flex: none; }
.brand img { display: block; height: 100px; width: auto; transition: height .3s var(--ease); }
.top.is-scrolled { box-shadow: var(--shadow-sm); }
.top.is-scrolled .top-in { height: 68px; }
.top.is-scrolled .brand img { height: 54px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: var(--r-pill); color: var(--ink-2); font-weight: 700; text-decoration: none; }
.nav a:hover { background: var(--rosa-soft); color: var(--rosa-ink); }

/* Portada */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); background:
  radial-gradient(60% 70% at 85% 30%, var(--rosa-soft), transparent 70%),
  radial-gradient(40% 50% at 10% 90%, #F3E6D8, transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(54px, 7.5vw, 92px); line-height: .98; margin-bottom: 22px; position: relative; z-index: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 520px; margin-bottom: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--border); font-weight: 700; font-size: 14px; color: var(--ink-2); }

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.ph { margin: 0; position: absolute; overflow: hidden; border-radius: var(--r-5); box-shadow: var(--shadow-lg); border: 6px solid var(--paper); background: var(--paper); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
/* Fotos escampades com damunt la taula: cada foto amb vora blanca, girada i encavalcada; la paella al mig */
.scatter { position: absolute; inset: 0; }
.scatter img {
  position: absolute; width: 25%; aspect-ratio: 3 / 4; object-fit: cover;
  border: 5px solid var(--paper); border-bottom-width: 16px; border-radius: 6px; background: var(--paper);
  box-shadow: 0 6px 18px rgba(60, 30, 40, .18); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.scatter img:hover { z-index: 5; transform: rotate(0deg) scale(1.06); box-shadow: var(--shadow-lg); }
.scatter img:nth-child(1)  { left: 0%; top: 4%; transform: rotate(-7deg); }
.scatter img:nth-child(2)  { left: 25%; top: 0%; transform: rotate(4deg); }
.scatter img:nth-child(3)  { left: 50%; top: 2%; transform: rotate(-3deg); }
.scatter img:nth-child(4)  { left: 75%; top: 5%; transform: rotate(8deg); }
.scatter img:nth-child(5)  { left: 0%; top: 36%; transform: rotate(5deg); }
.scatter img:nth-child(6)  { left: 75%; top: 37%; transform: rotate(-6deg); }
.scatter img:nth-child(7)  { left: 1%; top: 66%; transform: rotate(-4deg); }
.scatter img:nth-child(8)  { left: 26%; top: 68%; transform: rotate(3deg); }
.scatter img:nth-child(9)  { left: 51%; top: 66%; transform: rotate(-5deg); }
.scatter img:nth-child(10) { left: 75%; top: 64%; transform: rotate(7deg); }
.scatter .s-main { left: 26%; top: 25%; width: 48%; aspect-ratio: 1 / 1; border-bottom-width: 5px; transform: rotate(2deg); z-index: 2; box-shadow: var(--shadow-lg); }
.ph-c { left: -7%; bottom: -16%; width: 22%; aspect-ratio: 3 / 4; transform: rotate(-7deg); border-radius: var(--r-4); z-index: 1; }
.note { position: absolute; right: 2%; top: -6%; margin: 0; font-size: 34px; color: var(--rosa-ink); transform: rotate(6deg); z-index: 1; }

/* Com funciona */
.steps-sec { padding: clamp(48px, 7vw, 88px) 0; background: var(--paper); border-block: 1px solid var(--border); text-align: center; }
.steps { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.steps li { padding: 26px; border-radius: var(--r-4); background: var(--cream); border: 1px solid var(--border); }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rosa); font: 700 28px/1 var(--font-display); margin-bottom: 14px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }
.join { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Seccions */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-wash { background: var(--rosa-soft); }
.sec-cream2 { background: var(--cream-2); }
.sec-head { margin-bottom: 36px; }

/* Preus */
.prices { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.price { border-radius: var(--r-4); background: var(--paper); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.price-body { padding: 22px 24px 20px; }
.price h3 { font-size: 20px; }
/* Preus amb la lletra de l'app (Nunito molt gruixuda): més clars que la manuscrita */
.price .amount { font: 800 52px/1 var(--font-ui); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--rosa-ink); margin: 8px 0 10px; }
.price .amount small { font-size: 30px; font-weight: 800; margin-left: 2px; }
.price p:last-child { margin: 0; color: var(--ink-2); }
.price.feature { grid-row: span 2; }
.price.feature img { aspect-ratio: auto; flex: 1; min-height: 260px; }
.price:not(.photo):not(.feature) { background: var(--ink); color: #fff; border-color: var(--ink); justify-content: center; }
.price:not(.photo):not(.feature) .amount { color: var(--rosa); }
.price:not(.photo):not(.feature) p:last-child { color: #E8E0DA; }
.prices .price:nth-child(2) { grid-column: 2 / 4; }

/* Dues columnes */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.rev .split-text { order: 2; }
.split-text > p { color: var(--ink-2); }
.split-text .btn { margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 700; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 18px; height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'><path d='M2 6.5 L7 10.5 L16 1.5' stroke='%23C77B9E' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-4); box-shadow: var(--shadow-md); }
.mosaic img:first-child { grid-row: span 2; }

/* Esdeveniments */
.event { position: relative; padding: clamp(80px, 12vw, 160px) 0; overflow: hidden; }
.event-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.event::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,26,.55), rgba(26,26,26,.05)); }
.event-in { position: relative; z-index: 1; }
.event-card { max-width: 520px; padding: clamp(24px, 4vw, 40px); background: var(--cream); border-radius: var(--r-5); box-shadow: var(--shadow-lg); }
.event-card p:not(.kicker) { color: var(--ink-2); }

/* Empreses */
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 14px; }
.perks div { padding: 18px; border-radius: var(--r-3); background: var(--paper); border: 1px solid var(--border); }
.perks h3 { font-size: 17px; margin-bottom: 4px; }
.perks p { margin: 0; font-size: 15px; color: var(--ink-2); }
.stack { position: relative; aspect-ratio: 4 / 5; }
.stack img { position: absolute; object-fit: cover; border-radius: var(--r-4); box-shadow: var(--shadow-lg); border: 6px solid var(--paper); }
.stack img:first-child { inset: 0 18% 26% 0; transform: rotate(-2deg); }
.stack img:last-child { right: 0; bottom: 0; width: 66%; aspect-ratio: 16 / 10; transform: rotate(2.5deg); }

/* Qui som */
.portrait { position: relative; }
.portrait > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-5); box-shadow: var(--shadow-lg); }
.badge { position: absolute; right: -18px; bottom: -18px; width: 120px; height: 120px; border-radius: 50%; background: var(--paper); padding: 10px; box-shadow: var(--shadow-md); object-fit: contain; }
.sign { font-size: 36px; color: var(--rosa-ink); margin-top: 8px; }

/* Contacte */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.c-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-4); background: var(--paper); border: 1px solid var(--border); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.c-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.c-card strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--tan-text); margin-bottom: 2px; }
.c-card > span:last-child { font-weight: 700; overflow-wrap: anywhere; }
.c-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rosa-soft); }
.c-ico svg { width: 22px; height: 22px; fill: var(--rosa-ink); }
.social { display: flex; justify-content: center; gap: 22px; margin: 28px 0 0; font-weight: 800; }

/* Peu */
.foot { padding: 36px 0 96px; border-top: 1px solid var(--border); background: var(--paper); }
.foot-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.foot img { height: 72px; width: auto; margin-bottom: 6px; }
.foot p { margin: 0; }

/* Botó flotant de WhatsApp */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); box-shadow: var(--shadow-lg); }
.fab svg { width: 28px; height: 28px; fill: #fff; }

/* Tauleta */
/* Formulari de contacte (Encàrrecs) */
.cform { padding: clamp(22px, 4vw, 40px); background: var(--paper);
  border-radius: var(--r-5); box-shadow: var(--shadow-md); border: 1px solid var(--rosa-wash); }
.cform-head h3 { margin: 0; font-size: clamp(38px, 5vw, 48px); line-height: 1; }
.cform-head p { margin: 6px 0 22px; max-width: 60ch; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.field-wide { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--font-ui); color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--border-strong); border-radius: var(--r-3); padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rosa-deep); box-shadow: 0 0 0 4px var(--rosa-wash); background: var(--paper); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B4504A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform { position: relative; }
.modal { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0;
  background: transparent; overflow: auto; overscroll-behavior: contain; color: var(--ink); }
.modal::backdrop { background: rgba(26, 26, 26, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal[open] { animation: pop .28s var(--ease); }
.modal[open]::backdrop { animation: fade .28s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
body.modal-open { overflow: hidden; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--cream); cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: var(--rosa-soft); }
.modal-x svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.cform-head { padding-right: 48px; }
.c-write { margin: 22px 0 0; text-align: center; }
/* Enviant: rodeta al botó */
.btn.is-sending::before { content: ''; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(26, 26, 26, .25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Enviat: el formulari deixa pas a la confirmació, amb el check que es dibuixa */
.cform.is-sent > :not(.sent):not(.modal-x) { display: none; }
.sent { text-align: center; padding: clamp(12px, 3vw, 28px) 0 4px; }
.sent[hidden] { display: none; }
.sent h3 { margin: 10px 0 6px; font-size: clamp(40px, 6vw, 54px); line-height: 1; outline: none; }
.sent p { margin: 0 auto 6px; max-width: 42ch; color: var(--ink-2); }
.sent .btn { margin-top: 18px; min-width: 160px; }
.sent-check { width: 104px; height: 104px; display: block; margin: 0 auto; animation: pop-check .5s var(--ease) both; }
.sent-check circle { fill: var(--rosa-soft); stroke: var(--rosa-deep); stroke-width: 3;
  stroke-dasharray: 145; stroke-dashoffset: 145; animation: draw .6s ease-out .1s forwards; }
.sent-check path { fill: none; stroke: var(--success-ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s ease-out .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop-check { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .sent-check, .sent-check circle, .sent-check path { animation: none; stroke-dashoffset: 0; }
}
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.cform-foot .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-msg { margin: 0; font-weight: 700; }
.form-msg.ok { color: var(--success-ink); }
.form-msg.err { color: #9A3B36; }
.form-msg[hidden] { display: none; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }

@media (max-width: 960px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero-in, .split { grid-template-columns: 1fr; }
  .split.rev .split-text { order: 0; }
  .hero-art { justify-self: center; max-width: 520px; }
  .prices { grid-template-columns: 1fr 1fr; }
  .price.feature { grid-row: auto; grid-column: 1 / -1; }
  .price.feature img { aspect-ratio: 16 / 9; min-height: 0; }
  .prices .price:nth-child(2) { grid-column: auto; }
  .contact { grid-template-columns: 1fr 1fr; }
  .stack { max-width: 520px; width: 100%; justify-self: center; }
}

/* Mòbil */
@media (max-width: 600px) {
  .fields { grid-template-columns: 1fr; }
  .cform-foot .btn { width: 100%; }
  .modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  body { font-size: 16px; }
  .top-in { height: 80px; }
  .brand img { height: 64px; }
  .top.is-scrolled .top-in { height: 62px; }
  .top.is-scrolled .brand img { height: 46px; }
  .btn-sm span { display: none; }
  .btn-sm { width: 44px; padding: 0; }
  .cta .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .c-card { flex-direction: row; align-items: center; }
  .note { font-size: 26px; top: -8%; }
  .scatter img { border-width: 3px; border-bottom-width: 10px; }
  .scatter .s-main { border-bottom-width: 3px; }
  .ph-c { left: -1%; bottom: -17%; width: 24%; }
  .badge { width: 92px; height: 92px; right: -6px; bottom: -14px; }
}

/* Menú d'avui (dades del TPV) */
.today-wrap { display: grid; gap: 18px; margin: 0 0 28px; }
.day-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--cream-2); justify-self: start; }
.day-tab { font: 800 15px/1 var(--font-ui); padding: 10px 22px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); cursor: pointer; }
.day-tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.today-wrap > .today[hidden] { display: none; }
.today-wrap[hidden] { display: none; }
.today-note { margin: 16px 0 0; padding: 10px 14px; border-radius: var(--r-3); background: var(--rosa-soft); color: var(--rosa-ink); font-weight: 800; }
.today-note[hidden] { display: none; }
.today { margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-5); background: var(--paper); border: 2px dashed var(--rosa); box-shadow: var(--shadow-sm); }
.today-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 16px; }
.today-head h3 { font-size: clamp(38px, 4.5vw, 50px); }
.today-meta { margin: 0; font-weight: 800; color: var(--rosa-ink); font-size: 18px; }
.today-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.today-col { display: grid; gap: 18px; align-content: start; }
.today-body h4 { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tan-text); }
.today-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.today-body li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; padding-bottom: 6px; border-bottom: 1px solid var(--border); line-height: 1.35; }
.today-body li:last-child { border-bottom: 0; padding-bottom: 0; }
.today-body .dish { font-weight: 700; margin-right: 2px; }
.today-body .alg { font-size: 13px; line-height: 1; cursor: help; }
.today-legend { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.today-legend[hidden] { display: none; }
.today-body .desc, .today-body .allergens { flex-basis: 100%; font-size: 14px; color: var(--ink-3); }
.today-body li.out .dish { text-decoration: line-through; color: var(--ink-3); }
.today-body .tag { font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: var(--r-pill); background: var(--rosa-soft); color: var(--rosa-ink); }
.today-foot, .today-empty { margin: 16px 0 0; color: var(--ink-2); }
/* Dia de tancament: la migdiada */
.today-rest { display: flex; align-items: center; gap: clamp(16px, 4vw, 40px); }
.rest-art { flex: none; width: clamp(150px, 24vw, 230px); height: auto; overflow: visible; }
.rest-art .pot { fill: var(--paper); stroke: var(--ink); stroke-width: 4; }
.rest-art .band { fill: var(--rosa); }
.rest-art .handle { fill: var(--tan); stroke: var(--ink); stroke-width: 3; }
.rest-art .eye, .rest-art .mouth { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.rest-art .blush { fill: var(--rosa); opacity: .55; }
.rest-art .hat rect, .rest-art .hat circle { fill: var(--paper); stroke: var(--ink); stroke-width: 3.5; }
.rest-art .shadow { fill: var(--rosa-wash); }
.rest-art .moon { fill: var(--tan); opacity: .8; }
.rest-art .zz { font-family: var(--font-display); font-weight: 700; fill: var(--rosa-ink); }
.rest-art .z1 { font-size: 34px; } .rest-art .z2 { font-size: 26px; } .rest-art .z3 { font-size: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .rest-art .zz { animation: zz 2.4s ease-in-out infinite; }
  .rest-art .z2 { animation-delay: .4s; } .rest-art .z3 { animation-delay: .8s; }
  .rest-art .hat { animation: snore 3.2s ease-in-out infinite; transform-origin: 112px 82px; transform-box: view-box; }
}
@keyframes zz { 0%, 100% { opacity: .25; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-4px); } }
@keyframes snore { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(-9deg) translateY(-3px); } }
.rest-text h4 { margin: 0; font-size: clamp(38px, 5vw, 52px); line-height: 1; }
.rest-text p { margin: 8px 0 0; font-size: 18px; color: var(--ink-2); }
.rest-text .rest-back { font-weight: 800; color: var(--rosa-ink); }
@media (max-width: 560px) { .today-rest { flex-direction: column; text-align: center; } }
.today[hidden], .today [hidden] { display: none; }
@media (max-width: 760px) { .today-body { grid-template-columns: 1fr; } }
