/* Club de recompensas, version 4 (2026-11-10). Tag on version 3: "B is a better look but also we need this page to be more attractive to catch you and make you want to be part of the club".
   The page now shows what you get: an example routine filling a member card as you scroll (?sig=calc: a calculator instead), the points on each product, a last call to join.
   Version 3 (the opening looks b and c, "Así funciona" as text): club-v3.html.
   Version 2 (2026-11-09). Tag on version 1: "the club page i dont like again i think we can take exemple from the same 2 sites", Augustinus Bader and Aesop.
   From Bader's club page: a large photo of a person with the product and the line centred under it, then questions beside a large photo.
   From Aesop: "At a glance" as a quiet list on a panel, and three featured products with centred text.
   Bader's tier table waits for María: there are no levels yet. Points and store purchases: por confirmar. The live programme runs on Smile.io.
   Version 1 (photo beside the line, the steps as one sentence, a row of best sellers): club-v1.html. Spacing tokens: style.css. */
main{padding-top:var(--hd)}
.cl-sec{margin-top:var(--section)}
.cl-sec h2,.cl-scene h2,.cl-calc h2{font-size:clamp(32px,3.6vw,56px);text-wrap:balance}

/* Opening (Bader): the photo across the page, the line centred under it. */
.cl-open{display:grid;justify-items:center;gap:var(--group)}
.cl-open>img{display:block;width:100%;height:min(72svh,720px);object-fit:cover;object-position:50% 30%}
.cl-open-txt{display:grid;justify-items:center;gap:var(--head);padding:0 var(--pad);text-align:center}
.cl-open h1{font-size:clamp(44px,5.4vw,88px);max-width:14ch;text-wrap:balance}
.cl-open .sub{max-width:44ch;font-size:clamp(20px,1.5vw,24px)}
.cl-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}

/* Featured products (Aesop): centred heading, three products, centred text. */
.cl-feat{display:grid;justify-items:center;gap:var(--stack);padding:0 var(--pad);text-align:center}
.cl-feat-sub{color:var(--muted);max-width:44ch}
.cl-cards{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--grid);width:100%;margin:var(--head) 0 0;padding:0}
.cl-cards li{display:grid;justify-items:center;align-content:start;gap:6px}
.cl-ph{display:block;width:100%;aspect-ratio:4/5;overflow:hidden;background:var(--panel)}
.cl-ph img{display:block;width:100%;height:100%;object-fit:cover;transition:scale .9s cubic-bezier(.2,.8,.2,1)}
.cl-ph:hover img{scale:1.03}
.cl-cards h3{margin-top:12px;font-size:clamp(24px,1.9vw,28px)}
.cl-cards h3 a{text-decoration:none}
.cl-who{color:var(--muted);font-size:18px}
.cl-price{font-size:18px;font-variant-numeric:tabular-nums}
.cl-cards .btn{margin-top:8px}
.cl-more{display:inline-flex;align-items:center;min-height:44px;margin-top:var(--head);font-weight:600;text-underline-offset:3px}

/* Questions (Bader): the list on the left, a large photo on the right. Questions in large type (Aesop's "Further information"). */
.cl-faq{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);align-items:stretch;margin:var(--section) var(--pad);padding:clamp(12px,1.4vw,20px);background:var(--panel)}
.cl-faq-txt{display:grid;align-content:center;gap:var(--group);padding:var(--group) clamp(12px,3vw,56px)}
.cl-faq-list{border-top:1px solid var(--line-strong)}
.cl-faq details{border-bottom:1px solid var(--line-strong)}
.cl-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;font:500 clamp(22px,1.9vw,30px)/1.2 var(--d);cursor:pointer;list-style:none}
.cl-faq summary::-webkit-details-marker{display:none}
.cl-faq summary::after{content:"";flex:none;width:16px;height:16px;background:linear-gradient(currentColor 0 0) center/16px 2px no-repeat,linear-gradient(currentColor 0 0) center/2px 16px no-repeat;transition:rotate .3s}
.cl-faq details[open] summary::after{rotate:45deg}
.cl-faq details p{padding:0 0 22px;max-width:52ch}
.cl-faq>img{display:block;width:100%;height:0;min-height:100%;object-fit:cover;object-position:50% 40%}

@media (max-width:760px){
  .cl-open>img{height:auto;aspect-ratio:4/5;object-position:22% 40%}
  .cl-faq{grid-template-columns:1fr}
  .cl-cards{grid-template-columns:1fr;gap:var(--group)}
  .cl-cards li{max-width:360px;justify-self:center}
  .cl-faq>img{order:-1;height:auto;min-height:0;aspect-ratio:4/3}
}

/* Opening: look b, Tag's pick (2026-11-10). Desktop: the hand photo on the left half, its plain wall carried across the right half with the text.
   Phone: the photo, then the line under it on the same wall colour. */
@media (min-width:761px){
  .cl-open[data-top=b]{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:var(--wall)}
  .cl-open[data-top=b]>img{height:min(80svh,780px);object-position:50% 50%}
  .cl-open[data-top=b] .cl-open-txt{justify-items:start;text-align:left;padding:0 var(--pad) 0 clamp(24px,4vw,72px)}
  .cl-open[data-top=b] .cl-btns{justify-content:flex-start}
  .cl-open[data-top=b] h1{max-width:11ch}
  .cl-open[data-top=b] .sub{max-width:34ch}
}
@media (max-width:760px){
  .cl-open[data-top=b]{background:var(--wall);padding-bottom:var(--group)}
  .cl-open[data-top=b]>img{object-position:30% 50%}
}
:root{--wall:#e7e0d8}
body[data-sig=card] [data-only=calc],body[data-sig=calc] [data-only=card]{display:none!important}
.cl-lead{color:var(--muted);font-size:clamp(20px,1.5vw,24px);max-width:40ch}

/* Option 1, the card: a member card stays in view while four steps of one routine scroll past; its points count up at each step. */
.cl-scene{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(24px,5vw,96px);padding:var(--section) var(--pad) 0}
.cl-stick{position:sticky;top:calc(var(--hd) + 12svh);align-self:start;display:grid;gap:14px;justify-items:start}
.cl-card{position:relative;display:grid;grid-template-rows:auto 1fr auto auto;width:min(100%,460px);aspect-ratio:1.586;padding:clamp(18px,1.8vw,28px);border-radius:16px;background:var(--ink);color:var(--on-dark);box-shadow:0 30px 60px -30px rgb(17 17 16 / .55);overflow:hidden}
.cl-card::after{content:"";position:absolute;inset:0;background:radial-gradient(60% 80% at 78% 100%,rgb(188 90 7 / .35),transparent);pointer-events:none;transition:opacity .6s}
.cl-card.used::after{opacity:.9}
.cl-c-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:15px;color:rgb(244 243 239 / .75)}
.cl-c-logo svg{display:block;width:clamp(120px,11vw,160px);height:auto;color:var(--on-dark)}
.cl-c-num{align-self:end;display:flex;align-items:baseline;gap:10px;margin:0;font:500 clamp(56px,6vw,96px)/1 var(--d);font-variant-numeric:tabular-nums}
.cl-c-num b{font-weight:500;color:#e0873a}
.cl-c-num span{font:400 18px var(--f);color:rgb(244 243 239 / .75)}
.cl-c-val{margin:6px 0 0;font-size:17px}
.cl-c-name{margin:14px 0 0;font:500 15px var(--f);letter-spacing:.04em;color:rgb(244 243 239 / .6)}
.cl-ex,.cl-ex-p{max-width:46ch;font-size:17px;color:var(--muted)}
.cl-ex-p{display:none}
.cl-scene-txt{display:grid;align-content:start;gap:var(--stack)}
.cl-steps{list-style:none;margin:var(--head) 0 0;padding:0}
.cl-steps li{display:grid;grid-template-columns:clamp(180px,16vw,260px) minmax(0,1fr);align-items:center;gap:clamp(20px,2.6vw,40px);min-height:62svh;opacity:.35;transition:opacity .5s}
.cl-steps li.on{opacity:1}
.cl-steps img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--panel)}
.cl-steps h3{font-size:clamp(28px,2.6vw,40px);margin:8px 0}
.cl-steps p{max-width:34ch;font-size:clamp(18px,1.3vw,20px)}
.cl-tag{font:500 clamp(22px,1.8vw,28px)/1 var(--d);color:var(--calendula);font-variant-numeric:tabular-nums}

/* Option 2, the calculator (?sig=calc): pick what you use, the discount it brings back in calendula. Photo picker as on the refill page (Tag's pick b, 2026-11-09). */
.cl-calc{display:grid;gap:var(--group);margin-top:var(--section);padding:var(--section) var(--pad);background:var(--panel)}
.cl-calc-head{display:grid;gap:var(--stack)}
.cl-calc-body{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(24px,5vw,96px);align-items:center}
.cl-calc-out{display:grid;gap:var(--stack);justify-items:start}
.cl-calc-big{margin:0;font:500 clamp(28px,2.4vw,36px)/1.1 var(--d)}
.cl-calc-big b{display:block;font-weight:500;font-size:clamp(72px,8vw,128px);line-height:1;color:var(--calendula);font-variant-numeric:tabular-nums}
#calc-pts{max-width:38ch}
.cl-calc-out .fine{max-width:46ch;font-size:17px;color:var(--muted)}
.pick{display:grid;grid-template-columns:repeat(3,max-content);gap:var(--group) clamp(16px,2vw,32px)}
.pk{display:grid;justify-items:start;align-content:start;gap:2px;min-height:44px;padding:0;border:0;background:none;color:var(--muted);font:inherit;text-align:left;cursor:pointer;transition:color .2s}
.pk b{font-weight:500;font-size:18px;line-height:1.25}
.pk small{font-size:15px}
.pk[aria-pressed=true],.pk:hover{color:var(--ink)}
.pk-ph{display:block;width:clamp(120px,10vw,160px);aspect-ratio:3/4;margin-bottom:10px;overflow:hidden;background:#e7e4df;outline:1.5px solid transparent;outline-offset:4px;transition:outline-color .2s}
.pk-ph img{display:block;width:100%;height:100%;object-fit:cover;scale:1.3;transition:scale .5s cubic-bezier(.2,.8,.2,1)}
.pk:hover .pk-ph img{scale:1.36}
.pk[aria-pressed=true] .pk-ph{outline-color:var(--ink)}

.cl-pts{font-size:16px;font-weight:600;color:var(--calendula)}

/* Last call: the wall colour of the opening, the button again (first and last are remembered, neuromarketing.md #11). */
.cl-end{display:grid;justify-items:center;gap:var(--stack);margin-top:var(--section);padding:var(--section) var(--pad);background:var(--wall);text-align:center}
.cl-end h2{font-size:clamp(32px,3.6vw,56px);max-width:18ch;text-wrap:balance}
.cl-end .btn{margin-top:8px}

@media (max-width:760px){
  .cl-scene{grid-template-columns:1fr;gap:0;padding-top:var(--section)}
  .cl-stick{top:var(--hd);z-index:2;justify-items:stretch;margin:0 calc(var(--pad) * -1);padding:12px var(--pad);background:var(--bg)}
  .cl-card{width:100%;aspect-ratio:auto;grid-template-rows:auto auto auto;gap:6px;padding:16px 18px;border-radius:12px}
  .cl-c-logo svg{width:110px}
  .cl-c-num{font-size:48px}
  .cl-c-name,.cl-ex{display:none}
  .cl-scene-txt{display:contents}
  .cl-scene-txt>h2,.cl-scene .cl-lead{order:-2}
  .cl-scene .cl-lead{margin:var(--stack) 0 var(--group)}
  .cl-stick{order:-1}
  .cl-ex-p{display:block!important}
  .cl-steps{margin-top:0}
  .cl-steps li{grid-template-columns:1fr;min-height:0;padding:var(--group) 0;gap:16px}
  .cl-steps img{aspect-ratio:4/3}
  .cl-calc-body{grid-template-columns:1fr}
  .pick{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 12px}
  .pk-ph{width:100%}
}

/* The points, without a card (Tag, 2026-11-10: no physical card, so a card would mislead). panel: the account's points panel, light like the site's other panels. num: the number alone. */
.cl-scene[data-obj] .cl-card{aspect-ratio:auto;gap:4px;grid-template-rows:auto auto auto auto}
.cl-scene[data-obj] .cl-card::after{display:none}
.cl-c-links{display:none}
.cl-scene[data-obj=panel] .cl-card{background:#fbfaf8;color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 48px -32px rgb(17 17 16 / .35)}
.cl-scene[data-obj=panel] .cl-c-top{padding-bottom:14px;margin-bottom:clamp(16px,2vw,28px);border-bottom:1px solid var(--line);color:var(--muted)}
.cl-scene[data-obj=panel] .cl-c-top span:first-child{font-weight:600;color:var(--ink)}
.cl-scene[data-obj] .cl-c-num b{color:var(--calendula)}
.cl-scene[data-obj] .cl-c-num span{color:var(--muted)}
.cl-scene[data-obj=panel] .cl-c-links{display:flex;gap:24px;margin:clamp(16px,2vw,28px) 0 0;padding-top:14px;border-top:1px solid var(--line);font-size:16px;font-weight:600}
.cl-scene[data-obj=panel] .cl-c-links span{text-decoration:underline;text-underline-offset:3px}
.cl-scene[data-obj=num] .cl-card{padding:0;background:none;color:var(--ink);box-shadow:none;border-radius:0}
.cl-scene[data-obj=num] .cl-c-top{display:none}
.cl-scene[data-obj=num] .cl-c-num{font-size:clamp(96px,11vw,176px)}
.cl-scene[data-obj] .cl-c-num{flex-wrap:wrap;row-gap:8px}
.cl-scene[data-obj] .cl-c-num span{white-space:nowrap}
.cl-scene[data-obj=num] .cl-c-val{margin-top:18px;font-size:clamp(20px,1.5vw,24px)}
@media (max-width:760px){
  .cl-scene[data-obj=panel] .cl-c-top{padding-bottom:8px;margin-bottom:4px}
  .cl-scene[data-obj] .cl-c-links{display:none}
  .cl-scene[data-obj=num] .cl-card{padding:4px 0 12px;border-bottom:1px solid var(--line)}
  .cl-scene[data-obj=num] .cl-c-num{font-size:64px}
}

/* Opening photo options (?hero=tee|cap|mix, 2026-11-10). tee and cap: look b with a person instead of the hand and jar. mix: three people in a row across the page, the line centred under them. */
.cl-open[data-hero=tee]>img,.cl-open[data-hero=cap]>img{object-position:50% 30%}
.cl-open[data-top=mix]{display:grid;justify-items:center;gap:var(--group);padding-bottom:var(--group);background:var(--wall)}
.cl-mix{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(6px,.8vw,12px);width:100%}
.cl-mix img{display:block;width:100%;height:min(50svh,500px);object-fit:cover}
.cl-mix img:nth-child(1){object-position:50% 25%}
.cl-mix img:nth-child(2){object-position:50% 40%}
.cl-mix img:nth-child(3){object-position:50% 30%}
.cl-open[data-top=mix] .cl-open-txt{display:grid;justify-items:center;gap:var(--head);padding:0 var(--pad);text-align:center}
.cl-open[data-top=mix] .cl-btns{justify-content:center}
@media (max-width:760px){
  .cl-mix img{height:auto;aspect-ratio:3/4}
  .cl-open[data-hero=tee]>img,.cl-open[data-hero=cap]>img{object-position:50% 30%}
}

/* ?hero=mix2: the three photos fill the first screen and the line sits on them, white on a dark fade from the bottom so every word stays readable on any photo.
   The text centred over the lower part, as in the row version (Tag, 2026-11-10: "i want the text in the middle how it was before"). Phone: the three photos as tall strips, the text over their lower half. */
.cl-open[data-top=mix2]{position:relative;display:block;padding:0;background:var(--ink)}
.cl-open[data-top=mix2] .cl-mix img{height:calc(100svh - var(--hd) - 44px);min-height:560px;max-height:920px}
.cl-open[data-top=mix2]::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgb(17 17 16 / .86) 0%,rgb(17 17 16 / .72) 40%,rgb(17 17 16 / .45) 62%,rgb(17 17 16 / 0) 85%);pointer-events:none}
.cl-open[data-top=mix2] .cl-open-txt{text-shadow:0 1px 16px rgb(17 17 16 / .45)}
.cl-open[data-top=mix2] .cl-open-txt{position:absolute;z-index:1;left:0;right:0;bottom:0;display:grid;justify-items:center;gap:var(--head);padding:0 var(--pad) clamp(32px,5vw,72px);text-align:center;color:var(--on-dark)}
.cl-open[data-top=mix2] h1{max-width:14ch;font-size:clamp(48px,6vw,104px)}
.cl-open[data-top=mix2] .sub{max-width:40ch}
.cl-open[data-top=mix2] .crumbs{padding:4px 12px;background:rgb(17 17 16 / .62);border-radius:999px;color:var(--on-dark)}
.cl-open[data-top=mix2] .crumbs a{color:var(--on-dark)}
.cl-open[data-top=mix2] .cl-btns{justify-content:center}
.cl-open[data-top=mix2] .btn:not(.ghost){background:var(--on-dark);color:var(--ink);border-color:var(--on-dark)}
.cl-open[data-top=mix2] .btn:not(.ghost):hover{background:transparent;color:var(--on-dark)}
.cl-open[data-top=mix2] .btn.ghost{color:var(--on-dark);border-color:var(--on-dark)}
.cl-open[data-top=mix2] .btn.ghost:hover{background:var(--on-dark);color:var(--ink)}
@media (max-width:760px){
  .cl-open[data-top=mix2] .cl-mix{gap:4px}
  .cl-open[data-top=mix2] .cl-mix img{aspect-ratio:auto;height:calc(100svh - 120px);min-height:620px;max-height:none}
  .cl-open[data-top=mix2]::after{background:linear-gradient(to top,rgb(17 17 16 / .88) 0%,rgb(17 17 16 / .7) 45%,rgb(17 17 16 / 0) 72%)}
  .cl-open[data-top=mix2] .cl-btns{flex-direction:column;align-items:stretch;width:100%}
}
