/* Women's Sports Festival — estils de la web */
:root {
  --rosa: #FFA5FE;
  --rosa-fosc: #7A1F79;
  --verd: #24890D;
  --verd-fosc: #1F7A0B;
  --negre: #1A1A1A;
  --negre-2: #242424;
  --negre-3: #111111;
  --crema: #EEF0E7;
  --blanc: #F5F5F2;
  --gris: #C9C9C2;
  --gris-2: #B8B8B0;
  --gris-fosc: #4A4A45;
  --vora: #3A3A3A;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radi: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--negre);
  color: var(--blanc);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rosa); }
a:hover { color: #ffd0ff; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--rosa); color: var(--negre); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1; }
h2.display { margin: 0 0 40px; font-size: clamp(38px, 5vw, 60px); }
.eyebrow { margin: 0 0 8px; font-weight: 700; color: var(--rosa); letter-spacing: 0.12em; font-size: 14px; text-transform: uppercase; }

/* Botons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 14px 24px; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; min-height: 48px; }
.btn-rosa { background: var(--rosa); color: var(--negre); }
.btn-rosa:hover { background: #ffc2fe; color: var(--negre); }
.btn-fosc { background: var(--negre); color: #fff; }
.btn-fosc:hover { background: #000; color: #fff; }
.btn-linia { color: var(--blanc); border: 1px solid var(--blanc); background: rgba(20,20,20,0.35); font-weight: 500; }
.btn-linia:hover { background: rgba(20,20,20,0.6); color: #fff; }
.btn-verd { background: var(--verd-fosc); color: #fff; }
.btn-verd:hover { background: #17600a; color: #fff; }
.btn-gran { padding: 18px 28px; font-size: 18px; }

/* Capçalera */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--negre); border-bottom: 1px solid #333; }
.site-header .wrap { display: flex; align-items: center; gap: 16px 32px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 0.9; color: var(--blanc); }
.logo span:first-child { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: 0.04em; color: var(--rosa); }
.logo span:last-child { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.18em; color: var(--blanc); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--blanc); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--rosa); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid #555; background: transparent; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; }

/* Portada */
.hero {
  position: relative; min-height: 780px; display: flex; align-items: flex-end;
  border-bottom: 4px solid var(--rosa);
  background-image: linear-gradient(to bottom, rgba(20,20,20,0) 0%, rgba(20,20,20,0) 30%, rgba(20,20,20,0.55) 52%, rgba(20,20,20,0.88) 72%, rgba(20,20,20,0.96) 100%), url('../img/hero.jpg');
  background-size: cover; background-position: center 15%;
}
.hero .wrap { width: 100%; padding-top: 40px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.hero-text { flex: 999 1 560px; min-width: 0; }
.pill { display: inline-block; background: var(--rosa); color: var(--negre); font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(48px, 7vw, 96px); line-height: 0.92; letter-spacing: 0.01em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.hero h1 em { font-style: normal; color: var(--rosa); }
.hero p { margin: 18px 0 0; max-width: 620px; font-size: 19px; text-shadow: 0 1px 10px rgba(0,0,0,0.6); }
.hero-ctas { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }

/* Seccions */
.section { padding-top: 96px; padding-bottom: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.reason { background: var(--negre-2); border-radius: var(--radi); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.reason .num { font-family: var(--display); font-weight: 900; font-size: 56px; line-height: 1; color: var(--rosa); }
.reason h3 { margin: 0; font-size: 22px; }
.reason p { margin: 0; color: var(--gris); }

/* Què t'oferim */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--negre-2); border-radius: var(--radi); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 22px; }
.card p { margin: 0; color: var(--gris); font-size: 16px; }
.more { margin: 20px 0 0; color: var(--gris); font-size: 16px; }

/* Carrusel */
.carousel { position: relative; height: 220px; background: var(--negre-3); overflow: hidden; }
.carousel .slides { display: flex; height: 100%; transition: transform 0.35s ease; }
.carousel img { flex: 0 0 100%; width: 100%; height: 220px; object-fit: cover; }
.carousel .count { position: absolute; top: 10px; right: 10px; background: rgba(20,20,20,0.7); color: var(--blanc); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.carousel .arrow { position: absolute; top: 88px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(20,20,20,0.65); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel .arrow:hover { background: rgba(20,20,20,0.85); }
.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }
.carousel .dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 2px; }
.carousel .dots button { width: 28px; height: 28px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel .dots span { display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(245,245,242,0.75); }
.carousel .dots button[aria-current="true"] span { width: 10px; height: 10px; background: var(--rosa); }

/* Targeta animada de novetats */
.teaser { position: relative; height: 220px; overflow: hidden; background: var(--rosa); }
.teaser .float, .teaser .badge, .teaser .box-svg { position: absolute; }
.wsf-lid { transform-box: fill-box; transform-origin: 15% 100%; animation: wsf-lid 4s ease-in-out infinite; }
.wsf-q { transform-box: fill-box; transform-origin: center; animation: wsf-q 4s ease-out infinite; }
.wsf-box { transform-box: fill-box; transform-origin: center bottom; animation: wsf-wiggle 4s ease-in-out infinite; }
.float { animation: wsf-float 3.2s ease-in-out infinite; }
.badge { animation: wsf-spin 14s linear infinite; }
.conf { position: absolute; top: 0; width: 8px; height: 12px; border-radius: 2px; animation: wsf-fall 3.6s linear infinite; }
@keyframes wsf-lid { 0%, 55%, 100% { transform: translateY(0) rotate(0); } 65%, 88% { transform: translateY(-16px) rotate(-14deg); } }
@keyframes wsf-q { 0%, 58%, 100% { opacity: 0; transform: translateY(16px) scale(.5); } 70%, 86% { opacity: 1; transform: translateY(-34px) scale(1); } }
@keyframes wsf-wiggle { 0%, 40%, 58%, 100% { transform: rotate(0); } 44% { transform: rotate(-4deg); } 48% { transform: rotate(4deg); } 52% { transform: rotate(-3deg); } }
@keyframes wsf-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(10deg); } }
@keyframes wsf-spin { to { transform: rotate(360deg); } }
@keyframes wsf-fall { 0% { transform: translateY(-20px) rotate(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(240px) rotate(320deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wsf-lid, .wsf-q, .wsf-box, .float, .badge, .conf { animation: none; }
  .wsf-q { opacity: 1; transform: translateY(-30px); }
  .carousel .slides { transition: none; }
}

/* Programa */
.muted { color: var(--gris-2); font-size: 15px; margin: 0 0 36px; }
.day { border: 1px solid var(--vora); border-radius: var(--radi); padding: 28px 30px; }
.day h3 { margin: 0 0 18px; font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; color: var(--rosa); }
.day ul { list-style: none; margin: 0; padding: 0; }
.day li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid #333; }
.day li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--rosa); }
.day li b { width: 72px; flex: none; }

/* Preus */
.light { background: var(--crema); color: var(--negre); }
.light .eyebrow { color: var(--verd-fosc); }
.prices { margin-top: 80px; }
.prices .wrap { padding-top: 96px; padding-bottom: 96px; }
.prices-head { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.prices-head > div { flex: 1 1 480px; }
.prices-head h2 { margin: 0; }
.prices-head p { margin: 12px 0 0; color: var(--gris-fosc); }
.includes { flex: 1 1 420px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 20px; font-size: 15px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; }
.includes svg { flex: none; margin-top: 2px; }
.tier { background: #fff; border-radius: var(--radi); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.tier.now { background: var(--negre); color: var(--blanc); }
.tier .tag { align-self: flex-start; border: 1px solid var(--negre); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.tier.now .tag { background: var(--rosa); color: var(--negre); border-color: var(--rosa); }
.tier h3 { margin: 0; font-size: 20px; }
.tier .when { margin: 0; color: var(--gris-fosc); font-size: 15px; }
.tier.now .when { color: var(--gris-2); }
.tier .price { margin: 6px 0 0; font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; }
.tier .save { margin: 0; color: var(--gris-fosc); font-size: 15px; }
.tier.now .save { color: var(--rosa); font-weight: 500; }
.tier .btn { margin-top: 8px; }
.note { margin: 24px 0 0; font-size: 15px; color: var(--gris-fosc); }

/* FAQ */
.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--vora); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--vora); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--gris); }
.contact { margin-top: 36px; background: var(--negre-2); border-radius: var(--radi); padding: 28px 30px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.contact p { margin: 0; font-size: 18px; font-weight: 500; }
.contact div { display: flex; flex-wrap: wrap; gap: 10px; }
.contact .btn-linia { border-color: #6B6B66; background: transparent; font-size: 15px; }

/* Patrocinadors */
.sponsors-title { margin: 0 0 24px; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris-2); font-weight: 700; }
.sponsors { display: flex; flex-wrap: wrap; gap: 16px; }
.sponsor { background: #fff; border-radius: 16px; width: 220px; height: 120px; display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; }
.sponsor img { max-height: 80px; width: auto; }
.sponsor.full { padding: 0; background: #000; }
.sponsor.full img { max-height: 120px; }
.sponsor-cta { border: 1px dashed #6B6B66; border-radius: 16px; width: 220px; height: 120px; display: flex; align-items: center; justify-content: center; color: var(--gris-2); font-size: 15px; text-align: center; padding: 16px; text-decoration: none; }
.sponsor-cta:hover { color: var(--rosa); border-color: var(--rosa); }

/* Peu */
.site-footer { background: var(--negre-3); border-top: 4px solid var(--rosa); margin-top: 96px; }
.site-footer .top { padding-top: 56px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer .brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer .brand .name { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 0.9; color: var(--rosa); }
.site-footer .brand .name span { color: var(--blanc); font-size: 22px; letter-spacing: 0.16em; }
.site-footer .brand p { margin: 0; color: var(--gris-2); font-size: 15px; }
.site-footer .ig { display: inline-flex; align-items: center; gap: 8px; color: var(--blanc); text-decoration: none; font-weight: 500; padding: 10px 0; }
.site-footer .bottom { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #2A2A2A; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: #9A9A93; font-size: 14px; }
.site-footer .bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer .bottom a { color: var(--gris-2); }

/* WhatsApp flotant i barra mòbil */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; background: var(--verd-fosc); color: #fff; text-decoration: none; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); font-weight: 700; font-size: 16px; }
.wa-float:hover { background: #17600a; color: #fff; }
.mobile-bar { display: none; }

/* Pàgina d'inscripció */
.page-light { background: var(--crema); color: var(--negre); }
.page-light a { color: var(--rosa-fosc); }
.page-light a:hover { color: #4F114E; }
.reg-head { padding-top: 48px; padding-bottom: 24px; }
.reg-head h1 { margin: 0; font-size: clamp(40px, 5vw, 64px); }
.reg-head > p { margin: 10px 0 0; color: var(--gris-fosc); font-size: 18px; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 500; font-size: 15px; color: var(--gris-fosc); }
.steps li span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #8A8A84; display: flex; align-items: center; justify-content: center; }
.steps li[aria-current="step"] { background: var(--negre); color: var(--blanc); font-weight: 700; }
.steps li[aria-current="step"] span { background: var(--rosa); color: var(--negre); border: 0; }
.reg-body { padding-top: 16px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.reg-form { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.reg-form fieldset { margin: 0; border: 0; background: #fff; border-radius: var(--radi); padding: 28px 30px 32px; min-width: 0; }
.reg-form legend { float: left; width: 100%; padding: 0; margin: 0 0 20px; font-size: 22px; font-weight: 700; }
.reg-form legend + * { clear: both; }
.reg-form .intro { margin: -12px 0 20px; color: var(--gris-fosc); font-size: 15px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field label small { font-weight: 400; color: var(--gris-fosc); font-size: 15px; }
.field input, .field textarea { border: 1px solid #8A8A84; border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px; background: #fff; color: var(--negre); width: 100%; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--rosa); outline-offset: 1px; border-color: var(--negre); }
.field .help { font-size: 13px; color: var(--gris-fosc); }
.field textarea { resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--verd); flex: none; margin: 2px 0 0; }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: flex; align-items: center; gap: 10px; border: 1px solid #8A8A84; border-radius: 999px; padding: 11px 19px; font-weight: 500; cursor: pointer; }
.chip:has(input:checked) { border: 2px solid var(--verd); background: #EAF5E6; padding: 10px 18px; }
.chip input { width: 20px; height: 20px; accent-color: var(--verd); margin: 0; }
.terms { background: #F6F7F2; border-radius: 14px; padding: 18px 20px; font-size: 15px; color: #33332F; }
.terms p { margin: 0 0 8px; }
.terms p:last-child { margin: 0; }
.terms strong { color: var(--negre); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot p { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--gris-fosc); font-size: 14px; }
.form-msg { border-radius: 14px; padding: 16px 20px; font-size: 15px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { background: #FDE8E8; color: #8A1C1C; }
.form-msg.info { background: #fff; color: var(--negre); border: 1px solid #8A8A84; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.summary .box { background: var(--negre); color: var(--blanc); border-radius: var(--radi); overflow: hidden; }
.summary .box img { width: 100%; height: 180px; object-fit: cover; object-position: center 40%; }
.summary .box > div { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.summary .box .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary .box .row span:first-child { font-size: 17px; font-weight: 700; }
.summary .box .row span:last-child { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--rosa); }
.summary .box p { margin: 0; font-size: 14px; color: var(--gris-2); }
.summary .box ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid #333; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.summary .pay { background: #fff; border-radius: var(--radi); padding: 20px 24px; font-size: 15px; }
.summary .pay p { margin: 0; }
.summary .pay p + p { margin-top: 8px; color: var(--gris-fosc); }

/* Mòbil */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .menu-btn { display: flex; }
  .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid #333; }
  .header-cta .btn { display: none; }
  .hero { min-height: 0; background-image: linear-gradient(to bottom, rgba(20,20,20,0) 0px, rgba(20,20,20,0) 150px, rgba(20,20,20,0.7) 260px, rgba(20,20,20,1) 360px), url('../img/hero.jpg'); background-size: 100% 100%, auto 360px; background-repeat: no-repeat; background-position: center top, center top; background-color: #141414; }
  .hero .wrap { padding-top: 250px; padding-bottom: 28px; }
  .hero h1 { font-size: min(50px, 12vw); overflow-wrap: break-word; hyphens: auto; }
  .hero p { font-size: 17px; }
  .hero-ctas { display: none; }
  .section { padding-top: 56px; }
  h2.display { font-size: 36px; margin-bottom: 20px; }
  .reason { padding: 20px; flex-direction: row; gap: 16px; }
  .reason .num { font-size: 36px; }
  .reason h3 { font-size: 18px; }
  .offers { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; gap: 12px; }
  .offers .card { flex: none; width: 280px; scroll-snap-align: start; }
  .tier .price { font-size: 52px; }
  .prices .wrap { padding-top: 56px; padding-bottom: 56px; }
  .wa-float { right: 16px; bottom: 92px; width: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .wa-float span { display: none; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--negre); border-top: 1px solid #333; padding: 12px 16px 16px; align-items: center; gap: 12px; }
  .mobile-bar div { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.2; }
  .mobile-bar small { font-size: 13px; color: var(--gris-2); }
  .mobile-bar strong { font-size: 18px; }
  .site-footer { padding-bottom: 84px; }
  .reg-form fieldset { padding: 22px 18px 24px; }
  .page-light .wa-float { bottom: 24px; }
}

/* Bàner de cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; background: var(--negre-2); color: var(--blanc); border: 1px solid #444; border-radius: 16px; padding: 18px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 15px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 320px; }
.cookie-banner a { color: var(--rosa); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { min-width: 120px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--gris-2); text-decoration: underline; cursor: pointer; }
.link-btn[hidden] { display: none; }

/* Pàgines legals */
.legal { max-width: 820px; padding-top: 56px; padding-bottom: 96px; }
.legal h1 { margin: 0 0 8px; font-size: clamp(40px, 5vw, 60px); }
.legal h2 { margin: 40px 0 12px; font-size: 24px; }
.legal p, .legal li { color: #33332F; }
.legal .updated { color: var(--gris-fosc); font-size: 15px; margin: 0 0 32px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #E2E4DA; vertical-align: top; }
.legal th { background: #F6F7F2; }
.legal .table-wrap { overflow-x: auto; }
@media (max-width: 760px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 0; }
}
