/* Base clara i superfícies definides, inspirades en el primer esborrany. */
body { background:#f5f6f8; }
.inner-header { position:relative; background:var(--paper); border-bottom:1px solid #e2e4e8; }
.demoscopia-hero { min-height:440px; padding:82px 10vw 88px; background:var(--paper); display:flex; flex-direction:column; justify-content:space-between; }
.demoscopia-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; }
.demoscopia-heading h1 { margin:0; }
.hero-note { max-width:410px; margin:0 0 8px; padding-left:18px; border-left:2px solid var(--orange); font:.72rem/1.7 'DM Mono',monospace; transform: translateX(-55px);}

/* El contingut recupera el patró de panell de l'HTML de referència. */
.study { max-width:1100px; margin:24px auto 0; padding:42px; display:grid; grid-template-columns:150px minmax(0,1fr); gap:3vw; background:#fff; border:1px solid #e2e4e8; border-radius:12px; }
.study-copy { max-width:none; }
.study-copy h2,.reports h2 { font-size:clamp(2.1rem,4vw,4.2rem); line-height:1.02; letter-spacing:-.075em; margin-bottom:28px; }
.study-copy p { max-width:none; font-size:1rem; line-height:1.75; color:#55595f; }
.study-copy p + p { margin-top:18px; }

.reports { max-width:1100px; margin:24px auto; padding:42px; background:#fff; color:var(--ink); border:1px solid #e2e4e8; border-radius:12px; }
.reports .section-label { color:#68736e; }
.reports-heading { display:grid; grid-template-columns:150px minmax(0,1fr); gap:3vw; margin-bottom:34px; }
.reports-heading > div { width:100%; }
.reports-heading h2 { margin:0 0 15px; }
.reports-heading p:not(.section-label) { max-width:none; margin:0; color:#55595f; font-size:.9rem; line-height:1.65; }
.text-link-demo { margin:8px 0; padding-left:20px; }
.text-link-demo li + li { margin-top:4px; }
.text-link-demo .text-link { margin-top:0; font-weight:400; }
.report-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.report-card { min-height:280px; padding:23px; display:flex; flex-direction:column; justify-content:space-between; position:relative; overflow:hidden; color:var(--ink); text-decoration:none; background:#fff; border:1px solid #e2e4e8; border-radius:10px; transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease; }
.report-card:hover { border-color:var(--orange); box-shadow:0 8px 20px rgba(20,36,31,.09); transform:translateY(-3px); }
/* Colors de l'univers visual principal, presents com a senyal i no com a fons massiu. */
.report-lime { border-top:5px solid var(--lime); }.report-dark { border-top:5px solid #294940; }.report-orange { border-top:5px solid var(--orange); }
.report-number { font:.67rem 'DM Mono',monospace; letter-spacing:.055em; color:#68736e; }
.report-card h3 { margin:0 0 13px; font-size:clamp(1.45rem,2.2vw,2.2rem); line-height:1; letter-spacing:-.065em; }
.report-card p { max-width:250px; margin:0; color:#6b6f76; font-size:.85rem; line-height:1.6; }
.report-arrow { position:absolute; right:20px; bottom:16px; color:var(--orange); font-size:1.7rem; }.report-card:hover .report-arrow { transform:translate(3px,-3px); transition:transform .15s; }

.method { max-width:1100px; margin:0 auto 24px; padding:30px 42px; display:grid; grid-template-columns:150px minmax(0,1fr); gap:3vw; background:#fff; border:1px solid #e2e4e8; border-radius:12px; }
.method > p:last-child { max-width:680px; margin:0; color:#55595f; font-size:.85rem; line-height:1.7; }

@media(max-width:1150px) { .study,.reports,.method { margin-left:5vw; margin-right:5vw; } }
@media(max-width:700px) { .demoscopia-hero { min-height:380px; padding:65px 8vw; }.demoscopia-heading { display:block; }.hero-note { margin:30px 0 0; }.study,.reports,.method { margin-left:4vw; margin-right:4vw; padding:28px; grid-template-columns:1fr; gap:25px; }.reports-heading { grid-template-columns:1fr; gap:25px; margin-bottom:30px; }.report-grid { grid-template-columns:1fr; }.report-card { min-height:235px; } }
