*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text);font-size:var(--font);line-height:1.6}html[data-theme=dark]{--bg:#09090b;--surface:#121216;--surface2:#1b1b21;--text:#f7f7f8;--muted:#b9bac3;--line:#2d2d35;--red:#e11928;--red2:#b80f1c;--white:#fff;--shadow:0 18px 60px rgba(0,0,0,.35)}html[data-theme=light]{--bg:#f7f7f8;--surface:#fff;--surface2:#f0f0f2;--text:#121216;--muted:#555966;--line:#dedee5;--red:#d61220;--red2:#a80e19;--white:#fff;--shadow:0 18px 50px rgba(20,20,30,.12)}html[data-text="0"]{--font:15px}html[data-text="1"]{--font:16px}html[data-text="2"]{--font:18px}html[data-text="3"]{--font:20px}a{color:var(--red);text-decoration:none}a:hover{text-decoration:underline}.site-header{position:sticky;top:0;z-index:10;display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:color-mix(in srgb,var(--bg) 90%,transparent);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.brand{display:flex;gap:.7rem;align-items:center;color:var(--text);min-width:0}.brand-logo{width:46px;height:46px;object-fit:contain;background:var(--white);border-radius:14px;padding:4px}.brand strong,.brand small{display:block}.brand small{color:var(--muted);font-size:.78em}.top-nav{display:flex;gap:.4rem;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.25rem}.top-nav a{padding:.45rem .75rem;border-radius:999px;color:var(--muted);font-weight:700}.top-nav a.active{background:var(--red);color:white}.controls{display:flex;gap:.35rem}.icon-btn,.btn,.tab{border:0;font:inherit;font-weight:800;cursor:pointer}.icon-btn{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:.5rem .7rem}.hidden{display:none!important}main{width:min(1120px,100%);margin:auto;padding:1rem}.hero,.page-hero{display:grid;grid-template-columns:1.3fr .7fr;gap:1.2rem;align-items:center;padding:clamp(2rem,6vw,5rem) 0}.page-hero.compact{display:block;max-width:820px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--red);font-size:.78em;font-weight:900}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.3rem,7vw,5rem);line-height:.95;letter-spacing:-.05em}h2{font-size:clamp(1.6rem,4vw,2.7rem);line-height:1}.lead{font-size:1.2em;color:var(--muted);max-width:62ch}.hero-card,.card{background:linear-gradient(180deg,var(--surface),var(--surface2));border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}.hero-card{padding:1.2rem}.hero-mark{display:block;width:min(230px,70%);margin:0 auto 1rem;background:white;border-radius:28px;padding:10px}.hero-card dl{display:grid;gap:.7rem}.hero-card div{padding:.8rem;border:1px solid var(--line);border-radius:18px}.hero-card dt{font-size:.78em;color:var(--muted);font-weight:900;text-transform:uppercase}.hero-card dd{margin:0;font-weight:900}.cta-row,.link-row{display:flex;gap:.7rem;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.8rem 1rem;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--text)}.btn.primary,.btn.small:not(.ghost){background:var(--red);color:white;border-color:var(--red)}.btn.ghost{background:transparent}.btn.small{padding:.55rem .8rem;font-size:.9em}.tabs{display:flex;gap:.5rem;overflow:auto;padding:.5rem;margin:0 0 1rem;background:var(--surface);border:1px solid var(--line);border-radius:999px;position:sticky;top:73px;z-index:9}.tab{white-space:nowrap;border-radius:999px;padding:.7rem 1rem;background:transparent;color:var(--muted)}.tab.active{background:var(--red);color:#fff}.panel{display:none;padding:1rem 0 2rem}.panel.active{display:block}.section-head{margin:1rem 0}.grid{display:grid;gap:1rem}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{padding:1.2rem}.card.accent{border-color:color-mix(in srgb,var(--red) 50%,var(--line));box-shadow:0 0 0 1px color-mix(in srgb,var(--red) 20%,transparent),var(--shadow)}.clean-list{padding-left:1.1rem}.timeline{display:grid;gap:.8rem}.timeline div{padding:1rem;border-radius:18px;background:color-mix(in srgb,var(--red) 10%,var(--surface))}.timeline span{display:block;color:var(--muted)}.list-cards{display:grid;gap:1rem}.community-card{display:flex;align-items:center;justify-content:space-between;gap:1rem}.photo-placeholder{height:150px;border-radius:20px;background:repeating-linear-gradient(45deg,var(--surface2),var(--surface2) 12px,color-mix(in srgb,var(--red) 20%,var(--surface)) 12px,color-mix(in srgb,var(--red) 20%,var(--surface)) 24px);display:grid;place-items:center;color:var(--muted);font-weight:900;margin-bottom:1rem}footer{border-top:1px solid var(--line);color:var(--muted);padding:2rem 1rem;text-align:center;margin-top:2rem}@media(max-width:820px){.site-header{align-items:flex-start;flex-wrap:wrap}.top-nav{order:3;width:100%;justify-content:center}.hero{grid-template-columns:1fr;padding-top:2rem}.grid.two,.grid.three{grid-template-columns:1fr}.community-card{align-items:flex-start;flex-direction:column}.tabs{top:114px;border-radius:22px}.brand-logo{width:40px;height:40px}}/* Aviso de actualización PWA */
.update-notice{
  position:fixed;
  left:50%;
  bottom:1rem;
  transform:translateX(-50%);
  z-index:999;
  display:flex;
  align-items:center;
  gap:.75rem;
  width:min(92vw,520px);
  padding:.8rem 1rem;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--text);
  box-shadow:var(--shadow);
}
.update-notice span{
  flex:1;
  font-weight:800;
}
.update-notice button{
  border:0;
  border-radius:999px;
  padding:.55rem .8rem;
  background:var(--red);
  color:#fff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
@media(max-width:520px){
  .update-notice{
    border-radius:22px;
    align-items:flex-start;
    flex-direction:column;
  }
}
.site-footer{
  margin-top:4rem;
  padding:2.5rem 1.5rem;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.02);
}

.footer-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
}

.footer-brand p,
.footer-legal p{
  opacity:.8;
  line-height:1.6;
  text-align: left;
}

.copyright{
  margin-top:1.5rem;
  font-size:.85rem;
  opacity:.55;
}

@media (max-width:768px){
  .footer-grid{
    grid-template-columns:1fr;
    gap:2rem;
  }
}
.footer-title{
  display:flex;
  align-items:left;
  justify-content:left;
  gap:.5rem;
}

.footer-title::before{
  content:"";
  width:1.4em;
  height:1.4em;
  flex-shrink:0;

  background:
    url("assets/logo-pgbarcelona.png") center/75% no-repeat,
    #fff;

  border-radius:.35em;
  padding:.15em;
}