/* =========================================================
   Grimaldi Dance — full de disseny v2
   VOICE: nit de ball social: festiva, propera, prèmium.
   IDEA: la pista de casino, amb els colors blau, blanc i vermell de la foto de grup.
   COLOR: blanc, blau nit (#0f1d45), vermell del logotip (#9a3224), boira blava (#f7efed).
   TYPE: Playfair Display (títols) + Instrument Sans (text).
   ========================================================= */
:root{
  --red:#9a3224; --red-deep:#7a2419;
  --navy:#4a1222; --navy-2:#651a2f; --blue:#6d4a9c;
  --mist:#f7efed; --paper:#ffffff;
  --ink:#22101a; --ink-2:#5e4a52; --line:#ecdcdc;
  --wa:#1f7a4d;
  --serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --sans:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --step-0:1.0625rem; --step-1:1.3125rem;
  --step-2:clamp(1.6rem,1.2rem + 1.6vw,2.3rem);
  --step-3:clamp(2.3rem,1.4rem + 3.6vw,4.2rem);
  --step-4:clamp(3rem,1.2rem + 6.8vw,7.4rem);
  --gutter:clamp(1.25rem,4vw,3rem); --max:1320px; --measure:68ch; --header-h:80px;
  --r:18px; --r-sm:10px;
  --shadow:0 30px 60px -30px rgba(58,12,26,.45);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 1rem)}
body{margin:0;font-family:var(--sans);font-size:var(--step-0);line-height:1.6;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-underline-offset:.2em;text-decoration-thickness:1px}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.on-navy :focus-visible,.on-red :focus-visible,.drawer :focus-visible,.hero :focus-visible{outline-color:#fff}
p{margin:0 0 1em} ul,ol{padding-left:1.2em}
.sr-only{position:absolute!important;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:1rem;top:-100px;background:var(--ink);color:#fff;padding:.7rem 1rem;z-index:100}.skip:focus{top:1rem}

/* type */
h1,h2,.display{font-family:var(--serif);font-weight:600;letter-spacing:-.01em;text-wrap:balance}
h1{font-size:var(--step-4);line-height:.95;margin:0 0 .3em}
h2{font-size:var(--step-3);line-height:1.02;margin:0 0 .5em}
h3{font-size:var(--step-1);font-weight:600;line-height:1.25;margin:0 0 .4em}
.lead{font-size:var(--step-1);line-height:1.5;max-width:48ch}
.muted{color:var(--ink-2)}
.on-navy .muted,.on-red .muted{color:rgba(255,255,255,.78)}
.prose{max-width:var(--measure)}
.prose h2{font-size:var(--step-2);margin-top:1.6em}
.prose h3{margin-top:1.6em}
.prose li{margin-bottom:.4em}
.prose blockquote{margin:2rem 0;padding-left:1.25rem;border-left:3px solid var(--red);font-family:var(--serif);font-size:var(--step-2);line-height:1.2}

/* layout */
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.section{padding:clamp(4.5rem,9vw,8.5rem) 0}
.section--tight{padding:clamp(2.5rem,5vw,4rem) 0}
.on-navy,.on-ink{background:var(--navy);color:#fff}
.on-red{background:var(--red);color:#fff}
.on-blush,.on-mist{background:var(--mist)}
.split{display:grid;gap:clamp(2rem,5vw,5rem);align-items:start}
@media (min-width:900px){.split{grid-template-columns:5fr 7fr}.split--rev{grid-template-columns:7fr 5fr}.split--even{grid-template-columns:1fr 1fr}}
.section-head{display:grid;gap:1rem;margin-bottom:clamp(2rem,4vw,3.5rem)}
@media (min-width:900px){.section-head{grid-template-columns:1fr auto;align-items:end}}
.section-head h2{margin:0}.section-head p{margin:0;max-width:44ch}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:50px;padding:.85rem 1.6rem;border-radius:999px;border:1.5px solid transparent;font:600 1rem/1 var(--sans);text-decoration:none;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s,transform .2s}
.btn:active{transform:scale(.98)}
.btn--red{background:var(--red);color:#fff}.btn--red:hover{background:var(--red-deep)}
.btn--white{background:#fff;color:var(--navy)}.btn--white:hover{background:var(--mist)}
.btn--navy{background:var(--navy);color:#fff}.btn--navy:hover{background:var(--navy-2)}
.btn--line{border-color:currentColor;color:inherit;background:transparent}.btn--line:hover{background:rgba(170,110,125,.16)}
.btn--wa{background:var(--wa);color:#fff}.btn--wa:hover{background:#155c39}
.btn--lg{min-height:58px;padding:1rem 2rem;font-size:1.06rem}
.btn svg{width:20px;height:20px;flex:none}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}
.link{font-weight:600;text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px}
.on-navy .link,.on-red .link{text-decoration-color:#fff}

/* header */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid transparent;transition:background-color .3s,border-color .3s,color .3s}
.header.is-scrolled{border-bottom-color:var(--line)}
.header__in{display:flex;align-items:center;gap:1.5rem;height:var(--header-h)}
.logo{display:block;flex:none;position:relative}
.logo img{height:60px;width:auto}
.logo .logo--light{position:absolute;inset:0;opacity:0;transition:opacity .3s}
.nav{margin-left:auto;display:none}
.nav>ul{display:flex;align-items:center;gap:.15rem;list-style:none;margin:0;padding:0}
.nav a,.nav button{display:block;padding:.6rem .7rem;font:500 .97rem/1 var(--sans);text-decoration:none;background:none;border:0;color:inherit;cursor:pointer;border-radius:8px}
.nav a:hover,.nav button:hover{color:var(--red)}
.nav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.5em;text-decoration-color:var(--red)}
.has-sub{position:relative}
.has-sub>button::after{content:"";display:inline-block;width:.42em;height:.42em;border-right:1.5px solid;border-bottom:1.5px solid;transform:translateY(-.2em) rotate(45deg);margin-left:.45em}
.sub{position:absolute;top:100%;left:0;min-width:240px;list-style:none;margin:0;padding:.5rem;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);display:none}
.has-sub.open .sub,.has-sub:focus-within .sub{display:block}
@media (hover:hover){.has-sub:hover .sub{display:block}}
.sub a{padding:.75rem .8rem}
.header__cta{display:none}
.lang{display:none;font-size:.875rem;font-weight:600;text-decoration:none;opacity:.8}
.burger{margin-left:auto;width:48px;height:48px;display:grid;place-items:center;border:0;background:none;cursor:pointer;color:inherit}
.burger svg{width:28px;height:28px}
@media (min-width:1120px){.nav{display:block}.lang{display:inline}.header__cta{display:inline-flex;min-height:46px;padding:.7rem 1.25rem}.burger{display:none}}
/* capçalera sobre la foto (inici) */
body.has-hero .header:not(.is-scrolled){position:fixed;left:0;right:0;background:transparent;backdrop-filter:none;color:#fff}
body.has-hero .header:not(.is-scrolled) .logo--light{opacity:1}
body.has-hero .header:not(.is-scrolled) .logo--dark{opacity:0}
body.has-hero .header:not(.is-scrolled) .header__cta{background:#fff;color:var(--navy)}
body.has-hero .header.is-scrolled{position:fixed;left:0;right:0}

/* drawer */
.drawer{position:fixed;inset:0;z-index:80;background:var(--navy);color:#fff;padding:1.25rem var(--gutter) 2rem;display:flex;flex-direction:column;overflow-y:auto;visibility:hidden;opacity:0;transform:translateY(-12px);transition:opacity .25s,transform .25s,visibility 0s .25s}
.drawer.open{visibility:visible;opacity:1;transform:none;transition:opacity .25s,transform .25s}
.drawer__top{display:flex;justify-content:space-between;align-items:center;height:calc(var(--header-h) - 1.25rem)}
.drawer__top img{height:56px;width:auto}
.drawer__close{width:48px;height:48px;border:0;background:none;color:#fff;cursor:pointer;display:grid;place-items:center}.drawer__close svg{width:30px;height:30px}
.drawer nav{margin-top:1.5rem}.drawer ul{list-style:none;margin:0;padding:0}
.drawer nav>ul>li>a{display:block;font-family:var(--serif);font-size:2.1rem;line-height:1.15;text-decoration:none;padding:.3rem 0}
.drawer .drawer__sub{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin:.2rem 0 .8rem}
.drawer .drawer__sub a{font-size:1rem;opacity:.9;text-decoration:underline;text-underline-offset:.25em;padding:.3rem 0;display:inline-block}
.drawer__foot{margin-top:auto;padding-top:2rem;display:grid;gap:.75rem}
body.no-scroll{overflow:hidden}

/* HERO: foto de grup a pantalla completa */
.hero{position:relative;min-height:100svh;display:grid;align-items:end;color:#fff;background:var(--navy);overflow:hidden;isolation:isolate}
.hero__media{position:absolute;inset:0;z-index:-1}
.hero__media img{width:100%;height:100%;object-fit:cover;object-position:50% 35%}
.hero__media::after{content:"";position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(58,12,26,.55) 0%,rgba(58,12,26,0) 22%),
  linear-gradient(0deg,rgba(36,7,16,.92) 0%,rgba(36,7,16,.55) 38%,rgba(36,7,16,0) 70%),
  linear-gradient(90deg,rgba(36,7,16,.55) 0%,rgba(36,7,16,0) 60%)}
.hero__body{width:100%;padding-top:calc(var(--header-h) + 3rem);padding-bottom:clamp(2.5rem,6vw,4.5rem)}
.hero h1{max-width:12ch;margin-bottom:.35em}
.hero .lead{opacity:.95;margin-bottom:2rem}
.hero__facts{list-style:none;padding:0;margin:2.5rem 0 0;display:flex;flex-wrap:wrap;gap:.6rem 1.75rem;font-size:.95rem;opacity:.92}
.hero__facts li{display:flex;align-items:center;gap:.5rem}
.hero__facts li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 0 3px rgba(255,255,255,.85)}
.hero__credit{position:absolute;right:calc(var(--gutter) + 5.5rem);bottom:1rem;font-size:.75rem;opacity:.6}
@media (max-width:640px){.hero{min-height:92svh}.hero__media img{object-position:60% 30%}.hero__credit{display:none}}
@media (prefers-reduced-motion:no-preference){
  .hero h1 .ln{display:inline-block;opacity:0;transform:translateY(.4em);animation:rise 1s cubic-bezier(.2,.7,.1,1) forwards}
  .hero h1 .ln:nth-child(2){animation-delay:.1s}.hero h1 .ln:nth-child(3){animation-delay:.2s}.hero h1 .ln:nth-child(4){animation-delay:.3s}
  .hero__media img{animation:settle 2.2s cubic-bezier(.2,.7,.1,1) both}
}
@keyframes rise{to{opacity:1;transform:none}}
@keyframes settle{from{transform:scale(1.08)}to{transform:none}}

/* page hero */
.phero{background:var(--navy);color:#fff;position:relative;overflow:hidden}
.phero__in{display:grid;gap:1.5rem;padding-top:clamp(2.5rem,6vw,5rem);padding-bottom:clamp(2.5rem,6vw,4.5rem)}
.phero h1{margin:0;max-width:15ch}
.phero p{max-width:52ch;font-size:var(--step-1);line-height:1.5;margin:0;opacity:.92}
.phero__img{aspect-ratio:21/9;overflow:hidden}
.phero__img img{width:100%;height:100%;object-fit:cover}
@media (max-width:640px){.phero__img{aspect-ratio:4/3}}
.crumbs{font-size:.875rem;opacity:.85}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;padding:0;margin:0}
.crumbs li+li::before{content:"/";margin-right:.4rem;opacity:.6}

/* xifres */
.figures{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem 1rem;margin:0;padding:0;list-style:none}
@media (min-width:800px){.figures{grid-template-columns:repeat(4,1fr)}}
.figures b{display:block;font-family:var(--serif);font-weight:500;font-size:var(--step-3);line-height:1;color:var(--red)}
.on-navy .figures b{color:#fff}
.figures span{display:block;margin-top:.5rem;color:var(--ink-2);font-size:.95rem}
.on-navy .figures span{color:rgba(255,255,255,.75)}

/* estils: mosaic de fotos amb text a sobre */
.styles{display:grid;gap:1rem}
@media (min-width:760px){.styles{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.styles--4{grid-template-columns:1.25fr 1fr 1fr;grid-template-rows:330px 330px}.styles--4 .style:first-child{grid-row:span 2}.styles--4 .style:last-child{grid-column:span 2}}
.style{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:420px;border-radius:var(--r);overflow:hidden;text-decoration:none;color:#fff;isolation:isolate;background:var(--navy)}
@media (min-width:1100px){.styles--4 .style{min-height:0}}
.style__img{position:absolute;inset:0;z-index:-1}
.style__img img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.1,1)}
.style__img::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(36,7,16,.88) 0%,rgba(36,7,16,.35) 45%,rgba(36,7,16,0) 70%)}
.style:hover .style__img img{transform:scale(1.04)}
.style>*:not(.style__img){position:relative;margin-left:1.6rem;margin-right:1.6rem}
.style h3{font-family:var(--serif);font-weight:500;font-size:var(--step-2);margin-bottom:.3rem}
.style p{opacity:.88;margin-bottom:.8rem;max-width:40ch}
.style .link{margin-bottom:1.6rem;align-self:flex-start;text-decoration-color:#fff}

/* passos */
.steps{counter-reset:s;list-style:none;padding:0;margin:0;display:grid;gap:2rem}
@media (min-width:860px){.steps{grid-template-columns:repeat(3,1fr)}}
.steps li{counter-increment:s;border-top:1px solid rgba(255,255,255,.35);padding-top:1.3rem}
.on-mist .steps li,.section:not(.on-navy) .steps li{border-top-color:var(--line)}
.steps li::before{content:counter(s);display:block;font-family:var(--serif);font-size:3.2rem;line-height:1;margin-bottom:.8rem;color:var(--red)}
.on-navy .steps li::before{color:#fff}
.steps p{margin:0;opacity:.9}

/* tira de fotos (scroll horitzontal) */
.strip{display:grid;grid-auto-flow:column;grid-auto-columns:min(78vw,420px);gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 var(--gutter) 1rem;margin:0;list-style:none;scrollbar-width:thin}
.strip li{scroll-snap-align:start}
.strip img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r)}
@media (min-width:1320px){.strip{padding-left:calc((100vw - var(--max))/2 + var(--gutter))}}

/* horari */
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}
.chip{min-height:44px;padding:.55rem 1.15rem;border-radius:999px;border:1.5px solid var(--navy);background:transparent;font:600 .95rem/1 var(--sans);cursor:pointer;color:var(--navy)}
.chip[aria-pressed="true"]{background:var(--navy);color:#fff}
.week{display:grid;gap:1.25rem}
@media (min-width:700px){.week{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1060px){.week{grid-template-columns:repeat(4,1fr)}}
.day h3{font-family:var(--serif);font-weight:500;font-size:var(--step-2);margin:0 0 .7rem}
.day ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.slot{display:grid;grid-template-columns:auto 1fr;gap:.1rem .9rem;padding:1rem 1.1rem;background:#fff;border-radius:var(--r-sm);box-shadow:0 1px 0 var(--line),inset 4px 0 0 var(--lvl,var(--red))}
.slot time{grid-row:span 2;font-variant-numeric:tabular-nums;font-weight:600;font-size:.95rem;white-space:nowrap}
.slot b{font-weight:600;line-height:1.25}.slot small{color:var(--ink-2);font-size:.85rem}
.slot[data-level="basic"]{--lvl:#2f7d4f}.slot[data-level="intermedi"]{--lvl:#c46a12}.slot[data-level="avancat"]{--lvl:var(--red)}.slot[data-level="tots"]{--lvl:var(--blue)}
.slot[hidden]{display:none}
.legend{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.25rem;font-size:.9rem;color:var(--ink-2);list-style:none;padding:0}
.legend li::before{content:"";display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:.45rem;vertical-align:-1px;background:var(--c)}
.empty-day{color:var(--ink-2);font-size:.95rem;padding:.85rem 0}

/* preus */
.prices{display:grid;gap:1rem;list-style:none;margin:0;padding:0}
@media (min-width:760px){.prices{grid-template-columns:repeat(3,1fr)}}
.price{border:1px solid var(--line);border-radius:var(--r);padding:1.8rem 1.6rem;display:flex;flex-direction:column;gap:.3rem;background:#fff}
.price--main{background:var(--navy);color:#fff;border-color:var(--navy);box-shadow:var(--shadow)}
.price h3{margin:0}
.price .amount{font-family:var(--serif);font-size:var(--step-3);line-height:1;margin:.7rem 0 .25rem}
.price .amount small{font-family:var(--sans);font-size:1rem;margin-left:.25rem}
.price p{margin:0;font-size:.95rem;opacity:.85}
.notes{margin-top:1.5rem;font-size:.95rem;color:var(--ink-2);max-width:70ch}.notes li{margin-bottom:.35rem}

/* Josep */
.portrait{aspect-ratio:4/5;overflow:hidden;border-radius:var(--r);background:var(--mist);max-width:560px}
.portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.quote{font-family:var(--serif);font-size:var(--step-2);line-height:1.2;margin:0 0 1.5rem;max-width:26ch}
.cred{display:inline-block;margin-bottom:1.5rem;font-weight:600;font-size:.95rem;padding:.45rem .9rem;border-radius:999px;background:var(--mist);color:var(--navy)}

/* band */
.band{display:grid;background:var(--navy);color:#fff}
.band__img{min-height:70vw;position:relative}
.band__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.band__body{padding:clamp(3rem,6vw,6rem) var(--gutter)}
.band__body h2{max-width:12ch}
@media (min-width:900px){.band{grid-template-columns:1fr 1fr}.band__img{min-height:640px}.band__body{align-self:center;padding-right:max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter)))}}

/* cursos */
.courses{display:grid;gap:1.25rem;list-style:none;padding:0;margin:0}
@media (min-width:640px){.courses{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.courses{grid-template-columns:repeat(4,1fr)}}
.course{display:flex;flex-direction:column;height:100%;background:#fff;color:var(--ink);border-radius:var(--r);overflow:hidden;text-decoration:none;border:1px solid var(--line);transition:transform .3s,box-shadow .3s}
.course:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.course img{aspect-ratio:1;object-fit:cover;width:100%}
.course__b{padding:1.2rem 1.25rem 1.4rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.course h3{margin:0;font-size:1.15rem}
.course .meta{color:var(--ink-2);font-size:.92rem;margin:0}
.course .pr{margin:auto 0 0;padding-top:.75rem;display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}
.course .pr b{font-family:var(--serif);font-size:2rem;font-weight:500;line-height:1}
.course .pr s{color:var(--ink-2);font-size:.95rem}
.badge{display:inline-block;background:var(--red);color:#fff;font-size:.8rem;font-weight:600;padding:.3rem .7rem;border-radius:999px;align-self:flex-start}
.badge--blue{background:var(--blue)}

/* promo */
.promo{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.25rem;padding:.9rem 1.2rem;border-radius:16px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);width:fit-content;font-size:.95rem}
.promo b{font-weight:600}
.countdown{font-variant-numeric:tabular-nums;font-weight:600}
.pack{display:grid;gap:2rem;align-items:center;padding:clamp(1.75rem,4vw,3rem);border-radius:calc(var(--r) + 6px);background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden}
@media (min-width:900px){.pack{grid-template-columns:1.3fr 1fr}}
.pack h2{font-size:var(--step-3);margin:0 0 .5rem}
.pack ul{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:.5rem}
.pack li{display:flex;gap:.6rem;align-items:baseline}
.pack li::before{content:"✓";color:#fff;font-weight:700}
.pack__price{display:grid;gap:.5rem;justify-items:start;background:#fff;color:var(--ink);border-radius:var(--r);padding:1.75rem}
.pack__price .big{font-family:var(--serif);font-size:clamp(3rem,2rem + 3vw,4.5rem);line-height:1}
.pack__price s{color:var(--ink-2)}
.pack__price .save{color:var(--red);font-weight:600}
.secure{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--ink-2);margin:0}
.secure svg{width:16px;height:16px;flex:none}
.on-navy .secure{color:rgba(255,255,255,.75)}
.buybox{position:sticky;top:calc(var(--header-h) + 1.5rem);display:grid;gap:.8rem;padding:1.75rem;border:1px solid var(--line);border-radius:var(--r);background:#fff;box-shadow:var(--shadow)}
.buybox .big{font-family:var(--serif);font-size:3.2rem;line-height:1}
.buybox s{color:var(--ink-2);font-size:1.05rem;margin-left:.4rem}
.buybox ul{margin:.25rem 0 0;padding-left:1.1rem;font-size:.95rem;color:var(--ink-2)}

/* testimonis */
.voices{display:grid;gap:1.25rem;list-style:none;margin:0;padding:0}
@media (min-width:860px){.voices{grid-template-columns:repeat(2,1fr)}}
.voices li{background:#fff;border-radius:var(--r);padding:clamp(1.5rem,3vw,2.5rem)}
.voices blockquote{margin:0}
.voices p{font-family:var(--serif);font-size:clamp(1.35rem,1.1rem + .8vw,1.8rem);line-height:1.25;margin:0 0 1rem}
.voices cite{font-style:normal;font-weight:600;font-size:.95rem;color:var(--ink-2)}

/* contacte / formulari */
.places{display:grid;gap:1.5rem;list-style:none;padding:0;margin:0}
@media (min-width:600px){.places{grid-template-columns:1fr 1fr}}
.place h3{font-family:var(--serif);font-weight:500;font-size:var(--step-2);margin-bottom:.3rem}
.place address{font-style:normal;margin-bottom:.6rem;opacity:.9}
.contact-lines{list-style:none;padding:0;margin:0 0 2rem;display:grid;gap:.4rem;font-size:1.1rem}
.contact-lines a{font-weight:600}
.form{display:grid;gap:1.1rem;background:#fff;color:var(--ink);padding:clamp(1.5rem,4vw,2.5rem);border-radius:var(--r);box-shadow:var(--shadow)}
.form .row{display:grid;gap:1.1rem}
@media (min-width:640px){.form .row{grid-template-columns:1fr 1fr}}
.field label{display:block;font-weight:600;font-size:.95rem;margin-bottom:.35rem}
.field input,.field select,.field textarea{width:100%;min-height:52px;padding:.8rem .95rem;border:1.5px solid #ad979d;border-radius:12px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}
.field textarea{min-height:120px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(122,34,54,.2)}
.field [aria-invalid="true"]{border-color:#b3261e}
.err{color:#b3261e;font-size:.875rem;margin:.3rem 0 0}
.err:empty{display:none}
.check{display:flex;gap:.7rem;align-items:flex-start;font-size:.95rem}
.check input{width:22px;height:22px;flex:none;margin-top:.15rem;accent-color:var(--red)}
.form .btn{justify-self:start}
.form-hint{font-size:.875rem;color:var(--ink-2);margin:0}
.form-ok{padding:1rem 1.2rem;background:var(--mist);border-left:4px solid var(--blue);border-radius:8px}
details.rgpd{font-size:.85rem;color:var(--ink-2)}
details.rgpd summary{cursor:pointer;font-weight:600}

/* FAQ */
.faq{border-top:1px solid var(--line)}
.on-navy .faq{border-top-color:rgba(255,255,255,.25)}
.faq details{border-bottom:1px solid var(--line)}
.on-navy .faq details{border-bottom-color:rgba(255,255,255,.2)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:1rem;padding:1.3rem 0;font-weight:600;font-size:1.1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--serif);font-size:1.8rem;line-height:.8;color:var(--red);transition:transform .2s;flex:none}
.on-navy .faq summary::after{color:#fff}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details>div{padding:0 0 1.4rem;max-width:var(--measure);color:var(--ink-2)}
.on-navy .faq details>div{color:rgba(255,255,255,.8)}

/* galeria */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem;list-style:none;padding:0;margin:0}
@media (min-width:800px){.gallery{grid-template-columns:repeat(3,1fr);gap:.9rem}}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-sm)}
.gallery--tall img{aspect-ratio:3/4}
.flyers{display:grid;gap:2rem;list-style:none;padding:0;margin:0}
@media (min-width:760px){.flyers{grid-template-columns:1fr 1fr}}
.flyers img{width:100%;height:auto;border-radius:var(--r-sm);box-shadow:var(--shadow)}

/* botiga */
.shops{display:grid;gap:1rem;list-style:none;padding:0;margin:0}
@media (min-width:760px){.shops{grid-template-columns:repeat(2,1fr)}}
.shop{display:flex;flex-direction:column;gap:.4rem;padding:2rem;border:1px solid var(--line);border-radius:var(--r);text-decoration:none;min-height:210px;background:#fff;transition:box-shadow .3s}
.shop:hover{box-shadow:var(--shadow)}
.shop h3{font-family:var(--serif);font-weight:500;font-size:var(--step-2);margin:0}
.shop p{margin:0;color:var(--ink-2)}.shop .link{margin-top:auto}
.code{display:inline-flex;gap:.8rem;align-items:center;flex-wrap:wrap;padding:1rem 1.25rem;background:#fff;color:var(--ink);border:2px dashed var(--red);border-radius:12px;font-weight:600}
.code kbd{font:600 1.25rem/1 var(--sans);letter-spacing:.04em;color:var(--red)}

/* articles */
.cards{display:grid;gap:1.25rem;list-style:none;padding:0;margin:0}
@media (min-width:760px){.cards{grid-template-columns:repeat(2,1fr)}}
.card{display:block;padding:2rem;border-radius:var(--r);background:#fff;text-decoration:none;height:100%}
.card h3{font-family:var(--serif);font-weight:500;font-size:var(--step-2);line-height:1.1;margin:0 0 .5rem}
.card p{color:var(--ink-2);margin:0 0 1rem}

/* taula */
.table{width:100%;border-collapse:collapse;font-size:.975rem}
.table th,.table td{text-align:left;padding:.85rem .6rem;border-bottom:1px solid var(--line);vertical-align:top}
.table th{font-weight:600;border-bottom:1.5px solid var(--navy)}
.table-wrap{overflow-x:auto}

.cta h2{max-width:14ch}

/* peu */
.footer{background:#2c0b15;color:#fff;padding:clamp(3.5rem,7vw,5.5rem) 0 2rem;font-size:.95rem}
.footer a{text-decoration:none}.footer a:hover{text-decoration:underline}
.footer__grid{display:grid;gap:2.5rem}
@media (min-width:900px){.footer__grid{grid-template-columns:1.2fr 1fr 1fr 1fr}}
.footer img{height:84px;width:auto;margin-bottom:1.25rem}
.footer h2{font-family:var(--sans);font-size:1rem;font-weight:600;margin:0 0 .9rem;letter-spacing:0}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.footer address{font-style:normal;opacity:.8}
.footer__legal{margin-top:3rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.18);display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;opacity:.7;font-size:.85rem}
.funding{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;background:#fff;padding:.75rem 1rem;border-radius:8px;width:fit-content}
.funding:empty{display:none}
.funding img{height:34px;margin:0}

/* WhatsApp */
.mbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:1fr 1fr;gap:.5rem;padding:.6rem .75rem calc(.6rem + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-top:1px solid var(--line)}
.mbar .btn{min-height:48px;padding:.7rem .5rem}
body{padding-bottom:76px}
.wa-float{display:none}
@media (min-width:1120px){.mbar{display:none}body{padding-bottom:0}
  .wa-float{display:grid;place-items:center;position:fixed;right:1.5rem;bottom:1.5rem;z-index:40;width:60px;height:60px;border-radius:50%;background:var(--wa);color:#fff;box-shadow:0 10px 30px -10px rgba(0,0,0,.45)}
  .wa-float svg{width:30px;height:30px}.wa-float:hover{background:#155c39}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.header,.mbar,.wa-float,.footer,.drawer{display:none}}
.pack li .muted{color:rgba(255,255,255,.7)}
.funding:not(:has(img)){display:none}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.event-meta{list-style:none;padding:0;margin:0 0 1.5rem;display:grid;gap:.5rem;font-size:1.05rem}
.event-meta b{display:inline-block;min-width:5.5rem;color:var(--ink-2);font-weight:600}
.events{display:grid;gap:1.25rem;list-style:none;padding:0;margin:0}
@media (min-width:760px){.events{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.events{grid-template-columns:repeat(3,1fr)}}
.event-card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;text-decoration:none;color:var(--ink)}
.event-card img{width:100%;aspect-ratio:4/5;object-fit:cover}
.event-card .b{padding:1.2rem 1.3rem 1.4rem;display:grid;gap:.3rem}
.event-card time{font-weight:600;color:var(--red)}
.event-card h3{margin:0;font-family:var(--serif);font-weight:500;font-size:var(--step-2);line-height:1.1}
.closed{padding:1.2rem 1.4rem;border-radius:var(--r);background:var(--mist)}
/* classes gratuïtes (Vimeo, es carrega en prémer) */
.lessons{list-style:none;padding:0;margin:0;display:grid;gap:1rem}
@media (min-width:760px){.lessons{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.lessons{grid-template-columns:repeat(3,1fr)}}
.lesson{position:relative;width:100%;aspect-ratio:16/9;border:0;border-radius:var(--r);background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff;text-align:left;padding:1.4rem;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;font:inherit;overflow:hidden}
.lesson:hover .lesson__play{transform:scale(1.08)}
.lesson__n{font-family:var(--serif);font-size:3rem;line-height:1}
.lesson__t{font-weight:600;font-size:1.1rem;max-width:80%}
.lesson__play{position:absolute;right:1.4rem;bottom:1.4rem;width:56px;height:56px;border-radius:50%;background:var(--red);transition:transform .2s}
.lesson__play::after{content:"";position:absolute;left:22px;top:17px;border-left:16px solid #fff;border-top:11px solid transparent;border-bottom:11px solid transparent}
.lesson-frame{width:100%;aspect-ratio:16/9;border:0;border-radius:var(--r);background:#000;display:block}
/* capçalera dels cursos online: parella retallada sobre el blau, amb llum i ombra */
.phero--online .phero__in{padding-bottom:0;align-items:end}
.phero--online .phero__in>div:first-child{padding-bottom:clamp(2.5rem,6vw,4.5rem);align-self:center}
.hero-couple{position:relative;display:flex;justify-content:center;align-items:flex-end;min-height:420px;isolation:isolate}
.hero-couple::before{content:"";position:absolute;z-index:-1;left:50%;bottom:8%;width:min(520px,100%);aspect-ratio:1;transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(circle at 50% 55%,rgba(196,72,72,.62) 0%,rgba(160,40,52,.25) 45%,rgba(160,40,52,0) 70%)}
.hero-couple::after{content:"";position:absolute;z-index:-1;left:50%;bottom:-6px;width:min(420px,90%);height:46px;transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(0,0,0,.55) 0%,rgba(0,0,0,0) 70%)}
.hero-couple img{height:min(600px,62vh);width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 24px 30px rgba(0,0,0,.35))}
@media (max-width:899px){.hero-couple{min-height:0}.hero-couple img{height:420px}}
.phero--online h1{margin-bottom:.35em}
.field label.check{display:flex;align-items:flex-start;gap:.6rem;margin:0;font-weight:500;font-size:.95rem}
.field label.check input{width:20px;height:20px;min-height:0;margin-top:.15rem;flex:none}

/* ---- Integració d'imatges (revisió) ---- */
/* fotos de contingut al costat del text: mateix radi i ombra que les targetes */
.split>div>img{width:100%;border-radius:var(--r);box-shadow:var(--shadow);background:var(--mist)}
.split>div>img.photo-tall{aspect-ratio:4/5;object-fit:cover}
/* objecte retallat (guitarra): plafó suau en lloc de flotar sobre blanc */
.media-panel{position:relative;border-radius:var(--r);background:radial-gradient(120% 90% at 50% 35%,#fff 0%,var(--mist) 70%);padding:clamp(1.5rem,4vw,3rem);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.4rem;aspect-ratio:4/5;overflow:hidden}
.media-panel::after{content:"";position:absolute;left:20%;right:20%;bottom:13%;height:40px;background:radial-gradient(closest-side,rgba(58,12,26,.22),rgba(58,12,26,0));pointer-events:none}
.media-panel img{position:relative;z-index:1;width:auto!important;max-height:80%;max-width:70%;box-shadow:none!important;background:none!important;border-radius:0!important;filter:drop-shadow(0 18px 24px rgba(58,12,26,.18))}
.media-panel figcaption{position:relative;z-index:2;text-align:center;font-size:.85rem;color:var(--ink-2);font-style:italic}
@media (min-width:900px){.media-panel{position:sticky;top:calc(var(--header-h) + 1.5rem)}}
/* galeries de producte: fons uniforme i sense retallar el producte */
.gallery--product img{aspect-ratio:1;object-fit:contain;background:#f7f7f7;border-radius:var(--r)}
.gallery--shoes img{aspect-ratio:3/2;object-fit:cover;object-position:50% 60%;border-radius:var(--r)}
.gallery--soft img{border-radius:var(--r);outline:1px solid var(--line);outline-offset:-1px}
/* cartells d'events: que es vegi el títol de dalt */
.event-card img{object-position:50% 0}
/* capçalera amb foto (ball nupcial): títol sobre la imatge */
.phero--photo{display:grid;grid-template-columns:minmax(0,1fr);min-height:clamp(420px,62vh,640px)}
.phero--photo>.phero__img{grid-area:1/1;aspect-ratio:auto;position:relative}
.phero--photo>.phero__img img{object-position:50% 40%}
.phero--photo>.phero__img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(58,12,26,.15) 0%,rgba(58,12,26,.35) 45%,rgba(58,12,26,.92) 100%)}
.phero--photo>.phero__in{grid-area:1/1;position:relative;z-index:1;align-self:end}
@media (max-width:640px){.phero--photo>.phero__img{aspect-ratio:auto}}
/* targetes de la botiga amb imatge */
.shop--img{padding:0;overflow:hidden}
.shop--img .shop__img{aspect-ratio:16/10;background:#f7f7f7;overflow:hidden}
.shop--img .shop__img img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.1,1)}
.shop--img:hover .shop__img img{transform:scale(1.04)}
.shop--img .shop__b{display:flex;flex-direction:column;gap:.4rem;padding:1.6rem 2rem 2rem;flex:1}

.split>div>.hero-couple img,.hero-couple img{background:none!important;box-shadow:none!important;border-radius:0!important}

/* Qui sóc: retrat integrat a la capçalera */
.phero--about .hero-couple img{height:min(560px,60vh)}
.hero-solo::before{width:min(440px,100%);bottom:10%;background:radial-gradient(circle at 50% 50%,rgba(196,72,72,.55) 0%,rgba(160,40,52,.22) 45%,rgba(160,40,52,0) 70%)}
.hero-solo::after{width:min(260px,70%)}
.figures--hero{grid-template-columns:repeat(3,auto)!important;justify-content:start;gap:1rem 2.5rem;margin-top:2.25rem;padding-top:1.75rem;border-top:1px solid rgba(255,255,255,.18)}
.figures--hero b{color:#fff;font-size:var(--step-2)}
.figures--hero span{color:rgba(255,255,255,.75);font-size:.9rem}
.about-body{max-width:calc(var(--measure) + 2*var(--gutter))}
.about-body .lead{font-size:var(--step-1)}
@media (max-width:899px){.phero--about .hero-couple img{height:380px}.figures--hero{gap:1rem 1.5rem}}

/* Secció de contacte: rosat suau en lloc del vermell */
.on-red{background:linear-gradient(180deg,#f8f0ee 0%,#f1e2df 100%);color:var(--ink)}
.on-red h2,.on-red h3{color:var(--navy)}
.on-red .muted{color:var(--ink-2)}
.on-red .link,.on-red a{color:var(--navy);text-decoration-color:var(--red)}
.on-red :focus-visible{outline-color:var(--navy)}
.on-red .form{box-shadow:0 30px 60px -28px rgba(58,12,26,.35);border:1px solid var(--line)}
.on-red .btn--red{color:#fff}

/* Curs online: parella més gran */
.phero--online:not(.phero--about) .hero-couple img{height:min(780px,82vh)}
.phero--online:not(.phero--about) .hero-couple::before{width:min(680px,115%);bottom:6%}
.phero--online:not(.phero--about) .hero-couple::after{width:min(520px,100%)}
@media (min-width:900px){.phero--online:not(.phero--about) .phero__in{grid-template-columns:1.05fr 1fr}}
@media (max-width:899px){.phero--online:not(.phero--about) .hero-couple img{height:560px}}

/* Selector d'idioma */
.lang-sw{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 .6rem;border-radius:999px;border:1.5px solid var(--line);font:600 .85rem/1 var(--sans);letter-spacing:.06em;color:var(--navy);text-decoration:none;margin-left:auto;margin-right:.6rem}
.lang-sw:hover{border-color:var(--navy)}
body.has-hero .header:not(.is-scrolled) .lang-sw{color:#fff;border-color:rgba(255,255,255,.5)}
.lang-sw--drawer{color:#fff;border-color:rgba(255,255,255,.4);margin:0 0 .5rem;align-self:flex-start}
@media (max-width:1099px){.header .lang-sw:not(.lang-sw--drawer){margin-right:.4rem}}
@media (min-width:1120px){.header .lang-sw:not(.lang-sw--drawer){margin-left:.4rem;margin-right:.6rem}}
.lang-sw--drawer{justify-self:start;width:auto}
/* Retrat portada: retall sobre panell granat */
.portrait--cut{position:relative;overflow:visible;aspect-ratio:4/5;width:100%;justify-self:center;margin-top:clamp(2.5rem,6vw,4.5rem);
  background:radial-gradient(120% 80% at 50% 100%,rgba(255,255,255,.10),transparent 60%),radial-gradient(60% 50% at 80% 15%,rgba(154,50,36,.35),transparent 70%),linear-gradient(160deg,var(--navy-2),var(--navy));
  box-shadow:0 30px 60px -30px rgba(58,12,26,.55);
  clip-path:inset(-30% -10% 0 -10% round 0 0 var(--r) var(--r))}
.portrait--cut::before{content:"";position:absolute;inset:8% 10% auto auto;width:46%;aspect-ratio:1;border-radius:50%;border:1px solid rgba(255,255,255,.18)}
.portrait--cut img{position:absolute;bottom:0;left:50%;transform:translateX(-50%);height:118%;width:auto!important;max-width:none!important;object-fit:contain;
  border-radius:0!important;box-shadow:none!important;background:none!important}
@media(max-width:899px){.portrait--cut{max-width:420px;margin-inline:auto}}

/* Black Friday */
.bfband{display:block!important;width:auto!important;max-width:none!important;border-radius:0!important;padding:0!important;border:0!important;background:linear-gradient(135deg,#1c0710 0%,#4a1222 60%,#651a2f 100%)!important;color:#fff}
.bfband__in{display:grid;gap:2rem;align-items:center;padding-top:clamp(2.5rem,5vw,3.5rem);padding-bottom:clamp(2.5rem,5vw,3.5rem)}
@media(min-width:900px){.bfband__in{grid-template-columns:1.2fr 1fr}}
.bfband__tag{display:inline-block;background:#fff;color:#1c0710;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.8rem;padding:.35rem .8rem;border-radius:999px;margin-bottom:1rem}
.bfband h2{font-size:var(--step-3);margin:0 0 .6rem;color:#fff}.bfband p{margin:0 0 .6rem;opacity:.92}
.bfband__cd{font-weight:600;font-variant-numeric:tabular-nums}
.bfband__pack{background:#fff;color:var(--ink);border-radius:var(--r);padding:1.75rem;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.bfband__pack h3{font-family:var(--serif);font-weight:600;font-size:var(--step-2);margin:0 0 .3rem;color:var(--navy)}
.bfband__price{font-size:1.2rem;margin:.2rem 0 .6rem!important}.bfband__price s{color:var(--ink-2);margin-right:.4rem}.bfband__price b{font-family:var(--serif);font-size:2.4rem;color:var(--red)}
.bfmini{display:block!important;width:auto!important;background:#1c0710!important;color:#fff;border:0!important;border-radius:12px!important;padding:.8rem 1rem!important;font-size:.95rem;line-height:1.4}
.bfmini small{opacity:.8}
