/* ==================================================
   PÁGINAS LEGALES — VERSIÓN CLARA KPX CAPITAL
================================================== */
.terms-page{background:#f6f6f6;color:var(--ink);}
#terms-hero{min-height:520px;display:flex;align-items:center;position:relative;overflow:hidden;padding:130px 24px 70px;background:#fff;}
#terms-hero .hero-bg{position:absolute;inset:0;background:linear-gradient(135deg,#fff,#f3f7f9);}
.terms-hero-inner{width:100%;max-width:1140px;margin:0 auto;display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;position:relative;z-index:2;}
.terms-hero-content{display:block;max-width:700px;position:relative;z-index:5;opacity:1!important;visibility:visible!important;transform:none!important;}

.terms-hero-meta{display:inline-flex;align-items:center;gap:10px;padding:11px 15px;color:var(--gray);font-size:14px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 22px rgba(22,50,79,.05);}
.terms-hero-meta i{color:var(--teal-dark)} .terms-hero-meta strong{color:var(--ink)}
.terms-hero-visual{display:flex;justify-content:center;align-items:center}
.terms-symbol{width:min(100%,390px);min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:44px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 25px 70px rgba(22,50,79,.11)}
.terms-symbol::before{content:'';position:absolute;inset:-1px;padding:1px;border-radius:24px;background:linear-gradient(135deg,rgba(46,184,230,.55),transparent 40%,rgba(0,169,130,.45));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.terms-symbol-icon{ width:112px;
    height:112px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:28px;

    color:var(--teal);

    font-size:46px;

    background:#EDF8F4;

    border:1px solid #B9E6D9;

    border-radius:28px;

    box-shadow:none;
}
.terms-symbol p{margin-bottom:9px;color:var(--ink);font-family:'Barlow Condensed',sans-serif;font-size:24px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}
.terms-symbol span{max-width:240px;color:var(--gray);font-size:14px;line-height:1.6}
.terms-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:38px;align-items:start;position:relative;z-index:3;padding-top:70px;padding-bottom:110px}
.terms-index{position:sticky;top:104px;padding:24px 20px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 14px 40px rgba(22,50,79,.07)}
.terms-index__title{margin-bottom:16px;color:var(--teal-dark);font-family:'Barlow Condensed',sans-serif;font-size:13px;font-weight:800;letter-spacing:2px;text-transform:uppercase}
.terms-index-links{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.terms-index-links a{display:block;width:100%;padding:8px 10px;color:var(--gray);font-size:13px;line-height:1.35;border-left:2px solid var(--line);transition:.2s ease}
.terms-index-links a:hover{color:var(--teal-dark);border-left-color:var(--teal);background:#eef9f6}
.terms-card{display:block;width:100%;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 25px 70px rgba(22,50,79,.09)}
.terms-section{position:relative;padding:50px 56px;scroll-margin-top:110px} .terms-section:first-child{background:#fbfcfd} .terms-section+.terms-section{border-top:1px solid #edf1f4}
.terms-number{position:absolute;top:34px;right:42px;color:rgba(22,50,79,.055);font-family:'Bebas Neue',sans-serif;font-size:74px;line-height:1;pointer-events:none}
.terms-section h2{position:relative;max-width:760px;margin:0 0 24px;padding-right:90px;color:var(--ink);font-family:'Barlow Condensed',sans-serif;font-size:clamp(1.65rem,3vw,2.2rem);font-weight:800;line-height:1.15;letter-spacing:.02em;text-transform:uppercase}
.terms-section h2::before{content:'';display:block;width:42px;height:2px;margin-bottom:15px;background:linear-gradient(90deg,var(--sky),var(--teal))}
.terms-section h3{margin:30px 0 12px;color:var(--teal-dark);font-family:'Barlow Condensed',sans-serif;font-size:18px;font-weight:700;letter-spacing:1px;text-transform:uppercase}
.terms-section p,.terms-section li{color:#40566d;font-size:16px;line-height:1.78} .terms-section p+ p{margin-top:18px} .terms-section strong{color:var(--ink);font-weight:600}
.terms-section a,.terms-contact a{color:var(--teal-dark);text-decoration:underline;text-underline-offset:3px} .terms-section a:hover,.terms-contact a:hover{color:var(--blue)}
.terms-section ul,.terms-section ol{display:flex;flex-direction:column;gap:12px;margin:18px 0 0 22px} .terms-section li{padding-left:5px} .terms-section li::marker{color:var(--teal-dark);font-weight:700}
.terms-data-box{margin-top:24px;padding:20px;background:#edf7fb;border:1px solid #c9e8f3;border-left:3px solid var(--sky);border-radius:9px;color:#40566d}
.terms-contact{padding:50px 56px;background:linear-gradient(135deg,#edf8f5,#f5fafc);border-top:1px solid #d6ebe4}
.terms-contact__eyebrow{margin-bottom:10px;color:var(--teal-dark)!important;font-family:'Barlow Condensed',sans-serif;font-size:13px!important;font-weight:800;letter-spacing:2px;text-transform:uppercase}
.terms-contact h2{margin-bottom:12px;color:var(--ink);font-family:'Bebas Neue',sans-serif;font-size:clamp(2rem,5vw,3rem);font-weight:400;letter-spacing:.04em} .terms-contact p{color:var(--gray);font-size:16px;line-height:1.7}
.terms-top{position:fixed;right:24px;bottom:24px;z-index:50;width:46px;height:46px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,var(--teal-dark),var(--teal));border-radius:50%;box-shadow:0 10px 30px rgba(0,169,130,.25);transition:.2s ease} .terms-top:hover{transform:translateY(-3px)}
.terms-footer{padding:34px 24px;background:#16324f;border-top:0} .terms-footer__inner{display:flex;align-items:center;justify-content:space-between;gap:20px} .terms-footer p,.terms-footer a{color:rgba(255,255,255,.62);font-size:12px} .terms-footer__inner>div{display:flex;flex-wrap:wrap;gap:20px} .terms-footer a:hover{color:#fff}
@media(max-width:900px){.terms-hero-inner{grid-template-columns:1fr} .terms-hero-visual{display:none} .terms-layout{grid-template-columns:1fr} .terms-index{position:static} .terms-index-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#terms-hero{min-height:auto;padding:115px 16px 58px} .terms-layout{padding-top:36px;padding-bottom:65px} .terms-index-links{grid-template-columns:1fr} .terms-card{border-radius:14px} .terms-section{padding:38px 24px} .terms-number{top:27px;right:18px;font-size:52px} .terms-section h2{padding-right:50px;font-size:1.5rem} .terms-section p,.terms-section li{font-size:15px;line-height:1.72} .terms-contact{padding:40px 24px} .terms-footer{padding-left:16px;padding-right:16px} .terms-footer__inner{align-items:flex-start;flex-direction:column} .terms-top{right:16px;bottom:16px;width:42px;height:42px}}
/* =========================================
   HERO TÉRMINOS Y CONDICIONES
========================================= */

body.terms-page #terms-hero .terms-main-title{

    display:block !important;

    max-width:720px;

    margin:0 0 22px !important;

    font-family:'Bebas Neue',sans-serif !important;

    font-size:clamp(2.55rem,4.8vw,3.9rem) !important;

    font-weight:400 !important;

    line-height:1.04 !important;

    letter-spacing:.02em !important;

    color:var(--ink) !important;

    text-transform:uppercase;

    -webkit-text-stroke:.35px var(--ink);

    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;

}

body.terms-page #terms-hero .terms-main-title .c2{

    color:var(--teal) !important;

    -webkit-text-fill-color:var(--teal) !important;

    -webkit-text-stroke:.35px var(--teal);

    background:none !important;
    background-image:none !important;

}