@import url("bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600;700;800&display=swap');
:root{--navy:#102d50;--blue:#0877bd;--sky:#42a9ed;--ink:#243449;--muted:#68788b;--line:#e3eaf1;--green:#55c99a;--cyan:#35afd0}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;font-family:"Open Sans",Arial,sans-serif;color:var(--ink);background:#f3f9fd;line-height:1.6}a{text-decoration:none;color:inherit}
.site-header{position:sticky;top:0;z-index:1000;background:#fff;box-shadow:0 2px 20px rgba(1,41,112,.1)}.header-inner{width:min(1140px,calc(100% - 36px));min-height:78px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;flex:0 0 auto}.brand img{display:block;width:auto;height:auto;max-height:54px;max-width:min(260px,38vw);object-fit:contain}.main-nav{display:flex;align-items:center;gap:27px}.main-nav>a{font-family:Nunito,Arial,sans-serif;font-size:14px;font-weight:800;color:#173655;white-space:nowrap;transition:color .2s}.main-nav>a:hover{color:var(--blue)}.main-nav .register-link,.hero-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;color:white;background:linear-gradient(110deg,var(--green),var(--cyan));border-radius:28px;padding:11px 23px;box-shadow:0 7px 18px rgba(43,171,174,.16)}.main-nav .register-link:hover,.hero-cta:hover{color:#fff;transform:translateY(-1px);filter:brightness(.98)}.menu-toggle{display:none;border:0;background:#0877bd;color:#fff;border-radius:8px;width:43px;height:40px;padding:9px;cursor:pointer}.menu-toggle span{display:block;height:2px;background:#fff;margin:5px 0;border-radius:2px}
.hero{padding:72px 20px 62px;background:linear-gradient(180deg,#eaf6fd 0%,#f8fcff 100%);text-align:center}.hero-inner{max-width:900px;margin:auto}.eyebrow{display:block;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:1.5px}.hero h1{font-family:Nunito,Arial,sans-serif;font-size:clamp(34px,5vw,54px);line-height:1.13;color:#101c50;font-weight:900;margin:12px 0 14px}.hero h1 span{color:#2488d2}.title-line{width:180px;height:4px;border-radius:8px;background:#49aaf0;margin:0 auto 27px}.hero p{max-width:850px;margin:0 auto 12px;font-size:17px;line-height:1.65;color:#26394d}.hero-detail{font-weight:700;color:#34536d!important}.hero-cta{margin-top:17px;font-size:14px;font-weight:800;transition:.2s}
.catalog-section{padding:64px 22px 76px;max-width:1240px;margin:auto}.section-heading{text-align:center;margin-bottom:25px}.section-heading h2,.contact-band h2{font-family:Nunito,Arial,sans-serif;color:var(--navy);font-size:clamp(27px,4vw,36px);line-height:1.2;margin:9px 0}.section-heading p{color:var(--muted);margin:0}.filter-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:28px 0 32px}.filter-btn{border:1px solid #cbdce9;background:#fff;color:#31506c;border-radius:22px;padding:9px 19px;font:700 13px Nunito,Arial;cursor:pointer;transition:.2s}.filter-btn:hover,.filter-btn.active{background:#0877bd;border-color:#0877bd;color:#fff}.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.template-card{min-width:0;background:#fff;border:1px solid #dce8f0;border-radius:16px;overflow:hidden;box-shadow:0 8px 25px rgba(23,59,89,.055);transition:transform .22s,box-shadow .22s}.template-card:hover{transform:translateY(-5px);box-shadow:0 14px 32px rgba(23,59,89,.12)}.template-card[hidden]{display:none}.preview{height:220px;display:flex;align-items:center;justify-content:center;padding:14px;background:linear-gradient(145deg,#f4f9fc,#eaf3f9);position:relative;overflow:hidden}.preview img{width:100%;height:100%;object-fit:contain;transition:transform .25s}.template-card:hover .preview img{transform:scale(1.035)}.preview-label{position:absolute;right:12px;bottom:12px;background:rgba(16,45,80,.86);color:#fff;font-size:11px;padding:5px 9px;border-radius:20px;opacity:0;transition:opacity .2s}.template-card:hover .preview-label{opacity:1}.card-info{padding:17px 17px 19px;text-align:center}.card-info h3{min-height:42px;margin:0 0 13px;font:800 14px/1.45 Nunito,Arial,sans-serif;color:#183b5b;overflow-wrap:anywhere}.buy-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:130px;padding:9px 20px;border-radius:24px;background:linear-gradient(110deg,#55c99a,#35afd0);color:#fff;font-size:13px;font-weight:800;box-shadow:0 5px 13px rgba(43,171,174,.15);transition:.2s}.buy-btn:hover{color:#fff;filter:brightness(.96);transform:translateY(-1px)}
.contact-band{max-width:1140px;margin:0 auto 70px;padding:32px 38px;border-radius:20px;background:linear-gradient(110deg,#e5f4fc,#f4fbff);border:1px solid #d8eaf5;display:flex;align-items:center;justify-content:space-between;gap:24px}.contact-band h2{font-size:27px;margin:7px 0}.contact-band p{margin:0;color:var(--muted);font-size:14px}.contact-band .hero-cta{flex:0 0 auto;margin:0}
.site-footer{background:#2b2c2e;color:#fff;margin-top:20px}.footer-inner{max-width:1140px;margin:auto;padding:48px 20px 36px;display:grid;grid-template-columns:1.4fr .7fr 1fr;gap:50px}.footer-brand img{width:180px;max-height:65px;object-fit:contain;object-position:left center}.footer-brand p,.footer-contact p{color:#d4d8dc;font-size:13px;line-height:1.7;margin:16px 0 0}.site-footer h2{font:800 16px Nunito,Arial,sans-serif;margin:5px 0 16px;color:#fff}.footer-links a,.footer-contact a{display:block;color:#e4e7ea;font-size:13px;margin:9px 0}.footer-links a:hover,.footer-contact a:hover{color:#65c5f4}.copyright{text-align:center;border-top:1px solid #ffffff20;padding:17px 15px;color:#d4d8dc;font-size:12px}
.social-bar{position:fixed;right:0;top:27%;z-index:1100;display:flex;flex-direction:column;box-shadow:0 3px 12px #102d5030}.social{width:42px;height:42px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;transition:width .2s}.social:hover{width:49px;color:#fff}.facebook{background:#14599b}.whatsapp{background:#13bd4b}.telegram{background:#20aee5}.youtube{background:#ed1b24;font-size:17px}.instagram{background:linear-gradient(35deg,#feda75,#d62976,#4f5bd5)}.tiktok{background:#111}.gitlab{background:#e65328}.social b{font-weight:900}
#back-to-top{position:fixed;right:24px;bottom:24px;width:48px;height:48px;border:0;border-radius:50%;background:#0879d9;color:#fff;font-size:29px;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 12px #0004;cursor:pointer;z-index:1200;opacity:0;visibility:hidden;transform:translateY(8px);transition:.25s}#back-to-top.visible{opacity:1;visibility:visible;transform:translateY(0)}#back-to-top:hover{background:#005eae}
@media(max-width:980px){.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.main-nav{gap:17px}.main-nav>a{font-size:13px}}
@media(max-width:720px){.header-inner{min-height:70px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:14px 22px 20px;background:#fff;box-shadow:0 12px 18px #102d5018;flex-direction:column;align-items:stretch;gap:4px}.main-nav.open{display:flex}.main-nav>a{padding:11px 8px}.main-nav .register-link{margin-top:8px;justify-content:center}.hero{padding:54px 20px 48px}.hero p{font-size:15px}.catalog-section{padding:48px 16px 55px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.preview{height:180px;padding:9px}.card-info{padding:14px 10px 16px}.card-info h3{font-size:12px}.buy-btn{min-width:112px;padding:8px 14px}.contact-band{margin:0 16px 48px;padding:25px 22px;flex-direction:column;align-items:flex-start}.footer-inner{grid-template-columns:1fr 1fr;gap:28px;padding:38px 22px}.footer-brand{grid-column:1/-1}}
@media(max-width:420px){.brand img{max-width:190px;max-height:47px}.template-grid{grid-template-columns:1fr}.preview{height:230px}.footer-inner{grid-template-columns:1fr}.footer-brand{grid-column:auto}.social{width:35px;height:37px;font-size:18px}.social:hover{width:39px}#back-to-top{right:15px;bottom:15px}}

/* Ajustes de responsive y redes sociales alineados con la matriz Certificado Digital */
html{scroll-padding-top:84px}
body{padding-top:78px}
.site-header{height:78px;position:fixed;top:0;left:0;right:0}
.header-inner{height:100%;min-height:0}
.menu-toggle{display:none}
.main-nav{margin-left:auto}
.desktop-register{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:78px;height:42px;padding:0 20px;border-radius:24px;background:linear-gradient(100deg,#61d66d,#279fe7);color:#fff!important;font:800 14px/1 "Open Sans",Arial,sans-serif;white-space:nowrap}
.menu-backdrop,.mobile-menu{display:none}
#cpe-social-bar.social-bar{position:fixed!important;right:0!important;left:auto!important;top:20%!important;bottom:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-start!important;gap:0!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:2147483000!important;visibility:visible!important;opacity:1!important;overflow:visible!important;transform:none!important;pointer-events:auto!important;font-size:1.5rem!important}
#cpe-social-bar .icon{display:flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;padding:.7rem!important;margin:0!important;border:0!important;border-radius:0!important;color:#fff!important;text-decoration:none!important;line-height:1!important;box-sizing:border-box!important;transition:all .3s!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
#cpe-social-bar .icon i{display:block!important;font-family:bootstrap-icons!important;font-size:1.25rem!important;line-height:1!important;color:#fff!important;font-style:normal!important}
#cpe-social-bar .fa-facebook2{background:linear-gradient(350deg,#5974a6 0,#0f5699 50%,#003b8c 100%)!important}
#cpe-social-bar .fa-whatsapp2{background:radial-gradient(circle at 45% 103%,#70c900 0,#4fc700 25%,#13c40d 50%,#00c120 75%,#00be2f 100%)!important}
#cpe-social-bar .fa-telegram2{background:linear-gradient(0,#4fcaf1 0,#0fbded 50%,#00b0ea 100%)!important}
#cpe-social-bar .fa-youtube2{background:linear-gradient(25deg,#e36800 0,#ed0615 50%,#e9003d 100%)!important}
#cpe-social-bar .fa-instagram2{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285aeb 90%)!important}
#cpe-social-bar .fa-tiktok2{background:#111!important}
#cpe-social-bar .fa-gitlab2{background:#e65328!important}
#cpe-social-bar .icon:hover{filter:brightness(1.08)!important;transform:translateX(-3px)!important}
@media(max-width:991px){
 body{padding-top:74px}
 .site-header{height:74px}
 .header-inner{width:calc(100% - 30px);gap:12px}
 .brand{flex:0 1 170px}
 .brand img{width:170px;max-height:50px}
 .main-nav,.desktop-register{display:none!important}
 .menu-toggle{display:flex;flex:0 0 42px;width:42px;height:42px;padding:10px;border:1px solid #cfe3ed;border-radius:11px;background:linear-gradient(135deg,#e3f8e9,#e2f2ff);flex-direction:column;justify-content:center;gap:5px;cursor:pointer}
 .menu-toggle span{display:block;width:20px;height:2px;background:#123b59;border-radius:2px;margin:0}
 .menu-backdrop{display:block;position:fixed;inset:0;background:rgba(15,39,58,.34);z-index:1048;opacity:0;visibility:hidden;transition:.25s}
 .menu-backdrop.is-open{opacity:1;visibility:visible}
 .mobile-menu{display:block;position:fixed;z-index:1049;top:0;right:0;width:min(330px,86vw);height:100dvh;background:linear-gradient(160deg,#f0fff4 0%,#fff 48%,#edf6ff 100%);box-shadow:-12px 0 35px rgba(25,55,80,.16);transform:translateX(105%);transition:transform .28s ease;overflow-y:auto;visibility:visible}
 .mobile-menu.is-open{transform:translateX(0)}
 .mobile-menu-head{height:58px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(100deg,#dff8e7,#e2f2ff);color:#123b59;border-bottom:1px solid #d9e8ed}
 .mobile-menu-head strong{font-size:16px;font-weight:800}
 .menu-close{width:38px;height:38px;border:2px solid #168ca9;border-radius:10px;background:#fff;color:#073b59;font-size:32px;font-weight:900;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 9px rgba(10,55,80,.2);cursor:pointer}
 .mobile-menu-links{display:flex;flex-direction:column;padding:14px 0}
 .mobile-menu-links a{display:flex;align-items:center;min-height:48px;padding:13px 18px;border-bottom:1px solid #e8eef2;color:#18364f!important;text-decoration:none!important;font-size:15px;font-weight:750;line-height:1.35;letter-spacing:0}
 .mobile-menu-links a:hover{background:linear-gradient(90deg,#ddf7e6,#e0f1ff);color:#075f83!important}
 .mobile-menu-links .mobile-register{display:flex;align-items:center;justify-content:center;min-height:46px;width:calc(100% - 36px);margin:14px 18px 8px;padding:12px 20px;border:0;border-radius:24px;background:linear-gradient(100deg,#61d66d,#279fe7);color:#fff!important;font-size:15px;font-weight:800;line-height:1;box-shadow:0 7px 18px rgba(48,176,143,.16)}
}
@media(max-width:575px){.brand{flex-basis:145px}.brand img{width:145px;max-height:44px}.header-inner{width:calc(100% - 24px)}}
@media(max-width:600px){#cpe-social-bar .icon{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:.55rem!important}#cpe-social-bar .icon i{font-size:1.15rem!important}}

/* Footer y controles: réplica del proyecto matriz Certificado Digital */
#footer.footer{display:block!important;clear:both!important;width:100%!important;margin:20px 0 0!important;padding:0!important;background:#2b2c2e!important;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:normal!important}
#footer .container-footer{width:100%!important;max-width:none!important;margin:0 auto!important;padding:50px 15px!important;background:#2b2c2e!important}
#footer .copyright{text-align:center!important;padding-top:30px!important;color:#fff!important;line-height:normal!important}
#footer .credits{padding-top:10px!important;text-align:center!important;font-size:13px!important;color:#fff!important;line-height:normal!important}
#footer .credits a{color:#ffffffa9!important;text-decoration:none!important}
#footer .credits .link{padding-top:10px!important;text-align:center!important;font-size:13px!important;color:#ffffffa9!important}
#footer .credits a:hover,#footer .credits .link:hover{color:#fff!important}
#cpe-back-to-top.back-to-top{position:fixed!important;visibility:hidden!important;opacity:0!important;right:15px!important;bottom:15px!important;z-index:99999!important;background:#4154f1!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;border:0!important;border-radius:4px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:all .4s!important;transform:none!important;font-size:initial!important}
#cpe-back-to-top.back-to-top .bi{font-size:24px!important;color:#fff!important;line-height:0!important}
#cpe-back-to-top.back-to-top.is-visible{visibility:visible!important;opacity:1!important}
#cpe-back-to-top.back-to-top:hover{background:#6776f4!important}
@media(max-width:600px){#footer .container-footer{padding:38px 12px!important}}
/* Dimensiones del botón hamburguesa y accesos móviles iguales a la matriz */
@media(max-width:991px){
 .menu-toggle{flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;max-width:42px!important;max-height:42px!important;padding:10px!important;border-radius:11px!important}
 .mobile-menu-head{height:58px!important}
 .menu-close{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;padding:0!important;font-size:32px!important}
 .mobile-menu-links .mobile-register{width:calc(100% - 36px)!important;min-height:46px!important;height:46px!important;margin:14px 18px 8px!important;padding:12px 20px!important;border-radius:24px!important;font-size:15px!important;line-height:1!important}
}

/* Corrección final: igualar encabezado y menú móvil al proyecto matriz */
.site-header{box-shadow:none!important;border-bottom:0!important}
.desktop-register{
  min-width:0!important;width:auto!important;height:36px!important;min-height:36px!important;
  padding:0 16px!important;border-radius:24px!important;font-size:12px!important;
  line-height:1!important;box-shadow:0 5px 12px rgba(47,183,157,.14)!important;
}
@media(max-width:991px){
  .menu-backdrop{position:fixed!important;inset:0!important;background:rgba(1,22,61,.90)!important;z-index:1048!important}
  .mobile-menu{
    position:fixed!important;inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
    width:100%!important;height:100dvh!important;max-height:none!important;padding:0!important;
    background:rgba(1,22,61,.90)!important;box-shadow:none!important;border:0!important;
    transform:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
    overflow:hidden!important;z-index:1049!important;transition:opacity .2s ease,visibility .2s ease!important;
  }
  .mobile-menu.is-open{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
  .mobile-menu-head{
    position:absolute!important;top:70px!important;left:18px!important;right:18px!important;
    height:0!important;padding:0!important;background:transparent!important;border:0!important;
    z-index:2!important;justify-content:flex-end!important;overflow:visible!important;
  }
  .mobile-menu-head strong{display:none!important}
  .menu-close{
    position:absolute!important;right:8px!important;top:-52px!important;width:38px!important;height:38px!important;
    min-width:38px!important;min-height:38px!important;border-radius:50%!important;
    border:0!important;background:#fff!important;color:#12366f!important;font-size:28px!important;
    box-shadow:0 3px 10px rgba(0,0,0,.2)!important;
  }
  .mobile-menu-links{
    position:absolute!important;top:70px!important;left:18px!important;right:18px!important;bottom:auto!important;
    width:auto!important;max-height:calc(100dvh - 100px)!important;overflow-y:auto!important;
    display:block!important;margin:0!important;padding:14px 0!important;border:1px solid #dce8ef!important;
    border-radius:14px!important;background:#fff!important;box-shadow:0 14px 34px rgba(0,0,0,.18)!important;
  }
  .mobile-menu-links a{
    display:block!important;min-height:0!important;margin:0!important;padding:13px 22px!important;
    border:0!important;border-bottom:1px solid #edf2f5!important;border-radius:0!important;
    background:transparent!important;color:#12366f!important;font-size:15px!important;
    font-weight:600!important;line-height:1.35!important;letter-spacing:0!important;
  }
  .mobile-menu-links a:hover,.mobile-menu-links a:focus{background:#f1f8f6!important;color:#12366f!important}
  .mobile-menu-links .mobile-register{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;
    margin:14px 20px 8px!important;padding:8px 17px!important;border:0!important;border-radius:24px!important;
    background:linear-gradient(110deg,#48c98e 0%,#36afd0 100%)!important;color:#fff!important;
    font-size:12px!important;font-weight:700!important;line-height:1.2!important;
    box-shadow:0 5px 12px rgba(47,183,157,.14)!important;
  }
}
/* Pie idéntico a la matriz, sin línea divisoria */
#footer.footer{margin:0!important;border:0!important;border-top:0!important;box-shadow:none!important}
#footer .container-footer{border:0!important;box-shadow:none!important}
#footer .copyright{border:0!important;border-top:0!important;margin:0!important}
#footer .credits{border:0!important}
@media(max-width:600px){
  #footer .container-footer{padding:38px 12px!important}
  #footer .copyright{padding-top:22px!important}
}


/* MENÚ MÓVIL: réplica del proyecto matriz certificado (drawer lateral claro) */
@media(max-width:991px){
 .menu-backdrop{display:block!important;position:fixed!important;inset:0!important;background:rgba(15,39,58,.34)!important;z-index:1048!important;opacity:0!important;visibility:hidden!important;transition:opacity .25s,visibility .25s!important;}
 .menu-backdrop.is-open{opacity:1!important;visibility:visible!important;}
 .menu-backdrop[hidden]{display:none!important;}
 .mobile-menu{display:block!important;position:fixed!important;z-index:1049!important;top:0!important;right:0!important;left:auto!important;bottom:0!important;width:min(330px,86vw)!important;height:100vh!important;height:100dvh!important;max-height:none!important;padding:0!important;background:linear-gradient(160deg,#f0fff4 0%,#fff 48%,#edf6ff 100%)!important;box-shadow:-12px 0 35px rgba(25,55,80,.16)!important;border:0!important;border-radius:0!important;transform:translateX(105%)!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transition:transform .28s ease!important;overflow-y:auto!important;}
 .mobile-menu.is-open{transform:translateX(0)!important;}
 .mobile-menu-head{position:relative!important;inset:auto!important;height:58px!important;padding:0 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:linear-gradient(100deg,#dff8e7,#e2f2ff)!important;color:#123b59!important;border-bottom:1px solid #d9e8ed!important;}
 .mobile-menu-head strong{display:block!important;font-size:16px!important;font-weight:800!important;color:#123b59!important;}
 .menu-close{position:static!important;inset:auto!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;padding:0!important;border:2px solid #168ca9!important;border-radius:10px!important;background:#fff!important;color:#073b59!important;font-size:32px!important;font-weight:900!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 3px 9px rgba(10,55,80,.2)!important;cursor:pointer!important;}
 .mobile-menu-links{position:static!important;inset:auto!important;width:auto!important;max-height:none!important;overflow:visible!important;display:flex!important;flex-direction:column!important;margin:0!important;padding:14px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
 .mobile-menu-links a{display:flex!important;align-items:center!important;min-height:48px!important;margin:0!important;padding:13px 18px!important;border:0!important;border-bottom:1px solid #e8eef2!important;border-radius:0!important;background:transparent!important;color:#18364f!important;text-decoration:none!important;font-size:15px!important;font-weight:750!important;line-height:1.35!important;letter-spacing:0!important;}
 .mobile-menu-links a:hover,.mobile-menu-links a:focus{background:linear-gradient(90deg,#ddf7e6,#e0f1ff)!important;color:#075f83!important;}
 .mobile-menu-links .mobile-register{display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:150px!important;height:36px!important;min-height:36px!important;margin:12px 18px 8px!important;padding:8px 16px!important;border:0!important;border-radius:20px!important;background:linear-gradient(100deg,#61d66d,#279fe7)!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1!important;box-shadow:0 7px 18px rgba(48,176,143,.16)!important;}
 body.menu-open{overflow:hidden!important;}
}


/* Redes sociales CPE: misma animación que el proyecto Web */
#cpe-social-bar.social-bar .icon{
  position:relative!important; overflow:hidden!important;
  transform:translateX(0) scale(1)!important; transform-origin:right center!important;
  border-radius:0!important; box-shadow:0 2px 7px rgba(0,0,0,.12)!important;
  transition:transform .28s cubic-bezier(.2,.75,.25,1),box-shadow .28s ease,
             filter .28s ease,border-radius .28s ease!important;
  -webkit-tap-highlight-color:transparent!important;
}
#cpe-social-bar.social-bar .icon i,
#cpe-social-bar.social-bar .icon svg{
  display:inline-block!important; transition:transform .28s ease!important;
}
@media(hover:hover) and (pointer:fine){
  #cpe-social-bar.social-bar .icon:hover{
    transform:translateX(-9px) scale(1.06)!important;
    border-radius:7px 0 0 7px!important;
    box-shadow:0 6px 16px rgba(0,0,0,.25)!important;
    filter:brightness(1.08) saturate(1.12)!important; z-index:2!important;
  }
  #cpe-social-bar.social-bar .icon:hover i,
  #cpe-social-bar.social-bar .icon:hover svg{transform:scale(1.12)!important}
}
#cpe-social-bar.social-bar .icon:active{
  transform:translateX(-5px) scale(.96)!important;filter:brightness(.94)!important;
}
#cpe-social-bar.social-bar .icon:focus-visible{
  outline:2px solid #fff!important;outline-offset:-3px!important;transform:translateX(-7px)!important;
}
@media(max-width:767px){
  #cpe-social-bar.social-bar .icon{transition:transform .2s ease,filter .2s ease,box-shadow .2s ease!important}
  #cpe-social-bar.social-bar .icon:active,
  #cpe-social-bar.social-bar .icon:focus-visible{
    transform:translateX(-5px) scale(1.06)!important;box-shadow:0 4px 12px rgba(0,0,0,.24)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #cpe-social-bar.social-bar .icon,#cpe-social-bar.social-bar .icon i,
  #cpe-social-bar.social-bar .icon svg{transition:none!important}
}


/* Ajuste visual del catálogo: tarjetas más amplias, separadas y destacadas */
.catalog-section{
  width:100%!important;max-width:1480px!important;margin:0 auto!important;
  padding-left:clamp(24px,4vw,64px)!important;padding-right:clamp(24px,4vw,64px)!important;
}
.template-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  column-gap:30px!important;row-gap:34px!important;
}
.template-card{
  background:#fff!important;border:1px solid #cbdce9!important;border-radius:18px!important;
  box-shadow:0 10px 28px rgba(16,45,80,.11),0 2px 6px rgba(16,45,80,.045)!important;
}
.template-card:hover{
  border-color:#9fc8e2!important;
  box-shadow:0 16px 34px rgba(16,45,80,.16)!important;
}
.preview{background:linear-gradient(145deg,#fff 0%,#f2f8fc 100%)!important;padding:18px!important}
.card-info{background:#fff!important;padding:19px 18px 21px!important}
.buy-btn{
  min-width:138px!important;min-height:40px!important;padding:10px 20px!important;
  gap:9px!important;border:0!important;border-radius:24px!important;
  background:linear-gradient(110deg,#55c99a 0%,#35afd0 100%)!important;
  color:#fff!important;font-size:13px!important;font-weight:800!important;
  box-shadow:0 6px 15px rgba(43,171,174,.2)!important;
}
.buy-btn i{font-size:15px!important;line-height:1!important}
.buy-btn:hover,.buy-btn:focus-visible{
  color:#fff!important;filter:brightness(.97)!important;
  transform:translateY(-2px)!important;box-shadow:0 9px 19px rgba(43,171,174,.26)!important;
}
@media(max-width:1100px){
  .catalog-section{padding-left:28px!important;padding-right:28px!important}
  .template-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important}
}
@media(max-width:720px){
  .catalog-section{padding-left:16px!important;padding-right:16px!important}
  .template-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
  .template-card{border-radius:15px!important}
  .preview{padding:10px!important}
  .buy-btn{min-width:116px!important;min-height:38px!important;padding:9px 14px!important}
}
@media(max-width:420px){
  .template-grid{grid-template-columns:1fr!important;gap:18px!important}
}

/* Refinamiento final: separación visible entre columnas y tarjetas de catálogo */
.catalog-section{
  max-width:1640px!important;
  padding-left:clamp(34px,5vw,82px)!important;
  padding-right:clamp(34px,5vw,82px)!important;
}
.template-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  column-gap:clamp(34px,3vw,52px)!important;
  row-gap:42px!important;
  align-items:stretch!important;
}
.template-card{
  background:#fff!important;
  border:2px solid #d4e3ee!important;
  border-radius:20px!important;
  box-shadow:0 12px 30px rgba(20,57,87,.14),0 3px 8px rgba(20,57,87,.06)!important;
  overflow:hidden!important;
}
.template-card:hover{
  border-color:#8bbbd8!important;
  box-shadow:0 18px 38px rgba(20,57,87,.19)!important;
}
.template-card .preview{
  background:linear-gradient(145deg,#f7fbfe 0%,#eaf3f9 100%)!important;
  padding:20px!important;
}
.template-card .card-info{
  background:linear-gradient(180deg,#f5f9fc 0%,#ffffff 100%)!important;
  border-top:1px solid #dce8f1!important;
  padding:22px 20px 24px!important;
}
.template-card .card-info h3{
  color:#153b5a!important;
  font-size:14px!important;
  letter-spacing:.15px!important;
}
@media(max-width:1100px){
  .catalog-section{padding-left:32px!important;padding-right:32px!important}
  .template-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:30px!important;row-gap:34px!important}
}
@media(max-width:720px){
  .catalog-section{padding-left:16px!important;padding-right:16px!important}
  .template-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:16px!important;row-gap:20px!important}
  .template-card{border-width:1px!important;border-radius:15px!important}
  .template-card .preview{padding:10px!important}
  .template-card .card-info{padding:15px 11px 17px!important}
}
@media(max-width:420px){
  .template-grid{grid-template-columns:1fr!important;gap:20px!important}
}

/* Portada destacada: jerarquía, contraste y animación sutil */
.hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#e5f4fc 0%,#f7fbff 52%,#eaf6fd 100%)}
.hero:before,.hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none;filter:blur(1px)}
.hero:before{width:340px;height:340px;left:-155px;top:-170px;background:radial-gradient(circle,rgba(47,174,198,.16),rgba(47,174,198,0) 70%)}
.hero:after{width:420px;height:420px;right:-190px;bottom:-260px;background:radial-gradient(circle,rgba(39,132,210,.15),rgba(39,132,210,0) 70%)}
.hero-inner{max-width:1060px;animation:heroContentIn .75s ease both}
.hero .eyebrow{display:inline-flex;align-items:center;justify-content:center;padding:9px 17px;border:1px solid #c4e1f1;border-radius:30px;background:rgba(255,255,255,.82);box-shadow:0 5px 16px rgba(23,83,119,.07);letter-spacing:1.7px}
.hero h1{font-size:clamp(38px,5.4vw,62px);letter-spacing:-1.3px;text-shadow:0 2px 0 rgba(255,255,255,.75)}
.hero h1 span{background:linear-gradient(100deg,#1688c9,#16a6a0);-webkit-background-clip:text;background-clip:text;color:transparent}
.title-line{width:130px;height:5px;margin-bottom:25px;background:linear-gradient(90deg,#20a7a0,#278bd0);box-shadow:0 3px 12px rgba(39,139,208,.2)}
.hero-message{max-width:920px;margin:0 auto;padding:25px 30px 23px;border:1px solid #c5ddeb;border-left:5px solid #229ac0;border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(239,248,253,.97));box-shadow:0 13px 32px rgba(23,69,101,.12),inset 0 1px 0 rgba(255,255,255,.95)}
.hero .hero-lead{max-width:850px;margin:0 auto 18px;color:#173b57;font-size:clamp(18px,2vw,22px);line-height:1.55;font-weight:650}
.hero .hero-lead strong{color:#087da8;font-weight:900;white-space:nowrap}
.hero .hero-detail{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 auto!important;color:#174866!important;font-size:14px!important;font-weight:800!important}
.hero .hero-detail span{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid #c5dfed;border-radius:999px;background:#fff;box-shadow:0 3px 9px rgba(24,73,105,.07)}
.hero-cta{margin-top:23px;padding:13px 27px;font-size:15px;box-shadow:0 9px 22px rgba(31,145,164,.25);transition:transform .25s ease,box-shadow .25s ease,filter .25s ease}
.hero-cta:hover{transform:translateY(-3px);box-shadow:0 13px 26px rgba(31,145,164,.3)}
@keyframes heroContentIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:720px){.hero{padding:48px 16px 44px}.hero h1{font-size:clamp(34px,9vw,46px);letter-spacing:-.6px}.hero-message{padding:20px 16px;border-radius:15px}.hero .hero-lead{font-size:17px;line-height:1.55}.hero .hero-lead strong{white-space:normal}.hero .hero-detail{gap:8px}.hero .hero-detail span{font-size:12px;padding:8px 11px}}
@media(prefers-reduced-motion:reduce){.hero-inner{animation:none}.hero-cta{transition:none}}


/* Portada sin caja: texto integrado, con contraste alto */
.hero h1 span{color:#087c9e!important;background:none!important;-webkit-text-fill-color:#087c9e!important;text-shadow:0 2px 0 rgba(255,255,255,.9),0 5px 16px rgba(8,124,158,.12);position:relative}
.hero h1 span:after{content:"";display:block;width:78%;height:5px;margin:8px auto 0;border-radius:8px;background:linear-gradient(90deg,#16a6a0,#1688c9)}
.hero-message{max-width:920px;margin:0 auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.hero .hero-lead{max-width:900px;margin:0 auto 20px;color:#153c58;font-size:clamp(19px,2.1vw,23px);line-height:1.6;font-weight:700;text-shadow:0 1px 0 rgba(255,255,255,.9)}
.hero .hero-lead strong{color:#006e91;font-weight:900;white-space:normal;text-shadow:0 1px 0 #fff}
.hero .hero-detail{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 auto!important;color:#124d70!important;font-size:14px!important;font-weight:850!important}
.hero .hero-detail span{display:inline-flex;align-items:center;padding:9px 15px;border:1px solid rgba(23,128,166,.32);border-radius:999px;background:rgba(255,255,255,.72);box-shadow:0 3px 10px rgba(24,73,105,.08);color:#124d70}
@media(max-width:720px){.hero h1 span:after{height:4px;margin-top:6px}.hero .hero-lead{font-size:17px}.hero .hero-detail span{font-size:12px;padding:8px 11px}}


/* Redes sociales: centrado vertical SOLO en vista movil */
@media (max-width: 767px){
  #cpe-social-bar.social-bar{
    top:50%!important;
    bottom:auto!important;
    right:0!important;
    left:auto!important;
    transform:translateY(-50%)!important;
    z-index:2147483000!important;
  }
  #cpe-social-bar.social-bar .icon{
    width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;
  }
  #cpe-social-bar.social-bar .icon i{font-size:1.08rem!important}
}
