/* CoopHalal Ahorro 2.0 — únicamente estilos: el texto procede literalmente de la página original */
.cha{--cha-green:#185b48;--cha-gold:#d8ba75;--cha-text:#263d33;--cha-muted:#55665e;--cha-border:#dce8e1;box-sizing:border-box;max-width:1120px;margin:0 auto;background:#fff;color:var(--cha-text);font-family:inherit;line-height:1.8;overflow-wrap:anywhere}
.cha *{box-sizing:border-box}
.cha-hero{padding:58px 30px 40px;border-bottom:1px solid var(--cha-border);background:linear-gradient(115deg,#fff 64%,#f4faf6)}
.cha-hero h1{font-family:inherit;color:var(--cha-green);font-size:clamp(2.4rem,5vw,4.4rem);letter-spacing:-.045em;margin:0;font-weight:800;line-height:1.13}
.cha-section{padding:48px 30px 55px;border-bottom:1px solid var(--cha-border)}
.cha-section:last-child{border-bottom:0}
.cha-content{max-width:950px;font-size:1rem}
.cha-content p{margin:0 0 21px;line-height:1.85;color:var(--cha-text)}
.cha-content h3{font-family:inherit;color:var(--cha-green);line-height:1.3;font-size:clamp(1.25rem,2.4vw,1.85rem);font-weight:750;letter-spacing:-.025em;margin:35px 0 22px}
.cha-content h3:first-child{margin-top:0}
.cha-content blockquote{border:1px solid #e4eee7;border-left:5px solid var(--cha-gold);background:#f7faf8;border-radius:4px 15px 15px 4px;margin:0 0 30px;padding:28px clamp(20px,4vw,36px);box-shadow:0 8px 28px rgba(24,91,72,.035)}
.cha-content blockquote p{font-size:clamp(1rem,1.65vw,1.15rem);margin-bottom:12px;font-weight:500}
.cha-content blockquote p:last-child{margin-bottom:0}
.cha-content ol,.cha-content ul{margin:18px 0 26px;padding:0;list-style:none;counter-reset:cha-list;display:grid;gap:12px}
.cha-content ol>li,.cha-content ul>li{position:relative;background:#fff;border:1px solid var(--cha-border);border-radius:15px;padding:20px 22px 19px 24px;box-shadow:0 6px 22px rgba(24,91,72,.04);transition:border-color .2s,box-shadow .2s,transform .2s}
.cha-content ol>li{counter-increment:cha-list;padding-left:61px}
.cha-content ol>li:before{content:counter(cha-list,decimal-leading-zero);position:absolute;left:19px;top:20px;background:#eaf3ed;border-radius:10px;color:var(--cha-green);font-size:.83rem;line-height:2.1;width:34px;text-align:center;font-weight:750}
.cha-content ul>li{padding-left:28px}
.cha-content ul>li:before{content:"";position:absolute;left:14px;top:29px;width:6px;height:6px;background:var(--cha-green);border-radius:50%}
.cha-content li p{margin:11px 0 0}
.cha-content li p:last-child{margin-bottom:0}
.cha-content li strong{color:var(--cha-green)}
.cha-content a{color:var(--cha-green)!important;text-decoration:underline;text-underline-offset:3px;font-weight:650}
.cha-content a:focus-visible{outline:3px solid var(--cha-gold);outline-offset:3px}
@media(hover:hover){.cha-content ol>li:hover,.cha-content ul>li:hover{border-color:#a3caba;box-shadow:0 9px 28px rgba(24,91,72,.09);transform:translateY(-2px)}}
@media(max-width:720px){.cha-hero{padding:39px 18px 31px}.cha-section{padding:32px 18px 37px}.cha-content ol>li{padding:16px 16px 16px 57px}.cha-content ol>li:before{left:13px;top:17px}.cha-content ul>li{padding:16px 17px 16px 28px}.cha-content ul>li:before{top:26px}.cha-content blockquote{padding:20px}}
@media(prefers-reduced-motion:reduce){.cha-content li{transition:none!important}}

/* v3.0 — mejoras exclusivamente visuales, sin modificar el contenido */
.cha{--cha-ink:#243b30;--cha-shadow:0 16px 34px rgba(24,91,72,.06);border-radius:18px;isolation:isolate}
.cha-hero{position:relative;overflow:hidden;border-radius:18px 18px 0 0;box-shadow:inset 0 -1px 0 var(--cha-border)}
.cha-hero:after{content:"";position:absolute;right:-64px;top:-116px;width:285px;height:285px;border:1px solid rgba(24,91,72,.09);border-radius:50%;pointer-events:none;box-shadow:0 0 0 52px rgba(24,91,72,.025),0 0 0 105px rgba(24,91,72,.018)}
.cha-hero h1{position:relative;z-index:1;max-width:780px}
.cha-introduction{background:linear-gradient(180deg,#ffffff 0%,#fcfdfc 100%)}
.cha-investment{background:#f9fcfa}
.cha-financing{background:#fff}
.cha-content{margin-inline:auto}
.cha-content h3{padding-left:17px;border-left:4px solid var(--cha-gold);scroll-margin-top:105px}
.cha-content h3:not(:first-child){margin-top:48px}
.cha-content blockquote{box-shadow:var(--cha-shadow)}
.cha-content blockquote p{max-width:800px}
.cha-content ol,.cha-content ul{grid-template-columns:minmax(0,1fr);gap:15px}
.cha-content ol>li,.cha-content ul>li{box-shadow:var(--cha-shadow);background:rgba(255,255,255,.96)}
.cha-content li{min-width:0}
.cha-content li strong{font-weight:750}
.cha-content a{transition:color .15s ease,background-color .15s ease}
.cha-content a:hover{color:#0b4434!important;background-color:#eff6f1}
.cha-content a:focus-visible,.cha a:focus-visible{outline:3px solid #ad8541;outline-offset:4px;border-radius:3px}
@media(min-width:1050px){.cha-hero{padding:70px 56px 48px}.cha-section{padding:65px 56px 70px}.cha-content{font-size:1.025rem}}
@media(min-width:721px) and (max-width:1049px){.cha-section{padding:54px 38px}.cha-hero{padding-inline:38px}}
@media(max-width:720px){.cha{border-radius:12px;line-height:1.7}.cha-hero{border-radius:12px 12px 0 0}.cha-hero:after{width:160px;height:160px;right:-65px;top:-70px;box-shadow:0 0 0 25px rgba(24,91,72,.02)}.cha-content{font-size:1rem}.cha-content h3{font-size:1.34rem;padding-left:12px;margin-top:32px!important;margin-bottom:17px}.cha-content h3:first-child{margin-top:0!important}.cha-content p{line-height:1.75}.cha-content blockquote{margin-bottom:26px}.cha-content ol,.cha-content ul{gap:11px}.cha-content ol>li,.cha-content ul>li{border-radius:12px;box-shadow:0 5px 16px rgba(24,91,72,.035)}}
@media(prefers-reduced-motion:reduce){.cha-content a{transition:none}}
@media print{.cha{max-width:none;border-radius:0}.cha-hero,.cha-section{background:#fff!important;padding:18px 0}.cha-content li,.cha-content blockquote{break-inside:avoid;box-shadow:none!important}.cha-content a{text-decoration:underline}}



/* v4.1 — iconos más realistas y con color; ningún texto cambia */
.cha .cha-investment .cha-content > ul:last-child,
.cha .cha-financing .cha-content > ul:last-of-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.cha .cha-financing .cha-content > ul:last-of-type{grid-template-columns:repeat(3,minmax(0,1fr))}
.cha .cha-investment .cha-content > ul:last-child > li,
.cha .cha-financing .cha-content > ul:last-of-type > li{
 display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;
 padding:26px 22px 25px!important;border:1px solid #d4e6dc;border-radius:18px;
 background:#fff;box-shadow:0 10px 28px rgba(24,91,72,.06);
 transition:background-color .22s,color .22s,border-color .22s,box-shadow .22s,transform .22s
}
.cha .cha-investment .cha-content > ul:last-child > li:before,
.cha .cha-financing .cha-content > ul:last-of-type > li:before{content:none}
.cha .cha-investment .cha-content > ul:last-child > li:after,
.cha .cha-financing .cha-content > ul:last-of-type > li:after{
 content:'';order:-1;width:62px;height:62px;border-radius:18px;
 display:block;background-color:#f5faf7;background-size:44px 44px;background-repeat:no-repeat;background-position:center;
 border:1px solid #dcece2;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 8px 18px rgba(24,91,72,.08);flex:0 0 auto
}
.cha .cha-investment .cha-content > ul:last-child > li strong,
.cha .cha-financing .cha-content > ul:last-of-type > li strong{display:inline;font-size:1.13rem;line-height:1.45}
@media(hover:hover){
 .cha .cha-investment .cha-content > ul:last-child > li:hover,
 .cha .cha-financing .cha-content > ul:last-of-type > li:hover{background:var(--cha-green);color:#fff;border-color:var(--cha-green);box-shadow:0 15px 32px rgba(24,91,72,.18);transform:translateY(-4px)}
 .cha .cha-investment .cha-content > ul:last-child > li:hover strong,
 .cha .cha-financing .cha-content > ul:last-of-type > li:hover strong{color:#fff}
 .cha .cha-investment .cha-content > ul:last-child > li:hover:after,
 .cha .cha-financing .cha-content > ul:last-of-type > li:hover:after{background-color:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 10px 20px rgba(0,0,0,.12)}
}
@media(max-width:800px){.cha .cha-financing .cha-content > ul:last-of-type{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){
 .cha .cha-investment .cha-content > ul:last-child,.cha .cha-financing .cha-content > ul:last-of-type{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .cha .cha-investment .cha-content > ul:last-child > li,.cha .cha-financing .cha-content > ul:last-of-type > li{padding:17px 13px!important;gap:8px;border-radius:13px;font-size:.92rem}
 .cha .cha-investment .cha-content > ul:last-child > li strong,.cha .cha-financing .cha-content > ul:last-of-type > li strong{font-size:1.02rem}
 .cha .cha-investment .cha-content > ul:last-child > li:after,.cha .cha-financing .cha-content > ul:last-of-type > li:after{width:50px;height:50px;background-size:35px 35px;border-radius:15px}
}
@media(max-width:360px){.cha .cha-investment .cha-content > ul:last-child,.cha .cha-financing .cha-content > ul:last-of-type{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.cha .cha-investment .cha-content > ul:last-child > li,.cha .cha-financing .cha-content > ul:last-of-type > li{transition:none}}

/* Estándar: cartera con billetes */
.cha .cha-investment .cha-content > ul:last-child > li:nth-child(1):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='9' y='18' width='46' height='28' rx='6' fill='%2329916c'/%3E%3Crect x='13' y='22' width='38' height='20' rx='4' fill='%233fb58a'/%3E%3Ccircle cx='32' cy='32' r='7' fill='%23f8df7a'/%3E%3Cpath d='M20 26c2 0 4-2 4-4m16 0c0 2 2 4 4 4m-24 12c2 0 4 2 4 4m16-4c0 2 2 4 4 4' stroke='%23216f55' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Crect x='16' y='12' width='32' height='8' rx='3' fill='%23eac76b'/%3E%3C/svg%3E")}
/* Infancia: niño y niña */
.cha .cha-investment .cha-content > ul:last-child > li:nth-child(2):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='22' cy='22' r='8' fill='%23f4c7a1'/%3E%3Ccircle cx='42' cy='22' r='8' fill='%23f4c7a1'/%3E%3Cpath d='M15 19c1-5 5-8 10-8 3 0 5 1 7 3-1 3-4 5-8 5-4 0-7 0-9 0Z' fill='%236b4f3a'/%3E%3Cpath d='M35 18c2-5 6-7 10-7 5 0 8 3 9 7-2 0-5 1-8 1-4 0-7-1-11-1Z' fill='%234d2f7a'/%3E%3Ccircle cx='19.5' cy='23' r='1.1' fill='%23333'/%3E%3Ccircle cx='24.5' cy='23' r='1.1' fill='%23333'/%3E%3Ccircle cx='39.5' cy='23' r='1.1' fill='%23333'/%3E%3Ccircle cx='44.5' cy='23' r='1.1' fill='%23333'/%3E%3Cpath d='M20 26c1.5 1 2.5 1 4 0' stroke='%23b66f5d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M40 26c1.5 1 2.5 1 4 0' stroke='%23b66f5d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M15 36c0-4 3-7 7-7s7 3 7 7v8H15v-8Z' fill='%233e93d1'/%3E%3Cpath d='M35 36c0-4 3-7 7-7s7 3 7 7v8H35v-8Z' fill='%23f27da6'/%3E%3Cpath d='M32 48c-2-3-6-5-10-5m10 5c2-3 6-5 10-5' stroke='%239ac27a' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='32' cy='48' r='2.5' fill='%23f1d16d'/%3E%3C/svg%3E")}
/* Juvenil: graduación */
.cha .cha-investment .cha-content > ul:last-child > li:nth-child(3):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M8 24 32 14l24 10-24 10L8 24Z' fill='%23234f89'/%3E%3Cpath d='M20 30v9c0 5 24 5 24 0v-9' fill='%233d6fb1'/%3E%3Cpath d='M56 24v14' stroke='%23234f89' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='56' cy='40' r='4' fill='%23f1c75b'/%3E%3Cpath d='M28 42h8' stroke='%23f8f8f8' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E")}
/* Hajj: Kaaba */
.cha .cha-investment .cha-content > ul:last-child > li:nth-child(4):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='16' y='18' width='32' height='28' rx='2' fill='%231c1c1c'/%3E%3Crect x='16' y='24' width='32' height='5' fill='%23e5c45e'/%3E%3Crect x='28' y='34' width='8' height='12' fill='%23e5c45e'/%3E%3Cpath d='M10 46h44' stroke='%23b7c973' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='49' r='2' fill='%2392a75f'/%3E%3Ccircle cx='22' cy='49' r='2' fill='%2392a75f'/%3E%3Ccircle cx='41' cy='49' r='2' fill='%2392a75f'/%3E%3Ccircle cx='50' cy='49' r='2' fill='%2392a75f'/%3E%3C/svg%3E")}
/* Vivienda: casa */
.cha .cha-financing .cha-content > ul:last-of-type > li:nth-child(1):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 30 32 14l22 16v20a2 2 0 0 1-2 2H12a2 2 0 0 1-2-2V30Z' fill='%238ac77a'/%3E%3Cpath d='M18 26h28v26H18z' fill='%23f3ede4'/%3E%3Cpath d='M24 36h8v16h-8z' fill='%23b98459'/%3E%3Cpath d='M36 34h8v8h-8z' fill='%2395d5f0'/%3E%3Cpath d='M10 30 32 14l22 16' stroke='%23599949' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
/* Taxi */
.cha .cha-financing .cha-content > ul:last-of-type > li:nth-child(2):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M14 35h36l-4-11H18l-4 11Z' fill='%23f5c542'/%3E%3Crect x='10' y='35' width='44' height='11' rx='5' fill='%23ffd95a'/%3E%3Cpath d='M20 24h24l3 8H17l3-8Z' fill='%2364b5d9'/%3E%3Crect x='24' y='18' width='16' height='5' rx='2' fill='%231c1c1c'/%3E%3Crect x='27' y='14' width='10' height='4' rx='1' fill='%23f5c542'/%3E%3Ccircle cx='20' cy='47' r='5' fill='%232f2f2f'/%3E%3Ccircle cx='44' cy='47' r='5' fill='%232f2f2f'/%3E%3Ccircle cx='20' cy='47' r='2' fill='%23bdbdbd'/%3E%3Ccircle cx='44' cy='47' r='2' fill='%23bdbdbd'/%3E%3C/svg%3E")}
/* Otro negocio: maletín */
.cha .cha-financing .cha-content > ul:last-of-type > li:nth-child(3):after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='12' y='22' width='40' height='27' rx='4' fill='%238579ea'/%3E%3Crect x='12' y='28' width='40' height='18' rx='4' fill='%23978ef0'/%3E%3Cpath d='M24 22v-4a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v4' stroke='%23655ccc' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Crect x='29' y='30' width='6' height='6' rx='1.5' fill='%23f6de75'/%3E%3Cpath d='M12 33h17m23 0H35' stroke='%23655ccc' stroke-width='2.5'/%3E%3C/svg%3E")}

/* v4.3: icono niño y niña como archivo SVG independiente para evitar fallos del data URI */
.cha .cha-investment .cha-content > ul:last-child > li:nth-child(2)::after { background-image: url("infancia-nino-nina.svg") !important; background-size: 50px 50px; }
@media (max-width:580px) {.cha .cha-investment .cha-content > ul:last-child > li:nth-child(2)::after {background-size: 40px 40px;}}
