
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;600;700;800;900&display=swap');
:root{--ink:#090909;--paper:#f7f3e9;--pink:#ff0879;--yellow:#ffe72c;--blue:#4fd9ff;--white:#fff;--shadow:7px 7px 0 #090909}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif}.wrap{width:min(1180px,calc(100% - 38px));margin:auto}a{text-decoration:none;color:inherit}.hidden{display:none!important}
header{position:sticky;top:0;z-index:50;background:#f7f3e9f5;border-bottom:1px solid #ddd;backdrop-filter:blur(12px)}nav{height:78px;display:flex;align-items:center;gap:28px}.brand{font-family:'Archivo Black';font-size:22px;line-height:.85}.brand em{font-style:normal;color:var(--pink)}.tagline{font-size:8px;font-weight:900;letter-spacing:.02em}.nav{display:flex;align-items:center;gap:26px;margin-left:auto;font-size:13px;font-weight:800}.nav a.active{border-bottom:3px solid var(--pink);padding-bottom:8px}.btn{border:2px solid var(--ink);padding:12px 18px;background:#fff;box-shadow:3px 3px 0 var(--ink);font-weight:900;display:inline-block;cursor:pointer}.btn.pink{background:var(--pink);color:#fff}.btn.yellow{background:var(--yellow)}.btn:hover{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.hero{padding:54px 0 58px}.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:48px;align-items:center}.label{display:inline-block;background:var(--yellow);border:2px solid var(--ink);padding:7px 10px;font-family:'Archivo Black';font-size:14px;box-shadow:3px 3px 0 var(--ink);transform:rotate(-1deg)}h1,h2,h3{font-family:'Archivo Black';letter-spacing:-.045em}.hero h1{font-size:clamp(58px,7.2vw,94px);line-height:.76;margin:25px 0 18px}.hero h1 span{display:block;color:var(--pink);font-size:.63em;font-style:italic;line-height:1.15;transform:rotate(-2deg);transform-origin:left}.lead{font-size:17px;font-weight:600;line-height:1.4;max-width:590px}.actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:22px}.proof{display:flex;gap:22px;flex-wrap:wrap;margin-top:27px;font-size:13px;font-weight:700}.proof span:before{content:"✓";display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#000;color:#fff;margin-right:8px}.hero-media{position:relative}.hero-media img{width:100%;display:block;max-height:500px;object-fit:cover;border:4px solid #000;box-shadow:8px 8px 0 #000;transform:rotate(1deg)}.note{position:absolute;border:3px solid #000;padding:13px;font-family:'Archivo Black';line-height:1.05;box-shadow:4px 4px 0 #000}.note.a{background:var(--yellow);left:-22px;top:8px;transform:rotate(-7deg)}.note.b{background:var(--blue);right:-12px;bottom:8px;transform:rotate(-6deg)}
.ticker{background:#000;color:#fff;padding:12px;white-space:nowrap;overflow:hidden;font-weight:900}.ticker i{color:var(--pink);font-style:normal;margin:0 20px}
.section{padding:68px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:28px}.section-head h2{font-size:clamp(38px,5vw,64px);line-height:.92;margin:0}.section-head p{max-width:440px;font-weight:600;color:#444}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:3px solid #000;box-shadow:var(--shadow);padding:22px;display:flex;flex-direction:column;min-height:430px}.num{align-self:flex-start;border:2px solid #000;padding:3px 7px;font-weight:900;background:var(--yellow)}.card:nth-child(2) .num{background:var(--blue)}.card h3{font-size:34px;line-height:.92;margin:25px 0 10px}.card p{margin:0 0 15px;font-weight:600}.card img{width:100%;height:180px;object-fit:cover;border:2px solid #000;margin-top:auto}.card .btn{text-align:center;margin-top:13px}
.gallery{display:grid;grid-template-columns:.72fr 1.28fr;gap:42px;align-items:center}.gallery h2{font-size:45px;line-height:.9;margin:0}.stats{display:flex;gap:18px;margin-top:28px}.stat{padding-right:18px;border-right:1px solid #aaa}.stat:last-child{border:0}.stat b{font-family:'Archivo Black';font-size:24px;display:block}.stat small{font-size:11px}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.gallery-grid img{width:100%;aspect-ratio:.78;object-fit:cover;border:3px solid #000}
.pro{background:#0c0c0c;color:#fff;padding:66px 0}.pro-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}.pro h2{font-size:75px;line-height:.85;margin:0}.pro h2 span{color:var(--pink)}.pro p{color:#ccc;font-weight:600}.probox{background:var(--yellow);color:#000;border:3px solid #fff;box-shadow:8px 8px 0 var(--pink);padding:28px;transform:rotate(1deg)}.probox strong{font-family:'Archivo Black';font-size:30px}.probox li{font-weight:800;margin:12px 0}
.banner{margin:58px auto;border:3px solid #000;box-shadow:6px 6px 0 #000;display:block;background:#000;overflow:hidden;padding:0}.banner img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover}
footer{border-top:2px solid #000;padding:32px 0}.foot{display:flex;justify-content:space-between;align-items:center;gap:20px}.footlinks{display:flex;gap:20px;font-size:12px;font-weight:800}
.wa{position:fixed;right:22px;bottom:22px;z-index:90;display:flex;flex-direction:column;align-items:center;gap:5px}.wa-bubble{background:#fff;border:2px solid #000;border-radius:13px;padding:7px 10px;font-size:11px;font-weight:800;box-shadow:3px 3px 0 #000}.wa-circle{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff;border:3px solid #fff;box-shadow:0 0 0 2px #25D366,4px 4px 0 #000;font-size:29px;font-weight:900}.wa small{background:#000;color:#fff;padding:4px 8px;border-radius:10px;font-weight:800}
@media(max-width:850px){.nav a:not(.account){display:none}.hero-grid,.gallery,.pro-grid,.banner{grid-template-columns:1fr}.hero h1{font-size:58px}.cards{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr 1fr}.section-head{display:block}.hero-media{margin-top:10px}.foot{align-items:flex-start;flex-direction:column}.footlinks{flex-wrap:wrap}}

.content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.content-item{position:relative;background:#fff;border:3px solid #000;box-shadow:7px 7px 0 #000;padding:18px;display:flex;flex-direction:column;min-height:340px}.content-item img{width:100%;height:180px;object-fit:cover;border:2px solid #000}.content-item h3{font-size:27px;margin:18px 0 7px}.content-item p{font-weight:600;color:#444;flex:1}.access{position:absolute;right:10px;top:10px;background:#ffe72c;border:2px solid #000;padding:5px 8px;font-weight:900;z-index:2}.access.protag{background:#ff0879;color:#fff}.empty{grid-column:1/-1;border:3px dashed #000;padding:30px;font-weight:800;text-align:center}.danger{background:#fff;color:#000}.manage-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;border-top:2px solid #000;padding:13px 0}.manage-row:first-child{border-top:0}.manage-row small{display:block;color:#666}.mini-actions{display:flex;gap:7px}.mini-actions button{border:2px solid #000;background:#fff;padding:7px 9px;font-weight:800;cursor:pointer}@media(max-width:850px){.content-grid{grid-template-columns:1fr}}

/* V7: evita mostrar las imagenes antiguas mientras Supabase carga la configuracion actual */
.bc-dynamic-image{opacity:0;visibility:hidden}
.bc-dynamic-image.bc-image-ready{opacity:1;visibility:visible;transition:opacity .12s ease}

/* Logo oficial BienChingónMX */
.brand-image{display:flex;align-items:center;height:70px}
.brand-image img{display:block;width:150px;max-height:68px;object-fit:contain}
@media(max-width:700px){.brand-image img{width:115px;max-height:58px}}

/* Catálogo en portada */
.catalog-preview{position:relative;min-height:180px;margin-top:auto;background:#111;border:2px solid #000;overflow:hidden;padding:18px}
.catalog-sheet{position:absolute;width:44%;height:135px;left:18%;top:20px;background:#fff;border:2px solid #000;box-shadow:8px 8px 0 #ff2d91;display:flex;flex-direction:column;justify-content:space-between;padding:10px;transform:rotate(-5deg);color:#111;font-size:11px}
.catalog-sheet.second{left:48%;top:30px;box-shadow:8px 8px 0 #00d7e7;transform:rotate(6deg)}
.catalog-sheet span{background:#111;color:#fff;padding:5px;text-align:center;font-weight:900}
@media(max-width:900px){.catalog-preview{min-height:160px}}
