/* Plantilla Tramuntana Digital · estils (v2).
   Els colors i les tipografies de cada negoci arriben de theme.css (generat del JSON).
   Variants: .v-warm (restaurant), .v-dark (barberia), .v-clean (salut i serveis).
   Portades: .hs-full (foto a pantalla completa), .hs-poster (cartell), .hs-split (partida). */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
html.lock { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 64px; pointer-events: none; }

:root { --radius: 16px; --radius-sm: 10px; --btn-radius: 999px; --ease: cubic-bezier(.16, 1, .3, 1); --shadow: 0 1px 0 rgb(0 0 0 / .03), 0 30px 60px -36px rgb(0 0 0 / .35); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(18px, 4.5vw, 56px); }
.sec { padding-block: clamp(72px, 9vw, 128px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 62ch; }
.sec-note { color: var(--muted); font-size: 1.02rem; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.note { font-size: 0.88rem; color: var(--muted); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Botons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 13px 24px; border-radius: var(--btn-radius); font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap; background: var(--accent); color: var(--accentInk); border: 0; cursor: pointer; transition: transform .35s var(--ease), filter .2s, background-color .2s, box-shadow .2s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); filter: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Barra de demostració */
.demo-bar { position: relative; z-index: 45; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding: 8px 16px; font-size: 0.82rem; background: #1E1C19; color: #E9E3D9; text-align: center; font-family: system-ui, sans-serif; }
.demo-bar a { color: #FFFFFF; font-weight: 600; }

/* ---------- Capçalera ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.top.solid { box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgb(0 0 0 / .4); }
.top-row { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); text-decoration: none; white-space: nowrap; line-height: 1; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; color: var(--text); text-decoration: none; padding: 8px 12px; font-size: 0.97rem; font-weight: 500; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.lang { display: inline-flex; gap: 2px; font-size: 0.78rem; font-weight: 700; border-radius: 999px; padding: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.lang a { padding: 4px 9px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.top-cta { min-height: 42px; padding: 9px 18px; font-size: 0.95rem; }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: 600 0.95rem var(--font-body); cursor: pointer; }

/* Portada a pantalla completa: la capçalera queda sobre la foto fins que fas scroll */
.hs-full .top { margin-bottom: -76px; background: transparent; }
.hs-full .top:not(.solid) .brand, .hs-full .top:not(.solid) .nav a { color: #FFF8EE; }
.hs-full .top:not(.solid) .lang { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); }
.hs-full .top:not(.solid) .lang a { color: rgb(255 248 238 / .8); }
.hs-full .top:not(.solid) .lang a[aria-current="true"] { background: #FFF8EE; color: #1E1C19; }
.hs-full .top:not(.solid) .menu-btn { color: #FFF8EE; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); }
.hs-full .top.solid { background: var(--bg); }

/* Menú mòbil */
.mnav { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding: max(14px, env(safe-area-inset-top)) clamp(18px, 4.5vw, 56px) max(24px, env(safe-area-inset-bottom)); background: var(--bg); visibility: hidden; opacity: 0; transition: opacity .2s var(--ease), visibility 0s linear .2s; }
.mnav.open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.mnav-close { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: 600 0.95rem var(--font-body); cursor: pointer; }
.mnav-links { display: grid; align-content: center; gap: 4px; }
.mnav-links a { font-family: var(--font-display); font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1.15; color: var(--ink); text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity .2s, transform .2s; }
.mnav.open .mnav-links a { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mnav.open .mnav-links a:nth-child(2) { transition-delay: .05s; }
.mnav.open .mnav-links a:nth-child(3) { transition-delay: .1s; }
.mnav.open .mnav-links a:nth-child(4) { transition-delay: .15s; }
.mnav.open .mnav-links a:nth-child(5) { transition-delay: .2s; }
.mnav.open .mnav-links a:nth-child(6) { transition-delay: .25s; }
.mnav-foot { display: grid; gap: 16px; justify-items: start; }
.mnav-foot .btn { width: 100%; }

/* ---------- Portades ---------- */
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 46ch; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #C2402A; box-shadow: 0 0 0 4px rgb(194 64 42 / .18); flex: none; }
.status.is-open::before { background: #3FA36B; box-shadow: 0 0 0 4px rgb(63 163 107 / .2); }

.hero-full { position: relative; min-height: min(94svh, 900px); display: grid; align-items: end; isolation: isolate; color: #FFF8EE; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #2A2118; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) backwards; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 14 8 / .55) 0%, rgb(20 14 8 / .05) 30%, rgb(20 14 8 / .2) 55%, rgb(20 14 8 / .82) 100%), linear-gradient(90deg, rgb(20 14 8 / .55), transparent 65%); }
.hero-inner { display: grid; gap: 22px; justify-items: start; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 96px); }
.hero-full h1 { color: #FFF8EE; max-width: 13ch; font-size: clamp(3.2rem, 8.4vw, 7.4rem); line-height: .98; }
.hero-full .eyebrow { color: #F6D9B8; }
.hero-full .lead { color: rgb(255 248 238 / .88); }
.hero-full .btn-ghost { color: #FFF8EE; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5); }
.hero-full .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #FFF8EE; }
.hero-full .status { color: #FFF8EE; background: rgb(20 14 8 / .45); padding: 8px 14px; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.hero-poster { padding-top: clamp(28px, 4vw, 56px); }
.poster-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.poster-copy { display: grid; gap: 24px; align-content: center; justify-items: start; padding-block: clamp(24px, 4vw, 56px); }
.poster-copy .lead { color: var(--muted); }
.poster-media { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 420px; }
.poster-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.marquee { margin-top: clamp(40px, 6vw, 80px); overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track > div { display: flex; }
.marquee span { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); white-space: nowrap; text-transform: uppercase; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.marquee span::after { content: "✶"; color: var(--accent); font-size: .6em; margin-inline: clamp(18px, 2.4vw, 32px); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero-split { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-copy { display: grid; gap: 22px; justify-items: start; }
.split-copy .lead { color: var(--muted); }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); }
.badge { position: absolute; left: clamp(-36px, -3vw, -12px); bottom: 28px; display: flex; gap: 14px; align-items: center; max-width: 300px; padding: 16px 18px; border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.badge strong { display: block; color: var(--ink); font-size: 1rem; }
.badge span:not(.badge-ico) { font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
.badge-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); position: relative; }
.badge-ico::after { content: ""; position: absolute; left: 15px; top: 11px; width: 9px; height: 16px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- Punts destacats ---------- */
.highlights { background: var(--surface); }
.hl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hl { display: grid; gap: 6px; align-content: start; padding: clamp(28px, 3.4vw, 44px) clamp(18px, 2.6vw, 36px); border-left: 1px solid var(--line); }
.hl:first-child { border-left: 0; padding-left: 0; }
.hl-n { font-family: var(--font-display); font-size: 0.95rem; color: var(--accent); }
.hl-t { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.hl p:last-child { color: var(--muted); font-size: 0.97rem; }

/* ---------- La casa ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-media { overflow: hidden; border-radius: var(--radius); }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
.about-media:hover img { transform: scale(1.03); }
.about-copy { display: grid; gap: 18px; }
.about-copy p { font-size: 1.08rem; max-width: 50ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; color: var(--ink); }
.stats dt { font-size: 0.9rem; color: var(--muted); }

/* ---------- Carta / preus ---------- */
.carta { background: var(--surface); }
.carta-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.carta-media { position: sticky; top: 100px; overflow: hidden; border-radius: var(--radius); }
.carta-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.item { padding-block: 14px; border-bottom: 1px solid var(--line); }
.item-row { display: flex; align-items: baseline; gap: 12px; }
.item-name { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.leader { flex: 1; min-width: 20px; border-bottom: 1.5px dotted color-mix(in srgb, var(--muted) 60%, transparent); transform: translateY(-4px); }
.item-price { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap; }
.item-desc { font-size: 0.93rem; color: var(--muted); margin-top: 3px; }
.tag { font-style: normal; font-family: var(--font-body); font-size: 0.66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accentInk); background: var(--accent); padding: 3px 8px; border-radius: 999px; vertical-align: 3px; margin-left: 6px; white-space: nowrap; }
.tablist { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tablist [role="tab"] { border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px; background: transparent; color: var(--text); font: 600 0.97rem var(--font-body); box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s, color .25s, box-shadow .25s; }
.tablist [role="tab"]:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.tablist [aria-selected="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.tp-title { display: none; }
.no-js .tp-title { display: block; margin: 28px 0 6px; }
.no-js .tablist { display: none; }
.tabpanel .items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.tabpanel:focus-visible { outline-offset: 8px; }
.tabpanel.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } }
.price-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.pgroup h3 { margin-bottom: 12px; }
.card-group + .card-group { margin-top: 48px; }
.group-title { margin-bottom: 18px; font-size: 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h4 { font-size: 1.2rem; line-height: 1.25; }
.card-price { font-weight: 700; color: var(--accent); white-space: nowrap; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.chip { justify-self: start; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }

/* ---------- Galeria ---------- */
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vw, 260px); gap: clamp(8px, 1.2vw, 16px); }
.mosaic .m1 { grid-column: span 2; grid-row: span 2; }
.mosaic .m4 { grid-column: span 2; }
.shot { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; }
.shot:hover img { transform: scale(1.05); }
.lightbox { width: min(1100px, 92vw); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; background: #0E0D0C; color: #F4F1EA; overflow: visible; }
.lightbox::backdrop { background: rgb(10 9 8 / .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 14px 14px 0 0; }
.lightbox figcaption { padding: 12px 18px 16px; font-size: 0.95rem; color: #CFC8BC; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgb(255 255 255 / .94); color: #111111; font-size: 1.1rem; display: grid; place-items: center; }
.lb-close { top: -16px; right: -16px; }
.lb-prev { left: -20px; top: 45%; }
.lb-next { right: -20px; top: 45%; }

/* ---------- Equip, opinions, preguntes ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.member { display: grid; gap: 6px; align-content: start; }
.member-photo { overflow: hidden; border-radius: var(--radius); margin-bottom: 10px; background: var(--surface); }
.member-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member-role { color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.member-bio { color: var(--muted); font-size: 0.95rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.stars { color: #D8962A; letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 0; font-size: 1.08rem; color: var(--ink); line-height: 1.55; }
.review figcaption { font-size: 0.92rem; color: var(--muted); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 20px; font-weight: 600; color: var(--ink); font-size: 1.06rem; }
.qa summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.qa-body { padding-bottom: 20px; color: var(--muted); max-width: 60ch; }
details[open] .qa-body { animation: swap .4s var(--ease); }

/* ---------- Visita'ns ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.visit-copy { display: grid; gap: 18px; justify-items: start; }
.visit-text { color: var(--muted); max-width: 46ch; }
.status-pill { padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); }
.hours { width: 100%; max-width: 460px; border-collapse: collapse; font-size: 1rem; }
.hours caption { text-align: left; font-weight: 700; color: var(--ink); padding-bottom: 6px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); padding-left: 16px; }
.hours tr.today th, .hours tr.today td { color: var(--accent); font-weight: 700; }
.hours tr.today th::after { content: " ●"; font-size: .7em; vertical-align: 2px; }
address { font-style: normal; color: var(--ink); font-size: 1.06rem; }
.visit-lines a { color: var(--ink); font-weight: 600; }
.visit-media { overflow: hidden; border-radius: var(--radius); }
.visit-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }

/* ---------- Crida final ---------- */
.final { padding-block: clamp(72px, 9vw, 120px); background: var(--accent); color: var(--accentInk); text-align: center; }
.final-inner { display: grid; gap: 18px; justify-items: center; }
.final h2 { color: var(--accentInk); font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 16ch; }
.final p { max-width: 50ch; opacity: .9; font-size: 1.1rem; }
.btn-final { background: var(--accentInk); color: var(--accent); margin-top: 10px; }

/* ---------- Peu ---------- */
.foot { padding-block: clamp(48px, 6vw, 72px) 0; background: var(--bg); border-top: 1px solid var(--line); font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 36px; }
.foot-brand { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); margin-bottom: 6px; line-height: 1.1; }
.fh { font-size: 0.76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.foot-grid p { color: var(--text); }
.foot-grid p span { display: block; color: var(--muted); font-size: .88rem; }
.foot-grid p + p { margin-top: 8px; }
.foot a { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }

/* Barra d'accions: només al mòbil */
.actionbar { display: none; }

/* ---------- Moviment ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes settle { from { transform: scale(1.12); } }
.d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; } .d5 { --d: 5; }
.rise { animation: rise 1s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
.rv-pre { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.rv-pre.rv-in { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }

/* =========================================================
   Variant càlida (restaurant)
   ========================================================= */
.v-warm { --radius: 20px; --radius-sm: 14px; }
.v-warm h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.v-warm .highlights { background: var(--bg); border-bottom: 1px solid var(--line); }
.v-warm .item-name { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }

/* =========================================================
   Variant fosca (barberia)
   ========================================================= */
.v-dark { --radius: 4px; --radius-sm: 3px; --btn-radius: 3px; --shadow: 0 30px 60px -30px rgb(0 0 0 / .8); }
.v-dark h1, .v-dark h2, .v-dark h3, .v-dark .brand, .v-dark .hl-t, .v-dark .foot-brand, .v-dark .mnav-links a { text-transform: uppercase; letter-spacing: .005em; }
.v-dark h1 { font-size: clamp(3.4rem, 8.6vw, 8rem); line-height: .96; }
.v-dark h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1; }
.v-dark .btn { text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; }
.v-dark .poster-media img { filter: grayscale(.3) contrast(1.08); }
.v-dark .poster-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--accent); }
.v-dark .highlights { background: var(--bg); border-bottom: 1px solid var(--line); }
.v-dark .carta { background: var(--bg); }
.v-dark .item { padding-block: 18px; }
.v-dark .item-name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; letter-spacing: .01em; }
.v-dark .item-price { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--accent); }
.v-dark .pgroup h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.v-dark .shot img { filter: grayscale(.85); }
.v-dark .shot:hover img { filter: grayscale(0); }
.v-dark .about-media img { filter: grayscale(.4) contrast(1.05); }
.v-dark .visit-media img { filter: grayscale(.2); }
.v-dark .final { text-align: left; }
.v-dark .final-inner { justify-items: start; }
.v-dark .final h2 { max-width: 12ch; }

/* =========================================================
   Variant clara (salut i serveis)
   ========================================================= */
.v-clean { --radius: 26px; --radius-sm: 18px; --shadow: 0 1px 0 rgb(16 51 42 / .04), 0 30px 60px -34px rgb(16 51 42 / .35); }
.v-clean h1, .v-clean h2 { font-weight: 600; letter-spacing: -0.03em; }
.v-clean h3, .v-clean h4, .v-clean .hl-t, .v-clean .brand, .v-clean .foot-brand { font-weight: 600; letter-spacing: -0.01em; }
.v-clean .mnav-links a { font-weight: 600; letter-spacing: -0.02em; }
.v-clean .highlights { background: transparent; }
.v-clean .hl-grid { gap: 14px; }
.v-clean .hl, .v-clean .hl:first-child { border: 0; padding: 26px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.v-clean .hl-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); font-family: var(--font-body); font-weight: 700; font-size: .85rem; margin-bottom: 8px; }
.v-clean .carta { background: transparent; }
.v-clean .card { background: var(--surface); }
.v-clean .review { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.v-clean .final { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); color: var(--text); }
.v-clean .final h2 { color: var(--ink); }
.v-clean .btn-final { background: var(--accent); color: var(--accentInk); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav, .top-row > .lang, .top-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .poster-grid, .split-grid, .about-grid, .carta-grid, .visit-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .poster-media { min-height: 0; aspect-ratio: 4 / 4.2; }
  .carta-media { position: static; max-width: 560px; }
  .carta-media img { aspect-ratio: 16 / 10; }
  .badge { left: 12px; bottom: 12px; right: 12px; max-width: none; }
  .cards, .team-grid, .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero-full { min-height: 88svh; }
  .hero-inner { padding-top: 120px; }
  .hl-grid { grid-template-columns: minmax(0, 1fr); }
  .hl, .hl:first-child { border-left: 0; padding-inline: 0; border-top: 1px solid var(--line); }
  .hl:first-child { border-top: 0; }
  .v-clean .hl, .v-clean .hl:first-child { padding: 22px; border-top: 0; }
  .tabpanel .items, .price-cols { grid-template-columns: minmax(0, 1fr); }
  .cards, .team-grid, .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 10px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .mosaic .m1 { grid-column: span 2; grid-row: span 1; }
  .mosaic .m4 { grid-column: span 2; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .lb-prev { left: 8px; top: auto; bottom: -58px; }
  .lb-next { right: 8px; top: auto; bottom: -58px; }
  .lb-close { right: 8px; top: -58px; }
  .actionbar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 35; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 18px; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgb(0 0 0 / .45); transform: translateY(140%); transition: transform .5s var(--ease); }
  .past-hero .actionbar { transform: none; }
  .actionbar a { display: grid; place-items: center; min-height: 46px; border-radius: 13px; font-weight: 650; font-size: .92rem; text-decoration: none; color: var(--ink); background: var(--surface); text-align: center; line-height: 1.15; padding-inline: 6px; }
  .actionbar .ab-main { background: var(--accent); color: var(--accentInk); }
  .foot { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv-pre { opacity: 1; transform: none; filter: none; }
}
