
/* Tipografías propias (OFL 1.1, servidas desde /assets/fonts): Newsreader para títulos y cifras, Instrument Sans para el texto. */
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2-variations"), url("/assets/fonts/newsreader-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: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-ext.woff2") format("woff2-variations"), url("/assets/fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2-variations"), url("/assets/fonts/instrument-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: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-ext.woff2") format("woff2-variations"), url("/assets/fonts/instrument-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root {
  --nit:          #FFFFFF;   
  --superficie:   #FFFFFF;   
  --superficie-2: #F7F9FA;   
  --ink:          #0A1F26;   
  --ink-2:        #3D5259;   
  --ink-3:        #5F7379;   
  --brand:        #0F5C6B;   
  --brand-700:    #0A3F49;
  --brand-100:    #DCEDF0;
  --brand-050:    #F0F8F9;
  --accent:       #C0491F;   
  --accent-600:   #A63D18;
  --accent-050:   #FDF1EC;
  --sand:         #F7F4EF;   
  --line:         #E3DED5;
  --vora-camp:    #9A9488;   /* borde de campos: 3:1 sobre blanco */
  --white:        #FFFFFF;   
  --sobre-accent: #FFFFFF;   
  --sobre-brand:  #FFFFFF;   
  --fosc:         #0A3F49;   
  --fosc-suau:    #8FD3DE;   
  --ok:           #1E7A4C;
  --warn:         #9A6400;
  --danger:       #B3261E;
  --ok-fons:      #E6F4EC;  --ok-text:    #145A38;
  --error-fons:   #FBE9E7;  --error-text: #B3261E;
  --avis-fons:    #FFF3CD;  --avis-text:  #6B4E00;  --avis-vora: #E8CE7A;
  --font-title: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --font-body:  "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --t-eyebrow: 0.75rem;
  --t-small:   0.8125rem;
  --t-body:    clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-lead:    clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --t-h3:      clamp(1.125rem, 1.05rem + 0.5vw, 1.375rem);
  --t-h2:      clamp(1.625rem, 1.3rem + 1.6vw, 2.5rem);
  --t-h1:      clamp(2rem, 1.5rem + 2.6vw, 3.5rem);
  --t-xxl:     clamp(2.25rem, 1.6rem + 3.2vw, 4rem);
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sec-y: clamp(3rem, 8vw, 6rem);
  --ancho: 1140px;
  --ancho-text: 62ch;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radio: 14px;
  --radio-s: 10px;
  --sombra-1: 0 1px 2px rgba(10,31,38,.06), 0 2px 8px rgba(10,31,38,.05);
  --sombra-2: 0 4px 12px rgba(10,31,38,.08), 0 12px 32px rgba(10,31,38,.07);
  --sombra-3: 0 8px 24px rgba(10,31,38,.10), 0 24px 60px rgba(10,31,38,.10);
  --e-entrada: cubic-bezier(0.16, 1, 0.3, 1);
  --e-estado:  cubic-bezier(0.65, 0, 0.35, 1);
  --d-rapida: 160ms;
  --d-media:  380ms;
  --d-lenta:  900ms;
  --cta-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;          
  scroll-padding-top: 1rem;
}
body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--nit);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: 0;
}
@media (max-width: 900px) {
  body.js { padding-bottom: calc(var(--cta-h) + var(--safe-b)); }
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--brand-050); }   
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; }
p { text-wrap: pretty; }
p + p { margin-top: var(--sp-4); }
.eyebrow {
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--brand);
  margin-bottom: var(--sp-3);
}
.lead { font-size: var(--t-lead); color: var(--ink-2); max-width: var(--ancho-text); }
.small { font-size: var(--t-small); color: var(--ink-2); }
.micro { font-size: var(--t-small); color: var(--ink-3); line-height: 1.45; }
.pendiente {
  background: var(--avis-fons);
  color: var(--avis-text);
  padding: 0 .3em;
  border-radius: 4px;
  font-weight: 600;
  font-size: .9em;
  white-space: nowrap;
}
.rotador { white-space: nowrap; }
.rotador__cursor { display: none; }
.rotador--viu .rotador__cursor {
  display: inline-block; width: .06em; height: .82em;
  margin-left: .06em; vertical-align: -.06em;
  background: var(--accent);
  animation: rotadorParpelleig 1.05s steps(2, start) infinite;
}
@keyframes rotadorParpelleig { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .rotador--viu .rotador__cursor { animation: none; opacity: .5; }
}
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter); }
.seccion { padding-block: var(--sec-y); }
.seccion--sand { background: var(--sand); }
.seccion--fosc { background: var(--fosc); color: var(--white); }
.seccion--fosc h2, .seccion--fosc h3 { color: var(--white); }
.seccion--fosc .lead, .seccion--fosc p { color: rgba(255,255,255,.82); }
.seccion--fosc .eyebrow { color: var(--fosc-suau); }
.cap-seccion { max-width: 46rem; margin-bottom: var(--sp-6); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 999;
  background: var(--ink); color: var(--white);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--radio-s);
  transition: top var(--d-rapida) var(--e-estado);
}
.skip-link:focus { top: var(--sp-4); color: var(--white); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 52px; padding: 0 var(--sp-5);
  font-family: var(--font-body); font-size: 1rem; font-weight: 650;
  line-height: 1; text-align: center; text-decoration: none;
  border-radius: var(--radio-s); border: 2px solid transparent;
  transition: transform var(--d-rapida) var(--e-estado),
              background-color var(--d-rapida) var(--e-estado),
              border-color var(--d-rapida) var(--e-estado),
              box-shadow var(--d-rapida) var(--e-estado);
  will-change: auto;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.985); transition-duration: 80ms; }
.btn svg { flex: 0 0 auto; transition: transform var(--d-rapida) var(--e-estado); }
.btn:hover svg { transform: translateX(3px); }
.btn--principal {
  background: var(--accent); color: var(--sobre-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(120,40,12,.22), 0 8px 18px -10px rgba(192,73,31,.6);
}
.btn--principal:hover {
  background: var(--accent-600); color: var(--sobre-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 2px 4px rgba(120,40,12,.2), 0 14px 26px -12px rgba(192,73,31,.7);
}
.btn--marca { background: var(--brand); color: var(--sobre-brand); }
.btn--marca:hover { background: var(--brand-700); color: var(--sobre-brand); }
.btn--contorn { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--contorn:hover { border-color: var(--brand); background: var(--brand-050); }
.btn.btn--wa { background: #0E6F64; color: #FFFFFF; }
.btn.btn--wa:hover { background: #0A5850; color: #FFFFFF; }
.btn--gran { min-height: 60px; font-size: 1.0625rem; width: 100%; }
.btn--fantasma { color: var(--ink-2); min-height: 48px; padding: 0 var(--sp-3); font-weight: 500; }
#reprendre { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
#reprendre .btn { min-height: 48px; }
.btn--fantasma:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.barra-scroll {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: transparent; pointer-events: none;
}
.barra-scroll__fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: 0 50%;
}
.capcalera {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--gutter);
  max-width: 1320px; margin-inline: auto;   
}
@media (min-width: 901px) {
  .capcalera {
    position: sticky; top: 0;
    max-width: none;
    padding-inline: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter)));
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
            backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--d-rapida) var(--e-estado),
                box-shadow var(--d-rapida) var(--e-estado);
  }
  body.ha-baixat .capcalera {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 16px -12px rgba(10,31,38,.4);
  }
}
@media (prefers-reduced-motion: reduce) { .capcalera { transition: none; } }
.marca { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; color: var(--ink); }
.marca__logo { width: 34px; height: 34px; flex: 0 0 auto; background: none; }
.marca__nom {
  font-family: var(--font-title); font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--brand-700); line-height: 1;
}
@media (max-width: 420px) { .marca__logo { width: 28px; height: 28px; } .marca__nom { font-size: 1.0625rem; } }
.capcalera__dreta { display: flex; align-items: center; gap: var(--sp-3); }
.tel-capcalera {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  font-weight: 650; font-size: .9375rem; text-decoration: none; color: var(--brand-700);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .tel-capcalera {
    width: 44px; justify-content: center; gap: 0;
    border: 1px solid var(--line); border-radius: 50%;
  }
  .tel-capcalera span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.capcalera__cta { min-height: 40px; padding: 0 var(--sp-4); font-size: .9375rem; }
@media (max-width: 900px) { .capcalera__cta { display: none; } }
.idiomes { display: flex; gap: 2px; font-size: var(--t-small); }
.idiomes a {
  min-width: 34px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; text-decoration: none; color: var(--ink-2); font-weight: 600;
}
.idiomes a[aria-current="true"] { background: var(--brand-100); color: var(--brand-700); }
.hero { position: relative; overflow: hidden; background: var(--nit); }
@media (min-width: 900px) {
  .hero::before {
    content: ""; position: absolute; top: 0; bottom: 0; right: 0;
    width: 40%;
    background: var(--sand);
    border-bottom-left-radius: 56px;
  }
}
.hero__cos {
  position: relative; z-index: 1;
  max-width: 1320px; margin-inline: auto;   
  padding: var(--sp-5) var(--gutter) var(--sp-7);
}
.hero__titol { margin-bottom: var(--sp-4); }
@media (min-width: 900px) {
  .hero__titol { font-size: clamp(2.25rem, 1.1rem + 2vw, 3.25rem); letter-spacing: -0.025em; }
  .hero__sub { margin-bottom: var(--sp-4); }
  .hero__pill { margin-bottom: var(--sp-3); }
}
.hero__titol .accent { font-style: inherit; color: inherit; }
.hero__sub { margin-bottom: var(--sp-5); max-width: 34rem; }
.hero__pill {
  display: inline-flex; align-items: center; gap: .5em;
  margin-bottom: var(--sp-4); padding: 6px 14px 6px 10px;
  background: var(--superficie); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--sombra-1);
  font-size: var(--t-small); color: var(--ink-2);
}
.hero__pill strong { color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; }
.hero__pill-punt {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 4px rgba(30,122,76,.14);
}
.eyebrow--linia { display: flex; align-items: center; gap: .9em; }
.eyebrow--linia::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.linia { display: block; overflow: hidden; }
.linia > span { display: block; }
.js .linia > span { transform: translateY(110%); }
.js .linia--vista > span {
  transform: translateY(0);
  transition: transform var(--d-lenta) var(--e-entrada);
}
@media (min-width: 900px) {
  .hero__cos {
    display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(2.5rem, 4vw, 4.5rem);
    align-items: start;
    padding-block: var(--sp-6) var(--sp-7);
  }
}
@media (min-width: 1180px) { .hero__titol .linia > span { white-space: nowrap; } }
.hero__visual { position: relative; margin-top: var(--sp-6); padding: 22px 12px 26px; }
@media (min-width: 900px) { .hero__visual { margin-top: 0; padding: 26px 0 26px 26px; } }
.bento {
  position: relative; z-index: 1;
  display: grid; gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "foto" "preus";
}
@media (min-width: 900px) { .bento { gap: 16px; } }
.bento__foto-wrap { grid-area: foto; position: relative; }
.bento__foto {
  position: relative; margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: clamp(18px, 2.4vw, 28px); overflow: hidden;
  box-shadow: 0 2px 6px rgba(10,31,38,.06), 0 30px 60px -24px rgba(10,31,38,.35);
}
.bento__foto picture, .bento__foto img { display: block; width: 100%; height: 100%; }
.bento__foto img { object-fit: cover; object-position: 50% 42%; background: var(--sand); }
.bento__card {
  border-radius: clamp(16px, 2vw, 22px);
  padding: clamp(14px, 1.8vw, 22px);
  box-shadow: 0 1px 2px rgba(10,31,38,.05), 0 16px 34px -20px rgba(10,31,38,.3);
}
.bento__preus { grid-area: preus; background: var(--superficie); border: 1px solid var(--line); }
.bento__titol {
  font-size: .875rem; font-weight: 600;
  color: var(--ink-2); margin-bottom: 12px;
}
.barres { display: grid; gap: 10px; }
@media (min-width: 560px) { .barres { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 12px; } }
.barres li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; row-gap: 4px; }
.barres__nom { font-size: .8125rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barres__val { font-size: .8125rem; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--ink); }
.barres__nom { grid-column: 1; grid-row: 1; }
.barres__val { grid-column: 2; grid-row: 1; }
.barres__pista { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 3px; background: var(--brand-100); overflow: hidden; }
.barres__fill {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), #2A93A5);
  transform-origin: 0 50%; transform: scaleX(var(--w));
}
.anim-ok .barres__fill { animation: barraCreix 1.2s var(--e-entrada) .5s both; }
@keyframes barraCreix { from { transform: scaleX(0); } to { transform: scaleX(var(--w)); } }
.bento__peu {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px;
  margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line);
  font-size: .6875rem; color: var(--ink-2);
}
.bento__peu b { color: var(--ink); }
.bombolles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bombolla {
  position: absolute; width: var(--m); height: var(--m);
  animation: sura var(--d, 7s) ease-in-out var(--r, 0s) infinite;
}
.bombolla img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--superficie); background: var(--sand);
  box-shadow: 0 10px 24px -8px rgba(10,31,38,.35);
}
@keyframes sura { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
@keyframes bombollaEntra { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.bombolla--1 { --m: clamp(46px, 6.4vw, 84px); top: -16px;   left: -16px;  --d: 7.5s; --e: .35s; }
.bombolla--2 { --m: clamp(38px, 4.8vw, 62px); top: 16%;     right: -18px; --d: 6.2s; --r: -2s; --e: .45s; }
.bombolla--3 { --m: clamp(36px, 4.4vw, 56px); bottom: 38%;  left: -16px;  --d: 8.4s; --r: -1s; --e: .55s; }
.bombolla--4 { --m: clamp(50px, 7vw, 90px);   bottom: -22px; right: 14%;  --d: 9s;   --r: -3s; --e: .5s; }
.bombolla--5 { --m: clamp(34px, 4vw, 50px);   top: -18px;   left: 46%;    --d: 6.8s; --r: -4s; --e: .65s; }
@media (max-width: 480px) { .bombolla--5 { display: none; } }
.hero__xip {
  position: absolute; z-index: 2; margin: 0;
  background: rgba(255,255,255,.93);
  -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7); border-radius: 999px;
  box-shadow: 0 12px 28px -12px rgba(10,31,38,.35);
  color: var(--ink);
}
.hero__xip--temps {
  left: 14px; bottom: 14px; padding: 8px 14px;
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8125rem; font-weight: 650;
}
.hero__xip--temps svg { color: var(--ok); flex: 0 0 auto; }
.anim-ok .bento__foto { animation: fotoEntra 1.1s var(--e-entrada) .1s both; }
.anim-ok .bento__card { animation: fotoEntra 1s var(--e-entrada) .35s both; }
.anim-ok .bombolla img { animation: bombollaEntra .9s var(--e-entrada) var(--e, .3s) both; }
.anim-ok .hero__xip { animation: bombollaEntra .9s var(--e-entrada) .8s both; }
@keyframes fotoEntra { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.sense-anim .bento__foto, .sense-anim .bento__card, .sense-anim .bombolla img,
.sense-anim .hero__xip, .sense-anim .barres__fill { animation: none !important; }
@media (max-width: 480px) {
  .bento__card { padding: 14px; }
  .barres { gap: 6px; }
  .barres__nom, .barres__val { font-size: .75rem; }
  .bento__peu span:last-child { display: none; }
  .hero__xip--temps { font-size: .75rem; padding: 7px 11px; left: 10px; bottom: 10px; }
}
.js .valorador:not(.valorador--complet) .valorador__cap { display: none; }
.foto-peu {
  display: inline-block;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.9);
  font-size: .8125rem; font-weight: 600;
  color: var(--ink-2);
}
.seccion--amb-banda { padding-top: 0; }
.banda-foto {
  position: relative; margin: 0;
  height: clamp(230px, 42vw, 540px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 50%, transparent 88%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 50%, transparent 88%);
}
.banda-foto__capa { position: absolute; inset: -14% 0; }
.banda-foto__capa picture, .banda-foto__capa img { display: block; width: 100%; height: 100%; }
.banda-foto__capa img { object-fit: cover; object-position: 50% 55%; background: transparent; }
.banda-foto .foto-peu { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
.seccion--amb-banda > .contenedor { position: relative; margin-top: clamp(-3rem, -4vw, -1.5rem); }
.cap-amb-foto { display: grid; gap: var(--sp-5); margin-bottom: var(--sp-6); }
.cap-amb-foto .cap-seccion { margin-bottom: 0; }
.foto-fosa {
  position: relative; margin: 0 calc(-1 * var(--gutter));
  aspect-ratio: 3 / 2; overflow: hidden;
}
.foto-fosa picture, .foto-fosa img { display: block; width: 100%; height: 100%; }
.foto-fosa img {
  object-fit: cover; background: transparent;
  transform: scale(1.08);
  transition: transform 2.4s var(--e-entrada);
}
.foto-fosa.es-visible img { transform: scale(1); }   
.foto-fosa::after {   
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--sand) 0%, rgba(247,244,239,0) 22%, rgba(247,244,239,0) 62%, var(--sand) 100%);
}
.foto-fosa .foto-peu { position: absolute; z-index: 1; left: var(--gutter); bottom: 12%; }
@media (min-width: 900px) {
  .cap-amb-foto { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 0; }
  .cap-amb-foto .cap-seccion { position: relative; z-index: 1; padding-right: var(--sp-5); }
  .foto-fosa { margin: 0 calc(-1 * var(--gutter)) 0 calc(-1 * var(--sp-7)); border-radius: 0; }
  .foto-fosa::after {
    background:
      linear-gradient(to right, var(--sand) 0%, rgba(247,244,239,.6) 16%, rgba(247,244,239,0) 44%),
      linear-gradient(to left, var(--sand) 0%, rgba(247,244,239,0) 14%),
      linear-gradient(to bottom, var(--sand) 0%, rgba(247,244,239,0) 18%, rgba(247,244,239,0) 70%, var(--sand) 100%);
  }
  .foto-fosa .foto-peu { left: auto; right: var(--sp-5); }
}
@media (prefers-reduced-motion: reduce) {
  .bombolla, .bombolla img, .hero__xip, .bento__foto, .bento__card, .barres__fill { animation: none !important; }
  .foto-fosa img { transform: none; transition: none; }
}
.valorador {
  background: var(--superficie);
  border: 1px solid var(--line);
  border-radius: var(--radio);
  box-shadow: var(--sombra-2);
  padding: var(--sp-5);
}
.js .valorador { padding: var(--sp-5); }
.valorador__cap { display: none; }
.js .valorador__cap { display: block; margin-bottom: var(--sp-5); }
.valorador__progres {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); margin-bottom: var(--sp-3);
  font-size: var(--t-small); font-weight: 600; color: var(--ink-2);
}
.progres-pista { height: 6px; border-radius: 3px; background: var(--brand-100); overflow: hidden; }
.progres-fill {
  height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), #2A93A5);
  transition: width var(--d-media) var(--e-estado);
}
.pas { border: 0; padding: 0; margin: 0 0 var(--sp-6); min-width: 0; }
.pas:last-of-type { margin-bottom: 0; }
.js .pas { margin: 0; display: none; }
.js .pas[data-actiu] { display: block; }
.js .pas[data-actiu] { animation: pasEntra var(--d-media) var(--e-entrada) both; }
.js .pas[data-actiu][data-dir="enrere"] { animation-name: pasEntraEnrere; }
@keyframes pasEntra      { from { opacity: 0; transform: translate3d(28px,0,0); } to { opacity: 1; transform: none; } }
@keyframes pasEntraEnrere{ from { opacity: 0; transform: translate3d(-28px,0,0); } to { opacity: 1; transform: none; } }
.pas__llegenda {
  font-family: var(--font-title); font-size: var(--t-h3); font-weight: 600;
  line-height: 1.2; letter-spacing: -.02em; padding: 0;
  display: block; margin-bottom: var(--sp-2);
}
.pas__ajuda { font-size: var(--t-small); color: var(--ink-2); margin-bottom: var(--sp-4); }
.pas__peu { margin-top: var(--sp-5); display: flex; align-items: center; gap: var(--sp-3); }
.js .pas__peu--nav { justify-content: space-between; }
.camp { margin-bottom: var(--sp-4); }
.camp:last-child { margin-bottom: 0; }
.camp > label {
  display: block; font-size: var(--t-small); font-weight: 650;
  margin-bottom: var(--sp-2); color: var(--ink);
}
.camp__control {
  width: 100%; min-height: 56px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--superficie); color: var(--ink);
  border: 1px solid var(--vora-camp); border-radius: var(--radio-s);
  box-shadow: inset 0 1px 2px rgba(10,31,38,.05);
  transition: border-color var(--d-rapida) var(--e-estado), box-shadow var(--d-rapida) var(--e-estado);
  font-size: 16px;
}
.camp__control::placeholder { color: var(--ink-3); opacity: 1; }
.camp__control:hover { border-color: var(--ink-3); }
.camp__control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); outline: none; }
.camp__control[aria-invalid="true"] { border-color: var(--danger); }
.camp__error { display: block; font-size: var(--t-small); color: var(--danger); margin-top: var(--sp-2); font-weight: 600; }
.camp__error:empty { display: none; }
.camp--adreca { position: relative; }
.js .valorador__entrada { animation: entradaCamp var(--d-lenta) var(--e-entrada) both; }
@keyframes entradaCamp { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.suggeriments {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px);
  background: var(--superficie); border: 1px solid var(--line); border-radius: var(--radio-s);
  box-shadow: var(--sombra-3); max-height: 260px; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.suggeriments li { border-bottom: 1px solid var(--sand); }
.suggeriments li:last-child { border-bottom: 0; }
.suggeriments button {
  display: block; width: 100%; text-align: left; min-height: 52px;
  padding: var(--sp-3) var(--sp-4); font-size: .9375rem; line-height: 1.3;
}
.suggeriments button:hover,
.suggeriments li[aria-selected="true"] > button {
  background: var(--brand-050);
  box-shadow: inset 3px 0 0 var(--brand);
}
.suggeriments .sug__zona { display: block; font-size: var(--t-small); color: var(--ink-3); }
.suggeriments button { display: flex; align-items: flex-start; gap: 10px; }
.sug__icona { flex: 0 0 auto; margin-top: 2px; color: var(--ink-3); }
.sug__text { display: block; min-width: 0; }
.micro-cta { margin-top: var(--sp-3); text-align: center; }
.opcions { display: grid; gap: var(--sp-3); }
.opcions--2 { grid-template-columns: repeat(2, 1fr); }
.opcions--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .opcions--3 { grid-template-columns: repeat(3, 1fr); } }
.opcio { position: relative; }
.opcio input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opcio__cara {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--sp-2);
  min-height: 84px; padding: var(--sp-4);
  border: 2px solid var(--line); border-radius: var(--radio-s); background: var(--superficie);
  font-weight: 600; line-height: 1.25;
  transition: border-color var(--d-rapida) var(--e-estado),
              background-color var(--d-rapida) var(--e-estado),
              transform var(--d-rapida) var(--e-estado);
}
.opcio__cara small { display: block; font-weight: 400; font-size: var(--t-small); color: var(--ink-2); }
.opcio input:hover + .opcio__cara { border-color: var(--brand); }
.opcio input:focus-visible + .opcio__cara { outline: 3px solid var(--accent); outline-offset: 3px; }
.opcio input:checked + .opcio__cara {
  border-color: var(--brand); background: var(--brand-050);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.opcio input:active + .opcio__cara { transform: scale(.985); }
.opcio__icona { width: 28px; height: 28px; color: var(--brand); }
.xips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.xip { position: relative; }
.xip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.xip__cara {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 48px; padding: 0 var(--sp-4);
  border: 2px solid var(--line); border-radius: 999px; background: var(--superficie);
  font-size: .9375rem; font-weight: 600;
  transition: all var(--d-rapida) var(--e-estado);
}
.xip__cara::before {
  content: "+"; font-weight: 700; color: var(--ink-3); transition: transform var(--d-rapida) var(--e-estado);
}
.xip input:checked + .xip__cara { border-color: var(--brand); background: var(--brand); color: var(--sobre-brand); }
.xip input:checked + .xip__cara::before { content: "✓"; color: var(--sobre-brand); transform: scale(1.1); }
.xip input:focus-visible + .xip__cara { outline: 3px solid var(--accent); outline-offset: 3px; }
.stepper { display: flex; align-items: center; gap: var(--sp-3); }
.stepper__btn {
  width: 56px; height: 56px; flex: 0 0 56px;
  border: 2px solid var(--line); border-radius: 50%;
  font-size: 1.5rem; line-height: 1; color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--d-rapida) var(--e-estado);
}
.stepper__btn:hover { border-color: var(--brand); background: var(--brand-050); }
.stepper__valor {
  flex: 1; text-align: center; font-family: var(--font-title);
  font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.slider-grup { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.slider-grup input[type="number"] { max-width: 130px; text-align: center; font-weight: 700; }
.slider-grup .unitat { font-weight: 600; color: var(--ink-2); }
input[type="range"] {
  width: 100%; height: 44px; background: transparent; -webkit-appearance: none; appearance: none;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--brand-100); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--brand-100); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 32px; height: 32px; margin-top: -13px;
  border-radius: 50%; background: var(--brand); border: 4px solid var(--superficie);
  box-shadow: var(--sombra-2); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand);
  border: 4px solid var(--superficie); box-shadow: var(--sombra-2); cursor: grab;
}
.consent { display: flex; gap: var(--sp-3); align-items: flex-start; margin-top: var(--sp-4); }
.consent input[type="checkbox"] {
  flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px;
  accent-color: var(--brand); cursor: pointer;
}
.consent label { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent a { font-weight: 600; }
.trampa {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
body.valorador-obert .hero__cos { z-index: 100; }
.js .valorador--complet {
  position: fixed; inset: 0; z-index: 80;
  border-radius: 0; border: 0; box-shadow: none;
  background: var(--superficie);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 0;
  display: flex; flex-direction: column;
  animation: obreOverlay var(--d-media) var(--e-entrada) both;
}
@keyframes obreOverlay { from { opacity: 0; transform: translate3d(0,16px,0); } to { opacity: 1; transform: none; } }
.js .valorador--complet .valorador__cap {
  position: sticky; top: 0; z-index: 5; background: var(--superficie);
  padding: var(--sp-4) var(--gutter) var(--sp-3);
  border-bottom: 1px solid var(--line); margin: 0;
}
.js .valorador--complet .valorador__cos {
  flex: 1; width: 100%; max-width: 40rem; margin-inline: auto;
  padding: var(--sp-6) var(--gutter) calc(var(--sp-8) + var(--safe-b));
}
.valorador__tancar {
  position: absolute; right: var(--gutter); top: var(--sp-3);
  width: 44px; height: 44px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--ink-2);
}
.js .valorador--complet .valorador__tancar { display: flex; }
.calculant { text-align: center; padding: var(--sp-7) 0; }
.calculant__anell {
  width: 64px; height: 64px; margin: 0 auto var(--sp-5);
  border: 4px solid var(--brand-100); border-top-color: var(--brand);
  border-radius: 50%; animation: gira 900ms linear infinite;
}
@keyframes gira { to { transform: rotate(360deg); } }
.calculant__estat { font-weight: 600; color: var(--ink-2); min-height: 1.6em; }
.resultat { text-align: center; }
.resultat__avis-demo {
  display: block; background: var(--avis-fons); color: var(--avis-text);
  border: 1px solid var(--avis-vora); border-radius: var(--radio-s);
  padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-5);
  font-size: var(--t-small); font-weight: 600; text-align: left;
}
.resultat__xifra {
  font-family: var(--font-title); font-size: var(--t-xxl); font-weight: 700;
  letter-spacing: -.035em; line-height: 1.05; color: var(--brand-700);
  font-variant-numeric: tabular-nums; margin-block: var(--sp-3);
  display: flex; align-items: baseline; justify-content: center; gap: .25em; flex-wrap: wrap;
}
.resultat__guio { color: var(--ink-3); font-weight: 400; }
.resultat__m2 {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-1);
  background: var(--brand-050); border: 1px solid var(--brand-100);
  border-radius: var(--radio-s); padding: var(--sp-3) var(--sp-4);
  font-size: var(--t-small); font-weight: 600; color: var(--brand-700);
  text-align: center;
}
.resultat__m2 .separador { display: none; }
@media (min-width: 560px) {
  .resultat__m2 {
    flex-direction: row; justify-content: center; gap: .5em;
    border-radius: 999px; padding: var(--sp-2) var(--sp-4);
  }
  .resultat__m2 .separador { display: inline; }
}
.resultat__grafic { margin: var(--sp-6) 0; }
.resultat__grafic svg { width: 100%; height: auto; }
.resultat__legal {
  font-size: var(--t-small); color: var(--ink-2); text-align: left;
  background: var(--sand); border-left: 3px solid var(--ink-3);
  padding: var(--sp-3) var(--sp-4); border-radius: 0 var(--radio-s) var(--radio-s) 0;
  margin-top: var(--sp-5);
}
.informe {
  margin-top: var(--sp-6); padding: var(--sp-5);
  border: 2px solid var(--brand-100); border-radius: var(--radio);
  background: var(--brand-050); text-align: left;
}
.informe__previa {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2); margin-bottom: var(--sp-4);
}
.informe__pagina {
  aspect-ratio: 210/297; background: var(--superficie); border-radius: 6px;
  box-shadow: var(--sombra-1); overflow: hidden; filter: blur(3px);
  padding: 8px 6px;
}
.informe__pagina span { display: block; height: 3px; border-radius: 2px; background: var(--brand-100); margin-bottom: 5px; }
.informe__pagina span:nth-child(1) { background: var(--brand); width: 60%; height: 6px; }
.informe__pagina span:nth-child(3) { width: 80%; }
.informe__pagina span:nth-child(5) { width: 45%; }
.informe__previa::after {
  content: "🔒"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.75rem;
}
.codi-sms {
  display: flex; gap: var(--sp-2); justify-content: flex-start;
}
.codi-sms input {
  width: 56px; height: 64px; text-align: center; font-size: 1.5rem; font-weight: 700;
  border: 2px solid var(--line); border-radius: var(--radio-s);
}
.codi-sms input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px var(--brand-100); }
.avis { padding: var(--sp-3) var(--sp-4); border-radius: var(--radio-s); font-size: var(--t-small); font-weight: 600; margin-top: var(--sp-3); }
.avis--ok { background: var(--ok-fons); color: var(--ok-text); }
.avis--error { background: var(--error-fons); color: var(--error-text); }
.avis--info { background: var(--brand-050); color: var(--brand-700); }
.cta-fixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; gap: var(--sp-2); align-items: center;
  padding: var(--sp-3) var(--gutter) calc(var(--sp-3) + var(--safe-b));
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--d-media) var(--e-entrada);
}
.cta-fixa[data-visible] { transform: translateY(0); }
.cta-fixa .btn { flex: 1; min-height: 52px; }
.cta-fixa .btn--wa { flex: 0 0 52px; padding: 0; }
@media (min-width: 901px) { .cta-fixa { display: none; } }
.prova-social { background: var(--fosc); color: var(--white); padding-block: var(--sp-6); }
.prova-social__graella[hidden] { display: none; }
.prova-social__graella {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-4);
  text-align: center;
}
@media (min-width: 720px) { .prova-social__graella { grid-template-columns: repeat(4, 1fr); } }
.xifra {
  font-family: var(--font-title); font-size: clamp(1.75rem, 5vw, 2.75rem); font-weight: 700;
  letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
  color: var(--white); display: block;
}
.xifra__etiqueta { display: block; margin-top: var(--sp-2); font-size: var(--t-small); color: rgba(255,255,255,.75); line-height: 1.35; }
.passos { position: relative; display: grid; gap: var(--sp-6); }
.passos::before {
  content: ""; position: absolute; left: 21.5px; top: 22px; bottom: 22px; width: 1px;
  background: linear-gradient(to bottom, var(--brand), var(--line));
}
.pas-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--sp-4); align-content: start; }
.pas-card__num {
  grid-row: 1 / span 2;
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: var(--sobre-brand);
  box-shadow: 0 0 0 6px var(--nit);
  font-family: var(--font-title); font-size: 1.25rem; font-weight: 600; font-variant-numeric: lining-nums;
}
.pas-card h3 { grid-column: 2; margin: 9px 0 var(--sp-2); }
.pas-card p { grid-column: 2; color: var(--ink-2); max-width: 36ch; }
@media (min-width: 900px) {
  .passos { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--sp-7); }
  .passos::before {
    left: 22px; right: 0; top: 21.5px; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(to right, var(--brand), var(--line) 85%, transparent);
  }
  .pas-card { grid-template-columns: minmax(0, 1fr); }
  .pas-card__num { grid-row: auto; margin-bottom: var(--sp-5); }
  .pas-card h3, .pas-card p { grid-column: 1; }
  .pas-card h3 { margin-top: 0; }
}
.difs { display: grid; gap: var(--sp-4); }
@media (min-width: 720px) { .difs { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); } }
.dif {
  border-top: 2px solid var(--accent); padding-top: var(--sp-4);
}
.dif__titol { font-size: var(--t-h3); line-height: 1.3; font-weight: 650; }
.dif__dada {
  font-family: var(--font-title); font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700; letter-spacing: -.03em; color: var(--brand-700); line-height: 1;
  display: block; margin-bottom: var(--sp-2);
}
.crida {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.crida__text { flex: 1 1 18rem; }
.crida__titol { font-size: var(--t-h3); line-height: 1.3; margin-bottom: .25rem; }
.crida__sub { font-size: .9375rem; color: var(--ink-2); }
.crida .btn { flex: 0 0 auto; }
.crida--destacada {
  border: 1px solid var(--line); border-radius: var(--radio);
  background: var(--brand-050);
  padding: var(--sp-5); margin-top: var(--sp-6);
  border-top-width: 1px;
}
.crida--forta {
  background: var(--fosc); color: var(--white);
  border: 0; border-radius: var(--radio);
  padding: var(--sp-5) var(--sp-5);
  margin-top: var(--sp-6);
}
.crida--forta .crida__titol { color: var(--white); }
.crida--forta .crida__sub { color: rgba(255,255,255,.78); }
@media (max-width: 560px) {
  .crida { flex-direction: column; align-items: stretch; }
  .crida .btn { width: 100%; }
  .crida__text { flex: 0 1 auto; }
}
.taula-embolcall { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radio); border: 1px solid var(--line); }
.taula-mercat { min-width: 34rem; background: var(--superficie); }
.taula-mercat caption { text-align: left; padding: var(--sp-4); font-size: var(--t-small); color: var(--ink-2); }
.taula-mercat th, .taula-mercat td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.taula-mercat thead th { background: var(--sand); font-weight: 600; font-size: var(--t-small); color: var(--ink-2); }
.taula-mercat tbody tr { transition: background-color var(--d-rapida) var(--e-estado); }
.taula-mercat tbody tr:hover { background: var(--brand-050); }
.taula-mercat tbody tr:last-child td { border-bottom: 0; }
.taula-mercat td:not(:first-child) { font-variant-numeric: tabular-nums; }
.zones { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .zones { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .zones { grid-template-columns: repeat(3, 1fr); } }
.zona {
  background: var(--superficie); border: 1px solid var(--line); border-radius: var(--radio);
  padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.zona h3 { color: var(--brand-700); }
.zona__dades { display: flex; flex-direction: column; gap: var(--sp-2); font-size: var(--t-small); }
.zona__dada { display: flex; justify-content: space-between; gap: var(--sp-3); border-bottom: 1px dashed var(--line); padding-bottom: var(--sp-2); }
.zona__dada b { font-variant-numeric: tabular-nums; }
.zona__cta { margin-top: auto; }
.zones-secundaries { margin-top: var(--sp-5); font-size: var(--t-small); color: var(--ink-2); }
.zones-nota {
  margin-top: var(--sp-4);
  padding-left: var(--sp-3);
  border-left: 2px solid var(--line);
  font-size: var(--t-small);
  color: var(--ink-2);
  max-width: 62ch;
}
.casos { display: grid; gap: var(--sp-4); }
@media (min-width: 700px)  { .casos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .casos { grid-template-columns: repeat(3, 1fr); } }
.cas {
  display: flex; flex-direction: column; gap: var(--sp-3);
  background: var(--superficie);
  border: 1px solid var(--line);
  border-radius: var(--radio);
  padding: var(--sp-5);
  transition: transform var(--d-rapida) var(--e-estado), box-shadow var(--d-rapida) var(--e-estado), border-color var(--d-rapida) var(--e-estado);
}
.cas:hover { transform: translateY(-2px); border-color: var(--brand-100); box-shadow: var(--sombra-2); }
.cas__titol {
  font-family: var(--font-body);        
  font-size: 1.0625rem; line-height: 1.35; font-weight: 700;
  letter-spacing: -.01em; text-wrap: balance;
}
@media (min-width: 1040px) { .cas__titol { font-size: 1.125rem; } }
.cas p { font-size: .9375rem; color: var(--ink-2); }
.cas__accio { margin-top: auto; }
.cas__accio a {
  font-weight: 650; text-decoration: none; color: var(--accent);
  display: inline-block; min-height: 44px; line-height: 44px;
}
.cas__accio a:hover { color: var(--accent-600); text-decoration: underline; }
.agent { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 780px) { .agent { grid-template-columns: 300px 1fr; gap: var(--sp-7); } }
.agent__foto { border-radius: var(--radio); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.agent__credencials { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-4) 0; }
.credencial {
  font-size: var(--t-small); font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: var(--sp-2) var(--sp-3); border-radius: 999px;
}
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 64px; padding: var(--sp-4) 0;
  font-family: var(--font-title); font-size: 1.1875rem; font-weight: 500; letter-spacing: -.01em;
  transition: color var(--d-rapida) var(--e-estado);
}
.faq summary:hover { color: var(--brand-700); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 12px; width: 12px; height: 12px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--d-rapida) var(--e-estado);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding-bottom: var(--sp-5); color: var(--ink-2); max-width: var(--ancho-text); }
.cta-final { text-align: center; }
.cta-final .valorador { max-width: 32rem; margin: var(--sp-6) auto 0; text-align: left; }
.peu { background: var(--ink); color: rgba(255,255,255,.72); padding-block: var(--sp-7) var(--sp-6); font-size: .9375rem; }
.peu a { color: rgba(255,255,255,.9); }
.peu a:hover { color: var(--white); }
.peu__graella { display: grid; gap: var(--sp-6); }
@media (min-width: 720px) { .peu__graella { grid-template-columns: 1.2fr 1fr 1fr; } }
.peu h2, .peu h3 { color: var(--white); font-size: 1rem; margin-bottom: var(--sp-3); }
.peu li { margin-bottom: var(--sp-2); }
.peu__legal {
  margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); font-size: var(--t-small);
}
.peu__nap { font-style: normal; line-height: 1.7; }
.peu__acces {
  margin-left: auto;
  opacity: .62;
  text-decoration: none;
}
.peu__acces:hover, .peu__acces:focus-visible { opacity: 1; text-decoration: underline; }
@media (max-width: 640px) { .peu__acces { margin-left: 0; } }
.botonera { background: var(--sand); padding: clamp(2.5rem, 5vw, 4.5rem) clamp(12px, 3vw, 40px); }
.botonera__card {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1320px; margin-inline: auto;
  border-radius: clamp(24px, 3vw, 40px);
  background: #0B1C21;
  padding: clamp(3.5rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 4rem);
  text-align: center; color: var(--white);
}
.botonera__card::before {   
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 75% at 100% 0%, rgba(42,147,165,.42), rgba(15,92,107,.12) 45%, transparent 70%);
}
.botonera__foto {
  position: absolute; z-index: -2; top: 0; right: 0; width: 62%; height: 100%;
  opacity: .22; pointer-events: none;
  -webkit-mask-image: radial-gradient(80% 90% at 100% 0%, #000 20%, transparent 72%);
          mask-image: radial-gradient(80% 90% at 100% 0%, #000 20%, transparent 72%);
}
.botonera__foto picture, .botonera__foto img { display: block; width: 100%; height: 100%; }
.botonera__foto img { object-fit: cover; background: transparent; }
.botonera__eyebrow {
  display: inline-flex; align-items: center; gap: 1rem;
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
  font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); font-weight: 600;
  color: var(--fosc-suau);
}
.botonera__eyebrow::before { content: ""; width: 3rem; height: 1.5px; background: currentColor; }
.botonera__titol {
  font-family: var(--font-title); font-optical-sizing: auto; font-weight: 600;
  font-size: clamp(2rem, 1.1rem + 3.6vw, 4.25rem);
  line-height: 1.08; letter-spacing: -.02em;
  color: var(--white); text-wrap: balance;
}
.botonera__titol span { display: block; }
.botonera__accent {
  color: var(--fosc-suau);
  text-decoration: underline;
  text-decoration-color: rgba(143,211,222,.45);
  text-decoration-thickness: .075em;
  text-underline-offset: .12em;
}
.botonera__sub {
  max-width: 46rem; margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  font-size: clamp(1rem, .92rem + .45vw, 1.375rem); line-height: 1.65;
  color: rgba(255,255,255,.74);
}
.botonera__btn,
.botonera__btn:hover {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  min-height: 64px; padding: 0 2.25rem; border-radius: 12px;
  background: var(--accent); color: var(--white);
  font-size: 1.125rem; font-weight: 700;
  box-shadow: 0 14px 36px -10px rgba(192,73,31,.65);
}
.botonera__btn:hover { background: var(--accent-600); transform: translateY(-1px); }
.botonera__xifres {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(.8125rem, .78rem + .15vw, .9375rem);
  color: rgba(255,255,255,.62);
}
.botonera__xifres span { margin-inline: .35em; }
@media (max-width: 480px) {
  .botonera__btn { width: 100%; padding: 0 1rem; }
  .botonera__foto { width: 100%; opacity: .16; }
}
.cookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--superficie); border-top: 2px solid var(--brand-700);
  box-shadow: 0 -8px 32px rgba(10,31,38,.16);
  padding: var(--sp-4) var(--gutter) calc(var(--sp-3) + var(--safe-b));
  max-height: 62vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.cookies__cos { max-width: var(--ancho); margin-inline: auto; }
.cookies__titol { font-size: 1rem; margin-bottom: var(--sp-1); }
.cookies p.small { font-size: 0.8125rem; line-height: 1.45; }
.cookies__botons {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2); margin-top: var(--sp-3);
}
.cookies__botons .btn { width: 100%; min-height: 48px; padding: 0 var(--sp-2); font-size: .875rem; }
.cookies__panell { margin-top: var(--sp-4); border-top: 1px solid var(--line); padding-top: var(--sp-4); }
.cookies__opcio { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) 0; border-bottom: 1px solid var(--sand); }
.cookies__opcio input { flex: 0 0 24px; width: 24px; height: 24px; accent-color: var(--brand); margin-top: 2px; }
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity var(--d-lenta) var(--e-entrada), transform var(--d-lenta) var(--e-entrada);
  transition-delay: var(--retard, 0ms);
}
.js [data-reveal].es-visible { opacity: 1; transform: none; }
.cursor {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border: 1.5px solid var(--brand); border-radius: 50%;
  transition: width 200ms var(--e-estado), height 200ms var(--e-estado),
              margin 200ms var(--e-estado), opacity 200ms var(--e-estado),
              background-color 200ms var(--e-estado);
  opacity: 0;
}
.cursor[data-actiu] { opacity: .55; }
.cursor[data-hover] { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(15,92,107,.08); opacity: .9; }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .linia > span { transform: none !important; transition: none !important; }
  .hero__fons { transform: none !important; }
  [data-parallax] { transform: none !important; }
  .cursor { display: none; }
  .js [data-reveal] { transition-duration: 240ms; transform: none; opacity: 1; }
  .js [data-reveal]:not(.es-visible) { animation: apareix 240ms var(--e-entrada) both; }
}
@keyframes apareix { from { opacity: 0; } to { opacity: 1; } }
@media print {
  .capcalera, .cta-fixa, .cookies, .barra-scroll, .cursor,
  .seccion:not(.per-imprimir), .peu, .valorador__cap { display: none !important; }
  body { padding: 0; background: var(--superficie); }
  .informe-imprimible { display: block !important; }
  .informe-imprimible .pagina-informe { page-break-after: always; padding: 12mm; }
  a[href]::after { content: ""; }
}
.informe-imprimible { display: none; }
.opcio, .opcio__cara, .xip, .xip__cara, .stepper__btn,
.btn, button, [data-accio], label, a[href], select, summary,
input[type="radio"], input[type="checkbox"], input[type="submit"] {
  touch-action: manipulation;
}
@media not all and (hover: hover) and (pointer: fine) {
  .btn:hover, .cas:hover { transform: none; }
  .btn:hover svg { transform: none; }
  .btn--principal:hover { background: var(--accent); }
  .btn--marca:hover     { background: var(--brand); }
  .btn--contorn:hover   { border-color: var(--line); background: transparent; }
  .btn.btn--wa:hover    { background: #0B6B61; }
  .btn--fantasma:hover  { color: var(--ink-2); }
  .opcio input:hover + .opcio__cara { border-color: var(--line); }
  .stepper__btn:hover   { border-color: var(--line); background: transparent; }
  .camp__control:hover  { border-color: var(--vora-camp); }
  .taula-mercat tbody tr:hover { background: none; }
  .cas__accio a:hover   { color: var(--accent); text-decoration: none; }
  .botonera__btn:hover  { background: var(--accent); transform: none; }
}

/* ==========================================================================
   Añadidos propios de Valorador Maresme (no existen en la página de referencia)
   ========================================================================== */
.var-sube { color: var(--ok); font-weight: 700; }
.var-baja { color: var(--danger); font-weight: 700; }
.peu__aicat { margin-top: var(--sp-3); font-size: var(--t-small); color: rgba(255,255,255,.55); }
.peu ul { margin: 0; }
.zona__mas { font-size: var(--t-small); font-weight: 600; text-decoration: none; color: var(--accent); }
.zona__mas:hover { color: var(--accent-600); text-decoration: underline; }
.contenedor--estrecho { max-width: 48rem; }
.rejilla-2 { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .rejilla-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7); align-items: start; } }

/* Migas y página de municipio */
.migas { padding-top: var(--sp-4); font-size: var(--t-small); }
.migas ol { display: flex; gap: var(--sp-2); flex-wrap: wrap; color: var(--ink-2); }
.migas li + li::before { content: "/"; margin-right: var(--sp-2); color: var(--ink-3); }
.hero--municipio .hero__visual { margin-top: var(--sp-5); }
.ficha-municipio { background: var(--superficie); border: 1px solid var(--line); }
.ficha-municipio__precio { display: flex; align-items: baseline; gap: 4px; margin: 0; }
.ficha-municipio__precio strong { font-family: var(--font-title); font-size: var(--t-xxl); letter-spacing: -.03em; line-height: 1.1; color: var(--brand-700); }
.ficha-municipio__var { font-size: var(--t-small); margin-bottom: var(--sp-3); }
.grafico { margin: var(--sp-4) 0 var(--sp-2); background: var(--superficie); border: 1px solid var(--line); border-radius: var(--radio); padding: var(--sp-4); }
.grafico svg { width: 100%; height: auto; }
.grafico__eje line { stroke: var(--line); stroke-dasharray: 3 4; }
.grafico__eje text, .grafico__mes { fill: var(--ink-2); font-size: 11px; font-family: var(--font-body); }
.grafico__area { fill: rgba(15,92,107,.10); }
.grafico__linea { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.grafico__punto { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.grafico__valor { fill: var(--ink); font: 700 12px var(--font-body); }

/* Páginas legales y simples */
.legal h1 { margin-bottom: var(--sp-5); }
.legal h2 { font-family: var(--font-body); font-size: 1.05rem; letter-spacing: 0; margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.legal p { color: var(--ink-2); }
.simple { min-height: 50vh; }
.simple__acciones { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-5); }

/* Resultado: desglose y comparación (el original los muestra solo en el informe PDF) */
.resultat__desglose { text-align: left; margin-top: var(--sp-5); }
.resultat__desglose h3 { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; margin-bottom: var(--sp-3); }
.resultat__desglose ul { display: grid; gap: var(--sp-2); }
.resultat__desglose li { display: flex; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px dashed var(--line); font-size: var(--t-small); }
.resultat__desglose li b { font-variant-numeric: tabular-nums; }
.resultat__comparar { text-align: left; margin-top: var(--sp-4); }

/* Informe imprimible (Guardar como PDF desde el diálogo de impresión) */
/* El informe imprimible vive en assets/css/informe.css */

.marca .marca__logo { color: var(--brand); }

.opcio input, .xip input { z-index: 1; }

.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.barres__fill.bw-0 { --w: 0; }
.barres__fill.bw-1 { --w: 0.01; }
.barres__fill.bw-2 { --w: 0.02; }
.barres__fill.bw-3 { --w: 0.03; }
.barres__fill.bw-4 { --w: 0.04; }
.barres__fill.bw-5 { --w: 0.05; }
.barres__fill.bw-6 { --w: 0.06; }
.barres__fill.bw-7 { --w: 0.07; }
.barres__fill.bw-8 { --w: 0.08; }
.barres__fill.bw-9 { --w: 0.09; }
.barres__fill.bw-10 { --w: 0.1; }
.barres__fill.bw-11 { --w: 0.11; }
.barres__fill.bw-12 { --w: 0.12; }
.barres__fill.bw-13 { --w: 0.13; }
.barres__fill.bw-14 { --w: 0.14; }
.barres__fill.bw-15 { --w: 0.15; }
.barres__fill.bw-16 { --w: 0.16; }
.barres__fill.bw-17 { --w: 0.17; }
.barres__fill.bw-18 { --w: 0.18; }
.barres__fill.bw-19 { --w: 0.19; }
.barres__fill.bw-20 { --w: 0.2; }
.barres__fill.bw-21 { --w: 0.21; }
.barres__fill.bw-22 { --w: 0.22; }
.barres__fill.bw-23 { --w: 0.23; }
.barres__fill.bw-24 { --w: 0.24; }
.barres__fill.bw-25 { --w: 0.25; }
.barres__fill.bw-26 { --w: 0.26; }
.barres__fill.bw-27 { --w: 0.27; }
.barres__fill.bw-28 { --w: 0.28; }
.barres__fill.bw-29 { --w: 0.29; }
.barres__fill.bw-30 { --w: 0.3; }
.barres__fill.bw-31 { --w: 0.31; }
.barres__fill.bw-32 { --w: 0.32; }
.barres__fill.bw-33 { --w: 0.33; }
.barres__fill.bw-34 { --w: 0.34; }
.barres__fill.bw-35 { --w: 0.35; }
.barres__fill.bw-36 { --w: 0.36; }
.barres__fill.bw-37 { --w: 0.37; }
.barres__fill.bw-38 { --w: 0.38; }
.barres__fill.bw-39 { --w: 0.39; }
.barres__fill.bw-40 { --w: 0.4; }
.barres__fill.bw-41 { --w: 0.41; }
.barres__fill.bw-42 { --w: 0.42; }
.barres__fill.bw-43 { --w: 0.43; }
.barres__fill.bw-44 { --w: 0.44; }
.barres__fill.bw-45 { --w: 0.45; }
.barres__fill.bw-46 { --w: 0.46; }
.barres__fill.bw-47 { --w: 0.47; }
.barres__fill.bw-48 { --w: 0.48; }
.barres__fill.bw-49 { --w: 0.49; }
.barres__fill.bw-50 { --w: 0.5; }
.barres__fill.bw-51 { --w: 0.51; }
.barres__fill.bw-52 { --w: 0.52; }
.barres__fill.bw-53 { --w: 0.53; }
.barres__fill.bw-54 { --w: 0.54; }
.barres__fill.bw-55 { --w: 0.55; }
.barres__fill.bw-56 { --w: 0.56; }
.barres__fill.bw-57 { --w: 0.57; }
.barres__fill.bw-58 { --w: 0.58; }
.barres__fill.bw-59 { --w: 0.59; }
.barres__fill.bw-60 { --w: 0.6; }
.barres__fill.bw-61 { --w: 0.61; }
.barres__fill.bw-62 { --w: 0.62; }
.barres__fill.bw-63 { --w: 0.63; }
.barres__fill.bw-64 { --w: 0.64; }
.barres__fill.bw-65 { --w: 0.65; }
.barres__fill.bw-66 { --w: 0.66; }
.barres__fill.bw-67 { --w: 0.67; }
.barres__fill.bw-68 { --w: 0.68; }
.barres__fill.bw-69 { --w: 0.69; }
.barres__fill.bw-70 { --w: 0.7; }
.barres__fill.bw-71 { --w: 0.71; }
.barres__fill.bw-72 { --w: 0.72; }
.barres__fill.bw-73 { --w: 0.73; }
.barres__fill.bw-74 { --w: 0.74; }
.barres__fill.bw-75 { --w: 0.75; }
.barres__fill.bw-76 { --w: 0.76; }
.barres__fill.bw-77 { --w: 0.77; }
.barres__fill.bw-78 { --w: 0.78; }
.barres__fill.bw-79 { --w: 0.79; }
.barres__fill.bw-80 { --w: 0.8; }
.barres__fill.bw-81 { --w: 0.81; }
.barres__fill.bw-82 { --w: 0.82; }
.barres__fill.bw-83 { --w: 0.83; }
.barres__fill.bw-84 { --w: 0.84; }
.barres__fill.bw-85 { --w: 0.85; }
.barres__fill.bw-86 { --w: 0.86; }
.barres__fill.bw-87 { --w: 0.87; }
.barres__fill.bw-88 { --w: 0.88; }
.barres__fill.bw-89 { --w: 0.89; }
.barres__fill.bw-90 { --w: 0.9; }
.barres__fill.bw-91 { --w: 0.91; }
.barres__fill.bw-92 { --w: 0.92; }
.barres__fill.bw-93 { --w: 0.93; }
.barres__fill.bw-94 { --w: 0.94; }
.barres__fill.bw-95 { --w: 0.95; }
.barres__fill.bw-96 { --w: 0.96; }
.barres__fill.bw-97 { --w: 0.97; }
.barres__fill.bw-98 { --w: 0.98; }
.barres__fill.bw-99 { --w: 0.99; }
.barres__fill.bw-100 { --w: 1; }

/* ---------- Letra del certificado energético (colores de la etiqueta europea) ---------- */
.cert-lletra {
  display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .35em;
  border-radius: 4px; font-weight: 700; font-size: .85em; line-height: 1; color: #fff; vertical-align: .05em;
}
.cert-lletra--a { background: #0a7f35; }
.cert-lletra--b { background: #2f9a2c; }
.cert-lletra--c { background: #9cbf2b; color: #1c2a05; }
.cert-lletra--d { background: #f2d500; color: #2a2400; }
.cert-lletra--e { background: #f0a000; color: #2a1a00; }
.cert-lletra--f { background: #e0600c; }
.cert-lletra--g { background: #c8161d; }
@media print { .cert-lletra { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Aviso de cifras de demostración (solo con `npm run demo`, en el ordenador local) */
.prova-social__demo {
  margin: 12px auto 0; max-width: 60ch; padding: 6px 10px; border: 1px dashed var(--warn); border-radius: 8px;
  color: var(--warn); font-size: .78rem; text-align: center;
}
