/* El Club de Motas - v4: una sola página, tema de colorear */
@font-face { font-family: "Gabarito"; font-weight: 400 900; font-style: normal; font-display: swap;
  src: url(/fonts/gabarito-latin-wght-normal.woff2) format("woff2-variations"), url(/fonts/gabarito-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-style: normal; font-display: swap;
  src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2-variations"), url(/fonts/figtree-latin-wght-normal.woff2) format("woff2"); }

:root {
  --ink: #1a1446;
  --cobalt: #3b5bff;
  --cobalt-d: #2a3fd0;
  --sun: #ffd23f;
  --coral: #ff6a55;
  --mint: #22d3a0;
  --grape: #8b5cff;
  --pink: #ff8fc4;
  --lime: #b6ee5a;
  --sky: #5cc8ff;
  --cream: #fff7e8;
  --muted: #4a4470;
  --stroke: 3px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
  --display: "Gabarito", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: clamp(20px, 4.5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); font-weight: 500; font-size: 1.1rem; line-height: 1.55; color: var(--ink); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--cobalt-d); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
.wrap { width: min(1480px, 100% - var(--gut) * 2); margin-inline: auto; position: relative; }
.narrow { max-width: 760px; }

/* ---------- barra de menú ---------- */
.bar-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding-inline: clamp(10px, 2vw, 28px); pointer-events: none; }
.bar { pointer-events: auto; max-width: 1480px; margin-inline: auto; display: flex; align-items: center; gap: 18px; justify-content: space-between;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border: var(--stroke); border-radius: 999px; padding: 8px 10px 8px 12px; box-shadow: 0 5px 0 var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 900; line-height: .95; font-size: 1.08rem; }
.brand img { width: 48px; height: 48px; border-radius: 50%; border: var(--stroke); background: #fff; transition: transform .35s; }
.brand:hover img { transform: rotate(-14deg) scale(1.1); }
.brand.light { color: #fff; }
.brand.light img { border-color: #fff; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.05rem; padding: 9px 18px; border-radius: 999px; transition: background .15s, transform .15s; }
.nav a:hover { background: #ffeeb0; transform: translateY(-2px) rotate(-2deg); }
.nav a.on { background: var(--ink); color: #fff; }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.pill { display: inline-block; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--ink); border: var(--stroke); border-radius: 999px; padding: 9px 20px; box-shadow: 3px 3px 0 var(--ink); transition: transform .1s, box-shadow .1s; white-space: nowrap; cursor: pointer; }
.pill:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.pill-sun { background: var(--sun); }
.pill-ghost { background: #fff; }
.pill.big { display: block; text-align: center; font-size: 1.25rem; padding: 14px 22px; margin-top: 8px; }
.burger { width: 46px; height: 46px; border-radius: 50%; border: var(--stroke); background: var(--coral); display: grid; place-content: center; gap: 5px; cursor: pointer; padding: 0; }
.burger i { display: block; width: 20px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.drawer { pointer-events: auto; max-width: 1480px; margin: 10px auto 0; background: #fff; border: var(--stroke); border-radius: 28px; box-shadow: var(--pop); padding: 14px; display: grid; gap: 4px; }
.drawer a:not(.pill) { text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.5rem; padding: 12px 16px; border-radius: 16px; }
.drawer a:not(.pill):nth-of-type(5n+1):hover { background: #ffeeb0; }
.drawer a:not(.pill):hover { background: #ffeeb0; }
.drawer a.on { background: var(--ink); color: #fff; }

/* ---------- botones ---------- */
.btn { font: inherit; font-family: var(--display); font-weight: 800; font-size: 1.2rem; cursor: pointer; width: 100%; background: var(--sun); color: var(--ink); border: var(--stroke);
  border-radius: 18px; padding: 15px 28px; box-shadow: 5px 5px 0 var(--ink); transition: transform .1s, box-shadow .1s; text-decoration: none; display: inline-block; text-align: center; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn:focus-visible, .pill:focus-visible, .nav a:focus-visible { outline: 4px solid var(--grape); outline-offset: 3px; }
.btn.auto { width: auto; }
.btn.ghost { background: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--cobalt); color: #fff; padding: 128px 0 110px; overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,.14) 2.5px, transparent 2.5px); background-size: 34px 34px; }
.hero-grid { display: grid; gap: 30px; align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 8.4vw, 7.2rem); font-weight: 900; line-height: .96; letter-spacing: -0.02em; text-wrap: balance; }
.rainbow { display: inline-block; white-space: nowrap; }
.rainbow span { display: inline-block; animation: hop 2.6s ease-in-out infinite; text-shadow: 4px 4px 0 var(--ink); }
.l1 { color: var(--sun); } .l2 { color: var(--coral); animation-delay: .1s !important; } .l3 { color: var(--mint); animation-delay: .2s !important; } .l4 { color: var(--pink); animation-delay: .3s !important; }
.l5 { color: var(--sun); animation-delay: .4s !important; } .l6 { color: var(--coral); animation-delay: .5s !important; } .l7 { color: var(--mint); animation-delay: .6s !important; } .l8 { color: var(--pink); animation-delay: .7s !important; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 600; max-width: 30em; margin: 22px 0 28px; }
.hero .lead { color: #e8edff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero .btn { box-shadow: 5px 5px 0 var(--ink); }

.hero-art { position: relative; min-height: 420px; display: grid; place-items: end center; }
.disc { position: absolute; border-radius: 50%; border: var(--stroke); }
.disc.d1 { width: min(94%, 560px); aspect-ratio: 1; background: var(--sun); bottom: 0; left: 50%; transform: translateX(-50%); animation: pulse 7s ease-in-out infinite; }
.disc.d2 { width: 110px; aspect-ratio: 1; background: var(--coral); top: 2%; left: 4%; animation: bob 3.4s ease-in-out infinite; }
.hero-art img.chars { position: relative; z-index: 2; width: min(78%, 400px); height: auto; filter: drop-shadow(0 10px 0 rgba(26,20,70,.25)); animation: float 4.6s ease-in-out infinite; }
.cr { position: absolute; width: 44px; height: 154px; z-index: 3; }
.c-a { color: var(--coral); left: 2%; bottom: 4%; transform: rotate(-24deg); }
.c-b { color: var(--mint); right: 3%; bottom: 10%; transform: rotate(28deg); }
.c-c { color: var(--pink); right: 14%; top: 4%; transform: rotate(14deg); width: 38px; height: 133px; animation: bob 3.8s ease-in-out infinite; }
.dd { position: absolute; width: 56px; height: 56px; pointer-events: none; }
.dd.y { color: var(--sun); } .dd.w { color: #fff; } .dd.p { color: var(--pink); } .dd.i { color: var(--ink); } .dd.c { color: var(--coral); }
.dd-1 { top: 17%; left: 4%; animation: spin 9s linear infinite; }
.dd-2 { width: 130px; top: 40%; left: 1%; opacity: .85; }
.dd-3 { bottom: 12%; left: 42%; opacity: .8; animation: bob 4s ease-in-out infinite; }
.dd-4 { top: 22%; left: 47%; width: 34px; height: 34px; animation: spin 6s linear infinite; }
.dd-5 { bottom: 16%; left: 6%; width: 44px; animation: bob 3s ease-in-out infinite; }
.dd-6 { top: 14%; right: 6%; width: 44px; animation: spin 11s linear infinite reverse; }
.wave-b { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; }

/* ---------- cinta ---------- */
.ribbon { background: var(--sun); border-block: var(--stroke); transform: rotate(-1.4deg); margin: -34px -20px 0; position: relative; z-index: 5; overflow: hidden; box-shadow: 0 6px 0 var(--ink); }
.ribbon-track { display: flex; width: max-content; gap: 28px; padding: 14px 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: .02em; animation: marquee 28s linear infinite; }
.ribbon-track i { font-style: normal; color: var(--coral); }

/* ---------- secciones ---------- */
.sec { position: relative; padding: clamp(72px, 9vw, 130px) 0; }
.sec-head { max-width: 900px; margin-bottom: 44px; }
.sec h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 900; text-wrap: balance; }
.sec-head p { font-size: 1.3rem; font-weight: 600; color: var(--muted); margin: 14px 0 0; }
.hl { display: inline-block; padding: 0 .18em; border: var(--stroke); border-radius: .3em; transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--ink); }
.hl-coral { background: var(--coral); color: #fff; } .hl-sun { background: var(--sun); } .hl-ink { background: var(--ink); color: var(--sun); }

/* videos */
.videos { background: var(--cream); background-image: radial-gradient(#f3dfbd 2.5px, transparent 2.5px); background-size: 32px 32px; }
.vgrid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.vcard { display: block; text-decoration: none; color: var(--ink); background: #fff; border: var(--stroke); border-radius: 28px; box-shadow: var(--pop); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.vcard:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 10px 12px 0 var(--ink); }
.vcard:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.vthumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-bottom: var(--stroke); background-size: cover; background-position: center; overflow: hidden; }
.v-sun .vthumb { background-color: var(--sun); } .v-mint .vthumb { background-color: var(--mint); } .v-coral .vthumb { background-color: var(--coral); }
.v-grape .vthumb { background-color: var(--grape); } .v-lime .vthumb { background-color: var(--lime); } .v-sky .vthumb { background-color: var(--sky); }
.big-l { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 7vw, 5.2rem); line-height: .9; text-align: center; letter-spacing: .04em; }
.big-e { font-size: clamp(4.5rem, 10vw, 7.5rem); line-height: 1; filter: drop-shadow(4px 5px 0 rgba(26,20,70,.3)); transition: transform .3s; }
.vcard:hover .big-e, .vcard:hover .big-l { transform: scale(1.12) rotate(-4deg); }
.play { position: absolute; right: 14px; bottom: 14px; width: 58px; height: 58px; border-radius: 50%; background: #fff; border: var(--stroke); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s; }
.play svg { width: 28px; height: 28px; margin-left: 3px; color: var(--coral); }
.vcard:hover .play { transform: scale(1.15); }
.vmeta { display: flex; flex-direction: column; padding: 16px 20px 20px; }
.vmeta b { font-family: var(--display); font-weight: 800; font-size: 1.55rem; line-height: 1.05; }
.vmeta em { font-style: normal; font-weight: 700; color: var(--muted); margin-top: 4px; }
.center-cta { text-align: center; margin: 48px 0 0; }

/* kit */
.kit { background: var(--sun); border-block: var(--stroke); overflow: hidden; }
.kit-grid { display: grid; gap: 50px; align-items: center; }
.kit .lead { color: var(--ink); }
.mini-steps { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.mini-steps li { display: flex; align-items: center; gap: 10px; background: #fff; border: var(--stroke); border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 700; box-shadow: 3px 3px 0 var(--ink); }
.mini-steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--sun); font-family: var(--display); }
.signup { position: relative; background: #fff; border: var(--stroke); border-radius: 28px; box-shadow: var(--pop); padding: 30px 28px 22px; max-width: 560px; }
.signup h3 { font-size: 1.9rem; font-weight: 900; margin-bottom: 14px; }
.free-badge { position: absolute; top: -20px; right: 20px; background: var(--coral); color: #fff; border: var(--stroke); border-radius: 999px; padding: 6px 18px; font-family: var(--display); font-weight: 900; box-shadow: 3px 3px 0 var(--ink); transform: rotate(5deg); animation: wiggle 2.6s ease-in-out infinite; }
.f { display: block; margin-bottom: 14px; }
.f span { display: block; font-weight: 800; margin-bottom: 6px; }
.signup input[type="text"], .signup input[type="email"] { width: 100%; font: inherit; font-weight: 600; padding: 14px 16px; border: var(--stroke); border-radius: 14px; background: #fffdf6; color: var(--ink); }
.signup input[type="text"]:focus, .signup input[type="email"]:focus { outline: 4px solid var(--grape); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 18px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.consent input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.status { margin: 12px 0 0; font-weight: 800; min-height: 1.2em; }
.status.error { color: #c0261c; } .status.ok { color: #12713f; }
.fine { font-size: .84rem; color: var(--muted); margin: 10px 0 0; font-weight: 600; }

.kit-art { position: relative; min-height: 460px; display: grid; place-items: center; }
.sheet { position: absolute; background: #fff; border: var(--stroke); border-radius: 10px; box-shadow: 8px 10px 0 var(--ink); padding: 14px; width: min(46%, 300px); aspect-ratio: 8.5 / 11; display: grid; place-items: center; transition: transform .3s; }
.sheet img { width: 100%; height: 100%; object-fit: contain; }
.s1 { left: 6%; top: 6%; transform: rotate(-7deg); }
.s2 { right: 6%; top: 14%; transform: rotate(6deg); z-index: 2; }
.s2 { position: absolute; }
.s2 img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.s2 .over { clip-path: inset(0 0 0 52%); }
.s2 .under { clip-path: none; }
.kit-art:hover .s1 { transform: rotate(-10deg) translateY(-6px); }
.kit-art:hover .s2 { transform: rotate(9deg) translateY(-6px); }
.k-a { color: var(--coral); left: 2%; bottom: 8%; transform: rotate(-60deg); z-index: 3; }
.k-b { color: var(--cobalt); left: 16%; bottom: 2%; transform: rotate(-70deg); z-index: 3; }
.k-c { color: var(--mint); right: 4%; bottom: 6%; transform: rotate(52deg); z-index: 3; }
.dd-7 { top: 6%; left: 40%; width: 120px; } .dd-8 { top: 10%; right: 6%; width: 64px; opacity: .55; }
.dd-9 { bottom: 10%; left: 4%; } .dd-10 { bottom: 14%; right: 42%; width: 34px; height: 34px; }

/* sobre */
.about { background: var(--mint); border-bottom: var(--stroke); }
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-logo img { width: min(100%, 460px); margin-inline: auto; aspect-ratio: 1; height: auto; filter: drop-shadow(8px 10px 0 var(--ink)); animation: float 5s ease-in-out infinite; }
.about-copy p { font-size: 1.3rem; font-weight: 600; max-width: 34em; margin: 20px 0 0; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 0; margin: 32px 0 0; }
.facts li { background: #fff; border: var(--stroke); border-radius: 22px; box-shadow: 4px 4px 0 var(--ink); padding: 14px 22px; min-width: 150px; }
.facts b { display: block; font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--cobalt-d); }
.facts span { font-weight: 700; font-size: .95rem; }

/* contacto */
.contact { background: var(--coral); color: #fff; overflow: hidden; }
.contact-in { text-align: center; max-width: 900px; }
.contact h2 { color: #fff; text-shadow: 4px 4px 0 var(--ink); }
.contact .lead { margin-inline: auto; color: #fff; }
.mail { display: inline-block; font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 4.6vw, 3rem); color: var(--ink); background: var(--sun); border: var(--stroke); border-radius: 22px; padding: 12px 26px; box-shadow: var(--pop); text-decoration: none; margin: 8px 0 30px; word-break: break-word; transition: transform .15s; }
.mail:hover { transform: rotate(-2deg) scale(1.03); }
.dd-11 { top: 14%; left: 8%; } .dd-12 { bottom: 16%; left: 14%; width: 130px; } .dd-13 { top: 18%; right: 10%; } .dd-14 { bottom: 14%; right: 8%; }

/* pie */
.foot { background: var(--ink); color: #fff; padding: 44px 0; }
.foot-in { display: grid; gap: 22px; align-items: center; justify-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.foot-links a:hover { color: var(--sun); }
.foot p { margin: 0; color: #b9b3e0; font-weight: 600; }

/* páginas internas */
body.inner .bar-wrap { position: sticky; }
.simple { padding: 56px 0 90px; min-height: 60vh; }
.center { text-align: center; }
.simple h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; margin-bottom: 18px; }
.simple .lead { margin-inline: auto; color: var(--muted); }
.simple .btn { margin: 8px 6px; }
.prose .wrap { max-width: 820px; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { font-size: 1.7rem; margin: 32px 0 8px; }
.prose p, .prose li { font-size: 1.1rem; font-weight: 500; }
.prose .draft { background: #fff3c4; border: var(--stroke); border-radius: 16px; padding: 14px 18px; }

/* aparición */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.vcard.reveal.in:hover { transform: translateY(-8px) rotate(-1deg); }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes pulse { 0%,100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hop { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-.14em); } }
@keyframes wiggle { 0%,100% { transform: rotate(5deg); } 50% { transform: rotate(-4deg) scale(1.07); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- pantallas grandes ---------- */
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .burger, .drawer { display: none !important; }
  .hero { padding: 150px 0 130px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-art { min-height: 620px; }
  .vgrid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .kit-grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .kit-art { min-height: 640px; }
  .about-grid { grid-template-columns: .8fr 1.2fr; gap: 90px; }
  .foot-in { grid-template-columns: auto 1fr auto; justify-items: center; }
  .foot-links { justify-content: center; }
}
@media (max-width: 999px) { .bar-actions .pill-sun { padding: 8px 16px; } }
@media (max-width: 420px) { .brand span { font-size: .95rem; } .bar-actions .pill-sun { display: none; } .hero { padding-top: 112px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }
.dd-2 { top: 9%; left: 56%; width: 120px; }
.dd-5 { bottom: 7%; left: 34%; }
.k-a { left: 12%; }
.k-b { left: 26%; }
@media (max-width: 999px) { .kit-art { min-height: 520px; } .sheet { width: min(44%, 260px); } .hero-art { min-height: 440px; } .dd-1 { top: 11%; } .dd-2 { top: 3%; left: 60%; width: 90px; } .k-a, .k-b { display: none; } }
@media (max-width: 999px) {
  .hero h1 { font-size: clamp(3rem, 12.6vw, 5.6rem); }
  .hero .dd:not(.dd-6):not(.dd-3) { display: none; }
  .dd-6 { top: 96px; right: 14px; }
}
html, main { overflow-x: clip; }
@media (max-width: 999px) {
  .contact .dd, .kit .dd-7 { display: none; }
  .facts { gap: 10px; flex-wrap: nowrap; }
  .facts li { min-width: 0; flex: 1; padding: 12px 14px; }
  .facts b { font-size: 1.8rem; } .facts span { font-size: .82rem; display: block; line-height: 1.2; }
}
