.hm-tool{max-width:1180px;margin:30px auto;font-family:Inter,Arial,sans-serif;color:#172033}.hm-hero{background:linear-gradient(135deg,#0f172a,#1e293b 55%,#0369a1);color:white;border-radius:32px;padding:38px;margin-bottom:24px;position:relative;overflow:hidden}.hm-hero:after{content:"✦";position:absolute;right:28px;top:18px;font-size:110px;opacity:.12}.hm-badge{display:inline-flex;gap:8px;background:#bae6fd;color:#075985;padding:9px 15px;border-radius:999px;font-size:13px;font-weight:900;margin-bottom:14px}.hm-hero h1{font-size:38px;line-height:1.08;margin:0 0 12px}.hm-hero p{font-size:16px;color:#e5e7eb;max-width:860px;margin:0;line-height:1.55}.hm-grid{display:grid;grid-template-columns:1fr .95fr;gap:22px}.hm-card,.hm-section{background:#fff;border:1px solid #e5e7eb;border-radius:26px;padding:24px;box-shadow:0 14px 34px rgba(15,23,42,.07)}.hm-card h2,.hm-section h2{font-size:22px;margin:0 0 16px;display:flex;gap:9px;align-items:center}.hm-field{margin-bottom:15px}.hm-field label{font-weight:900;font-size:14px;margin-bottom:7px;display:block}.hm-field input,.hm-field select{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:16px;padding:14px 15px;font-size:16px;background:#fff}.hm-field small{display:block;color:#6b7280;margin-top:6px;font-size:12px;line-height:1.45}.hm-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hm-money{position:relative}.hm-money .peso{position:absolute;left:14px;top:43px;font-weight:900;color:#374151}.hm-money input{padding-left:34px}.hm-btn{width:100%;border:0;background:linear-gradient(135deg,#111827,#334155);color:#fff;border-radius:17px;padding:15px;font-weight:900;font-size:16px;cursor:pointer}.hm-result-wrap{display:none}.hm-result-placeholder{background:#f8fafc;border-radius:20px;padding:18px;line-height:1.55;font-size:14px;color:#374151}.hm-result{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #bfdbfe;border-radius:24px;padding:24px;margin-bottom:16px;position:relative;overflow:hidden}.hm-result:after{content:"📌";position:absolute;right:18px;top:14px;font-size:60px;opacity:.16}.hm-result span{font-weight:900;color:#0369a1;font-size:14px}.hm-result strong{display:block;color:#0c4a6e;font-size:38px;margin-top:4px}.hm-metric{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.hm-mini{border-radius:20px;padding:15px;border:1px solid #e5e7eb}.hm-mini span{display:block;color:#475569;font-size:12px;font-weight:900}.hm-mini b{display:block;font-size:19px;margin-top:4px}.hm-blue{background:#eff6ff}.hm-green{background:#ecfdf5}.hm-yellow{background:#fffbeb}.hm-purple{background:#f5f3ff}.hm-info{background:#f8fafc;border-radius:20px;padding:18px;line-height:1.55;font-size:14px;color:#374151;margin-top:14px}.hm-formula{background:#111827;color:#fff;border-radius:18px;padding:15px;font-size:14px;margin-top:12px;line-height:1.5}.hm-section{margin-top:24px;line-height:1.65}.hm-section h3{font-size:18px;margin:20px 0 8px}.hm-section p,.hm-section li{color:#374151}.hm-section ul{padding-left:20px}.hm-faq details{border-top:1px solid #e5e7eb;padding:14px 0}.hm-faq summary{font-weight:900;cursor:pointer}.hm-ad{margin-top:24px;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #bbf7d0;border-radius:24px;padding:22px;display:flex;justify-content:space-between;align-items:center;gap:16px}.hm-ad strong{font-size:20px;display:block;margin-bottom:4px}.hm-ad span{display:block;color:#374151}.hm-ad a{background:#047857;color:#fff;text-decoration:none;font-weight:900;border-radius:15px;padding:12px 16px;white-space:nowrap}.hm-related,.hm-home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hm-related a,.hm-home-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:20px;padding:16px;text-decoration:none;color:#172033;transition:.15s}.hm-related a:hover,.hm-home-card:hover{transform:translateY(-2px);background:#eff6ff}.hm-related span,.hm-home-card span{font-size:26px;display:block;margin-bottom:6px}.hm-related b,.hm-home-card b{display:block;font-size:15px}.hm-related small,.hm-home-card small{color:#64748b;font-size:12px}@media(max-width:900px){.hm-grid,.hm-two,.hm-metric,.hm-related,.hm-home-grid{grid-template-columns:1fr}.hm-hero{padding:28px}.hm-hero h1{font-size:29px}.hm-hero:after{font-size:78px;right:18px;top:20px}.hm-ad{flex-direction:column;align-items:flex-start}.hm-ad a{width:100%;text-align:center;box-sizing:border-box}}@media(max-width:430px){.hm-tool{margin:18px auto}.hm-card,.hm-section{padding:19px;border-radius:22px}.hm-hero{border-radius:24px}.hm-result strong{font-size:32px}}

/* Herramia Home v1.4 */
.hm-back-link{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;text-decoration:none;background:#fff;border:1px solid #e5e7eb;color:#172033;border-radius:999px;padding:10px 14px;font-weight:900;box-shadow:0 8px 20px rgba(15,23,42,.05)}.hm-back-link:hover{background:#f8fafc;transform:translateY(-1px)}

.hm-home-hero{background:linear-gradient(135deg,#0f172a,#1e293b 52%,#047857);color:#fff;border-radius:34px;padding:38px;margin-bottom:24px;display:grid;grid-template-columns:1fr 290px;gap:24px;align-items:stretch;position:relative;overflow:hidden}.hm-home-hero:after{content:"🧰";position:absolute;right:28px;top:10px;font-size:120px;opacity:.10}.hm-home-hero h1{font-size:40px;line-height:1.06;margin:0 0 12px;max-width:820px}.hm-home-hero p{color:#e5e7eb;line-height:1.6;margin:0;max-width:820px}.hm-home-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px;max-width:720px}.hm-home-stats div{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:14px}.hm-home-stats strong{display:block;font-size:24px}.hm-home-stats span{display:block;color:#d1d5db;font-size:12px;font-weight:800}.hm-home-hero-card{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);border-radius:24px;padding:22px;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;position:relative;z-index:1}.hm-home-hero-card span{font-size:42px}.hm-home-hero-card b{font-size:22px;margin:8px 0 6px}.hm-home-hero-card small{color:#e5e7eb;line-height:1.45}.hm-home-controls{background:#fff;border:1px solid #e5e7eb;border-radius:26px;padding:18px;margin-bottom:20px;box-shadow:0 14px 34px rgba(15,23,42,.06)}.hm-home-search{position:relative;margin-bottom:14px}.hm-home-search span{position:absolute;left:15px;top:14px}.hm-home-search input{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:18px;padding:15px 15px 15px 44px;font-size:16px}.hm-home-filters{display:flex;flex-wrap:wrap;gap:9px}.hm-home-filters button{border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:10px 13px;font-weight:900;cursor:pointer;color:#334155}.hm-home-filters button.active{background:#111827;color:#fff;border-color:#111827}.hm-home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.hm-home-card{display:flex;gap:14px;background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:18px;text-decoration:none;color:#172033;transition:.18s;box-shadow:0 10px 24px rgba(15,23,42,.05)}.hm-home-card:hover{transform:translateY(-2px);background:#f8fafc;border-color:#bae6fd}.hm-home-icon{width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#ecfdf5);display:flex;align-items:center;justify-content:center;font-size:28px;flex:0 0 auto}.hm-home-card-body small{display:block;color:#64748b;font-size:12px;font-weight:900;margin-bottom:4px}.hm-home-card-body b{display:block;font-size:17px;line-height:1.25;margin-bottom:7px}.hm-home-card-body p{margin:0 0 10px;color:#475569;font-size:13px;line-height:1.45}.hm-home-link{font-weight:900;color:#0369a1;font-size:13px}.hm-home-empty{display:none;background:#fff7ed;border:1px solid #fed7aa;border-radius:20px;padding:18px;color:#7c2d12;font-weight:900;text-align:center}.hm-home-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hm-home-how-grid div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:16px}.hm-home-how-grid strong{display:block;margin-bottom:6px}.hm-home-how-grid p{margin:0;color:#475569;font-size:14px}
@media(max-width:980px){.hm-home-hero{grid-template-columns:1fr}.hm-home-hero-card{display:none}.hm-home-grid{grid-template-columns:1fr 1fr}.hm-home-stats,.hm-home-how-grid{grid-template-columns:1fr}}@media(max-width:620px){.hm-home-hero{padding:26px;border-radius:26px}.hm-home-hero h1{font-size:30px}.hm-home-grid{grid-template-columns:1fr}.hm-home-card{padding:15px}.hm-home-icon{width:48px;height:48px;font-size:25px}.hm-home-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.hm-home-filters button{white-space:nowrap}.hm-home-stats{gap:8px}.hm-home-stats div{padding:12px}.hm-home-stats strong{font-size:20px}}

/* Herramia Calculadoras Home v1.5 - home más parecido a portal principal */
.hm-calcs-home{max-width:1220px}.hm-calcs-home .hm-home-back{margin-bottom:18px;background:#ffffff;border:1px solid #dbe3ea;color:#0f172a;box-shadow:0 10px 25px rgba(15,23,42,.06)}
.hm-main-home-hero{position:relative;overflow:hidden;border-radius:34px;padding:42px;background:radial-gradient(circle at 85% 15%,rgba(16,185,129,.32),transparent 30%),linear-gradient(135deg,#0f172a,#132237 52%,#064e3b);color:#fff;display:grid;grid-template-columns:1fr 310px;gap:26px;align-items:stretch;margin-bottom:24px;box-shadow:0 22px 60px rgba(15,23,42,.20)}
.hm-main-home-hero:after{content:"";position:absolute;right:-80px;bottom:-100px;width:290px;height:290px;border-radius:999px;background:rgba(255,255,255,.08)}
.hm-main-home-copy{position:relative;z-index:1}.hm-home-badge{background:#a7f3d0;color:#064e3b}.hm-main-home-hero h1{font-size:46px;line-height:1.03;margin:0 0 14px;letter-spacing:-.03em;max-width:830px}.hm-main-home-hero p{margin:0;color:#e5e7eb;line-height:1.65;font-size:17px;max-width:850px}.hm-home-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.hm-primary-link,.hm-secondary-link{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;padding:13px 18px;font-weight:950;text-decoration:none}.hm-primary-link{background:#fff;color:#0f172a}.hm-secondary-link{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.20)}
.hm-main-home-panel{position:relative;z-index:1;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);border-radius:28px;padding:24px;display:flex;flex-direction:column;justify-content:flex-end;min-height:260px;backdrop-filter:blur(8px)}.hm-panel-icon{font-size:46px;margin-bottom:auto}.hm-main-home-panel strong{font-size:18px}.hm-panel-number{font-size:62px;line-height:.95;font-weight:950;letter-spacing:-.05em;margin:8px 0}.hm-main-home-panel span{color:#d1d5db}.hm-panel-mini{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:8px 10px;margin-top:18px;align-items:end}.hm-panel-mini b{font-size:22px}.hm-panel-mini small{color:#d1d5db;font-weight:800}
.hm-home-search-section,.hm-home-featured,.hm-home-library{background:#fff;border:1px solid #e5e7eb;border-radius:28px;padding:22px;margin-bottom:22px;box-shadow:0 14px 34px rgba(15,23,42,.06)}.hm-section-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px}.hm-section-head>span{width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#eff6ff,#ecfdf5);display:flex;align-items:center;justify-content:center;font-size:23px;flex:0 0 auto}.hm-section-head h2{font-size:24px;margin:0 0 3px;letter-spacing:-.02em}.hm-section-head p{margin:0;color:#64748b;line-height:1.45}.hm-home-search-section .hm-home-search{margin-bottom:14px}.hm-home-search-section .hm-home-search input{border-radius:19px;padding:16px 16px 16px 46px;background:#f8fafc}.hm-home-filters{display:flex;flex-wrap:wrap;gap:9px}.hm-home-filters button{border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:10px 14px;font-weight:950;cursor:pointer;color:#334155;transition:.15s}.hm-home-filters button:hover{background:#ecfdf5;border-color:#bbf7d0}.hm-home-filters button.active{background:#0f172a;color:#fff;border-color:#0f172a}
.hm-featured-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.hm-featured-card{background:linear-gradient(135deg,#f8fafc,#ffffff);border:1px solid #e5e7eb;border-radius:22px;padding:18px;text-decoration:none;color:#172033;transition:.18s}.hm-featured-card:hover{transform:translateY(-2px);border-color:#a7f3d0;box-shadow:0 14px 30px rgba(15,23,42,.08)}.hm-featured-card span{font-size:34px;display:block;margin-bottom:12px}.hm-featured-card b{font-size:16px;display:block;line-height:1.25}.hm-featured-card small{display:block;margin-top:7px;color:#64748b;font-weight:900}
.hm-calcs-home .hm-home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.hm-calcs-home .hm-home-card{display:flex;gap:15px;background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:18px;text-decoration:none;color:#172033;transition:.18s;box-shadow:0 8px 20px rgba(15,23,42,.04)}.hm-calcs-home .hm-home-card:hover{transform:translateY(-2px);border-color:#bae6fd;background:#f8fafc;box-shadow:0 14px 30px rgba(15,23,42,.08)}.hm-calcs-home .hm-home-icon{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#dbeafe,#d1fae5);display:flex;align-items:center;justify-content:center;font-size:30px;flex:0 0 auto}.hm-calcs-home .hm-home-card-body small{display:block;color:#64748b;font-size:12px;font-weight:950;margin-bottom:5px}.hm-calcs-home .hm-home-card-body b{display:block;font-size:17px;line-height:1.25;margin-bottom:7px}.hm-calcs-home .hm-home-card-body p{margin:0 0 10px;color:#475569;font-size:13px;line-height:1.45}.hm-calcs-home .hm-home-link{font-weight:950;color:#047857;font-size:13px}.hm-calcs-home .hm-home-empty{display:none;background:#fff7ed;border:1px solid #fed7aa;border-radius:20px;padding:18px;color:#7c2d12;font-weight:950;text-align:center}.hm-calcs-home .hm-home-how{background:#fff;border:1px solid #e5e7eb}.hm-calcs-home .hm-home-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hm-calcs-home .hm-home-how-grid div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:16px}.hm-calcs-home .hm-home-how-grid strong{display:block;margin-bottom:6px}.hm-calcs-home .hm-home-how-grid p{margin:0;color:#475569;font-size:14px}
@media(max-width:980px){.hm-main-home-hero{grid-template-columns:1fr;padding:32px}.hm-main-home-panel{min-height:unset}.hm-featured-grid{grid-template-columns:1fr 1fr}.hm-calcs-home .hm-home-grid{grid-template-columns:1fr 1fr}.hm-calcs-home .hm-home-how-grid{grid-template-columns:1fr}.hm-main-home-hero h1{font-size:36px}}
@media(max-width:620px){.hm-calcs-home{margin:18px auto}.hm-main-home-hero{padding:26px;border-radius:26px}.hm-main-home-hero h1{font-size:30px}.hm-main-home-hero p{font-size:15px}.hm-home-actions{flex-direction:column}.hm-primary-link,.hm-secondary-link{width:100%;box-sizing:border-box}.hm-main-home-panel{display:none}.hm-home-search-section,.hm-home-featured,.hm-home-library{padding:18px;border-radius:24px}.hm-featured-grid,.hm-calcs-home .hm-home-grid{grid-template-columns:1fr}.hm-calcs-home .hm-home-card{padding:15px}.hm-calcs-home .hm-home-icon{width:50px;height:50px;font-size:26px}.hm-home-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.hm-home-filters button{white-space:nowrap}.hm-section-head h2{font-size:21px}.hm-section-head>span{width:40px;height:40px}}
/* Herramia Home Front v4 */
.herramia-home{--hh-primary:#16b978;--hh-button:#16b978;--hh-button-text:#fff;font-family:Inter,Arial,sans-serif;color:#101828;background:#f5f7fb}
.herramia-home *{box-sizing:border-box}.herramia-home a{text-decoration:none;color:inherit}
.hh-container{max-width:1240px;margin:auto;padding:0 22px}.hh-topbar{background:#07111f;color:#fff;text-align:center;padding:9px 18px;font-size:13px;font-weight:850}
.hh-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid #e4e7ec}.hh-nav{max-width:1240px;margin:auto;padding:13px 22px;display:flex;justify-content:space-between;align-items:center;gap:18px}.hh-brand{display:flex;align-items:center;gap:10px;font-weight:950;font-size:24px;letter-spacing:-.6px}.hh-brand-mark{width:40px;height:40px;border-radius:14px;background:linear-gradient(135deg,var(--hh-primary),#22d3ee);color:white;display:grid;place-items:center;font-size:22px}.hh-brand small{display:block;color:#475467;font-size:12px;margin-top:-4px}.hh-links{display:flex;align-items:center;gap:18px;font-size:14px;font-weight:850;color:#344054}.hh-login-btn{border:1px solid #e4e7ec;background:#fff;padding:10px 14px;border-radius:12px;font-weight:950;color:#0f172a;cursor:pointer}.hh-nav-cta,.hh-btn-primary,.hh-tool-btn,.hh-promo a,.hh-modal form button{background:var(--hh-button)!important;color:var(--hh-button-text)!important}.hh-nav-cta{padding:10px 15px;border-radius:12px}
.hh-hero{padding:54px 22px 34px;max-width:1020px!important}.hh-eyebrow{display:inline-flex;background:#fff;border:1px solid #e4e7ec;color:#344054;border-radius:999px;padding:9px 14px;font-size:14px;font-weight:900;margin-bottom:16px}.hh-hero h1{margin:0 0 15px;font-size:56px;line-height:1;letter-spacing:-2.4px;max-width:980px}.hh-hero p{color:#667085;font-size:18px;line-height:1.55;margin:0 0 24px;max-width:850px}.hh-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:19px}.hh-btn{border-radius:14px;padding:13px 17px;font-size:15px;font-weight:950;display:inline-flex;align-items:center;gap:8px;border:none;cursor:pointer}.hh-btn-light{background:#fff;color:#0f172a;border:1px solid #e4e7ec}.hh-trust{display:flex;flex-wrap:wrap;gap:9px}.hh-trust span{background:rgba(255,255,255,.84);border:1px solid #e4e7ec;border-radius:999px;padding:8px 11px;color:#344054;font-size:13px;font-weight:850}
.hh-section{padding:36px 0}.hh-section-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:17px}.hh-section-head h2{margin:0 0 7px;font-size:32px;letter-spacing:-1.1px}.hh-section-head p{margin:0;color:#667085;line-height:1.5;max-width:760px;font-size:15px}
.hh-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hh-tool-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:14px;box-shadow:0 8px 24px rgba(16,24,40,.045);display:flex;flex-direction:column;position:relative;overflow:hidden;transition:.18s}.hh-tool-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--hh-primary),#0ea5e9,#7c3aed)}.hh-tool-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(16,24,40,.10)}.hh-tool-top{display:flex;justify-content:space-between;align-items:flex-start;margin:5px 0 9px;gap:8px}.hh-tool-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:22px;color:#fff;flex:none}.hh-green{background:#16b978}.hh-blue{background:#0ea5e9}.hh-purple{background:#7c3aed}.hh-pink{background:#ec4899}.hh-amber{background:#f59e0b}.hh-red{background:#ef4444}.hh-badge-stack{display:flex;flex-direction:column;gap:5px;align-items:flex-end}.hh-badge{border-radius:999px;padding:5px 7px;font-size:10px;font-weight:950;white-space:nowrap;background:#eef2f7;color:#344054}.hh-badge-custom{background:var(--hh-badge-color)!important;color:#fff!important}.hh-tool-card h3{margin:0 0 4px;font-size:17px;letter-spacing:-.25px}.hh-seo-title{display:block;color:#344054;font-size:11.5px;font-weight:950;margin-bottom:7px}.hh-tool-card p{margin:0 0 9px;color:#667085;line-height:1.34;font-size:12.5px}.hh-seo-copy{color:#475467!important;font-weight:700}.hh-tech{background:#f9fafb;border:1px solid #e4e7ec;border-radius:12px;padding:9px;margin-bottom:10px;display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;font-size:11.2px;color:#344054}.hh-tech div{display:flex;gap:5px;line-height:1.25}.hh-tech div:before{content:"✓";color:#344054;font-weight:950;flex:none}.hh-includes{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.hh-includes strong{font-size:11px;color:#475467}.hh-includes span{font-size:10.5px;background:#f2f4f7;color:#344054;padding:5px 7px;border-radius:999px}.hh-tool-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px}.hh-price{font-weight:950;color:#344054;font-size:12px}.hh-tool-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;border-radius:10px;padding:9px 10px;font-size:12px;font-weight:950}


.hh-premium-section{padding-top:24px}
.hh-premium-card{background:#fff;border:1px solid #e4e7ec;color:#101828;border-radius:26px;padding:24px;display:grid;grid-template-columns:1fr 1.05fr;gap:24px;align-items:center;box-shadow:0 18px 48px rgba(16,24,40,.08);position:relative;overflow:hidden}
.hh-premium-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--hh-primary),#0ea5e9,#7c3aed)}
.hh-premium-copy span{display:inline-flex;background:#f2f4f7;border:1px solid #e4e7ec;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:950;color:#344054;margin-bottom:12px}
.hh-premium-copy h2{font-size:30px;line-height:1.05;letter-spacing:-.8px;margin:0 0 10px;color:#101828}
.hh-premium-copy p{font-size:14px;line-height:1.5;color:#667085;margin:0}
.hh-premium-trust{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.hh-premium-trust span{background:#f8fafc;border:1px solid #e4e7ec;color:#344054;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:850}
.hh-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hh-plan{background:#f8fafc;border:1px solid #e4e7ec;border-radius:18px;padding:17px}
.hh-plan.featured{background:#ecfdf3;border-color:#bbf7d0;box-shadow:0 10px 24px rgba(22,185,120,.10)}
.hh-plan b{display:block;font-size:18px;margin-bottom:10px;color:#101828}
.hh-plan ul{margin:0;padding-left:18px;color:#475467;font-size:13px;line-height:1.6}

.hh-promo{background:linear-gradient(135deg,#f8fafc,#fff);border:1px solid #e4e7ec;border-radius:20px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;box-shadow:0 16px 42px rgba(16,24,40,.08)}.hh-promo h2{margin:0 0 7px;font-size:23px}.hh-promo p{margin:0;color:#667085;line-height:1.45;font-size:14px}.hh-promo a{border-radius:12px;padding:11px 14px;font-weight:950}
.hh-catalog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.hh-compact-card{border:1px solid #e4e7ec;border-radius:15px;padding:12px;background:#fff;display:grid;gap:7px;min-height:116px;box-shadow:0 8px 20px rgba(16,24,40,.03)}.hh-compact-top{display:flex;justify-content:space-between;align-items:center}.hh-compact-top span{width:34px;height:34px;border-radius:11px;background:#eff8ff;display:grid;place-items:center;font-size:17px}.hh-compact-top em{background:#f2f4f7;color:#475467;border-radius:999px;padding:5px 7px;font-size:10px;font-weight:950;font-style:normal}.hh-compact-card h3{margin:0;font-size:14px}.hh-compact-card p{color:#667085;line-height:1.32;font-size:11.8px;margin:0}.hh-compact-card a{color:#344054;font-size:12px;font-weight:950;margin-top:auto}
.hh-benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.hh-benefit{background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:16px;box-shadow:0 8px 24px rgba(16,24,40,.035)}.hh-benefit>div{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#f8fafc;font-size:21px;margin-bottom:10px}.hh-benefit h3{margin:0 0 6px;font-size:17px}.hh-benefit p{color:#667085;line-height:1.42;margin:0;font-size:13px}
.hh-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hh-faq-grid details{background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:16px;box-shadow:0 8px 22px rgba(16,24,40,.03)}.hh-faq-grid summary{cursor:pointer;font-weight:950;list-style:none}.hh-faq-grid summary::-webkit-details-marker{display:none}.hh-faq-grid summary:after{content:"+";float:right;color:#344054;font-size:22px;line-height:18px}.hh-faq-grid details[open] summary:after{content:"−"}.hh-faq-grid p{color:#667085;line-height:1.44;margin:11px 0 0;font-size:13.5px}
.hh-footer{background:#fff;border-top:1px solid #e4e7ec;padding:28px 0;color:#667085;font-size:13px}.hh-footer .hh-container{display:flex;justify-content:space-between;gap:16px;align-items:center}.hh-footer p{margin:0}.hh-footer nav{display:flex;gap:14px;flex-wrap:wrap}.hh-footer a{color:#344054;font-weight:800}

.hh-mobile-login-float{display:none;position:fixed;right:16px;bottom:16px;z-index:99990;background:var(--hh-button);color:var(--hh-button-text);border:none;border-radius:999px;padding:13px 16px;font-weight:950;box-shadow:0 14px 34px rgba(16,24,40,.28);cursor:pointer}

.hh-modal{position:fixed;inset:0;background:rgba(7,17,31,.62);display:none;align-items:center;justify-content:center;z-index:99999;padding:22px}.hh-modal.active{display:flex}.hh-modal-card{position:relative;background:#fff;border-radius:24px;max-width:430px;width:100%;padding:26px;box-shadow:0 30px 80px rgba(0,0,0,.28)}.hh-modal-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.hh-modal h2{margin:0;font-size:25px}.hh-modal p{margin:0 0 16px;color:#667085;line-height:1.45}.hh-close{background:#111827!important;color:#fff!important;border:2px solid #fff!important;border-radius:999px!important;width:42px!important;height:42px!important;font-size:26px!important;line-height:34px!important;cursor:pointer!important;display:grid!important;place-items:center!important;box-shadow:0 8px 22px rgba(0,0,0,.25)!important}.hh-modal form{display:grid;gap:10px}.hh-modal input{border:1px solid #e4e7ec;border-radius:13px;padding:13px;font-size:14px}.hh-modal form button{border:none;border-radius:13px;font-weight:950;padding:13px}.hh-modal small{display:block;margin-top:12px;font-size:12px;color:#667085;text-align:center}
@media(max-width:1080px){.hh-featured-grid{grid-template-columns:repeat(2,1fr)}.hh-benefits-grid,.hh-catalog-grid{grid-template-columns:1fr 1fr}.hh-premium-card{grid-template-columns:1fr}.hh-section-head{display:block}
.hh-premium-section{padding-top:24px}
.hh-premium-card{background:linear-gradient(135deg,#07111f,#111827);color:#fff;border-radius:26px;padding:24px;display:grid;grid-template-columns:1fr 1.05fr;gap:24px;align-items:center;box-shadow:0 24px 60px rgba(16,24,40,.18)}
.hh-premium-copy span{display:inline-flex;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:8px 10px;font-size:12px;font-weight:950;color:#dbeafe;margin-bottom:12px}
.hh-premium-copy h2{font-size:30px;line-height:1.05;letter-spacing:-.8px;margin:0 0 10px}
.hh-premium-copy p{font-size:14px;line-height:1.5;color:#cbd5e1;margin:0}
.hh-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hh-plan{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:17px}
.hh-plan.featured{background:rgba(22,185,120,.16);border-color:rgba(22,185,120,.45)}
.hh-plan b{display:block;font-size:18px;margin-bottom:10px}
.hh-plan ul{margin:0;padding-left:18px;color:#e5e7eb;font-size:13px;line-height:1.6}

.hh-promo{grid-template-columns:1fr}.hh-links a:not(.hh-nav-cta){display:none}.hh-tech{grid-template-columns:1fr}}
@media(max-width:700px){.hh-container{padding:0 18px}.hh-hero h1{font-size:36px;letter-spacing:-1.3px}.hh-hero{padding-top:38px}.hh-featured-grid,.hh-benefits-grid,.hh-catalog-grid,.hh-faq-grid,.hh-plan-grid{grid-template-columns:1fr}.hh-tool-footer{align-items:flex-start;flex-direction:column}.hh-badge-stack{align-items:flex-start}.hh-tool-btn{width:100%;text-align:center}.hh-nav{padding:12px 18px}.hh-brand{font-size:21px}.hh-login-btn{display:none}.hh-footer .hh-container{display:block}.hh-footer nav{margin-top:12px}}


@media(max-width:700px){
  .hh-premium-section{padding:22px 0}
  .hh-premium-card{padding:18px;border-radius:22px;gap:16px}
  .hh-premium-copy h2{font-size:24px;line-height:1.12}
  .hh-premium-copy p{font-size:13.5px}
  .hh-premium-trust{display:grid;grid-template-columns:1fr;gap:7px}
  .hh-premium-trust span{text-align:center}
  .hh-plan-grid{grid-template-columns:1fr!important}
  .hh-plan{padding:15px;border-radius:16px}
  .hh-plan b{font-size:17px}
  .hh-plan ul{font-size:13px;line-height:1.55}
  .hh-mobile-login-float{display:block}
  .hh-modal-card{padding:22px;border-radius:22px}
  .hh-modal-head{align-items:center}
  .hh-close{width:44px!important;height:44px!important;font-size:28px!important;flex:none}
}


/* Premium section v8 - diseño claro y legible */
.hh-premium-section{
  background:#f5f7fb!important;
  padding:34px 0!important;
}
.hh-premium-box{
  background:#ffffff!important;
  border:1px solid #dfe4ea!important;
  border-radius:24px!important;
  padding:24px!important;
  box-shadow:0 16px 42px rgba(16,24,40,.08)!important;
}
.hh-premium-header{
  max-width:850px!important;
  margin-bottom:18px!important;
}
.hh-premium-header span{
  display:inline-flex!important;
  background:#f2f4f7!important;
  border:1px solid #e4e7ec!important;
  color:#344054!important;
  border-radius:999px!important;
  padding:8px 11px!important;
  font-size:12px!important;
  font-weight:950!important;
  margin-bottom:10px!important;
}
.hh-premium-header h2{
  color:#101828!important;
  margin:0 0 8px!important;
  font-size:30px!important;
  line-height:1.08!important;
  letter-spacing:-.8px!important;
}
.hh-premium-header p{
  color:#667085!important;
  margin:0!important;
  font-size:14px!important;
  line-height:1.5!important;
}
.hh-access-row{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:10px!important;
  margin:18px 0!important;
}
.hh-access-item{
  background:#f8fafc!important;
  border:1px solid #e4e7ec!important;
  color:#344054!important;
  border-radius:14px!important;
  padding:13px!important;
  text-align:center!important;
  font-size:13px!important;
  font-weight:950!important;
}
.hh-plan-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
}
.hh-plan{
  background:#ffffff!important;
  border:1px solid #dfe4ea!important;
  border-radius:18px!important;
  padding:18px!important;
  box-shadow:0 8px 22px rgba(16,24,40,.04)!important;
}
.hh-plan.featured{
  background:#f0fdf4!important;
  border:2px solid #86efac!important;
}
.hh-plan-label{
  display:inline-flex!important;
  background:#eef2f7!important;
  color:#344054!important;
  border-radius:999px!important;
  padding:6px 9px!important;
  font-size:11px!important;
  font-weight:950!important;
  margin-bottom:9px!important;
}
.hh-plan.featured .hh-plan-label{
  background:#dcfce7!important;
  color:#166534!important;
}
.hh-plan h3{
  margin:0 0 9px!important;
  color:#101828!important;
  font-size:20px!important;
}
.hh-plan ul{
  margin:0!important;
  padding-left:18px!important;
  color:#475467!important;
  font-size:13px!important;
  line-height:1.6!important;
}

@media(max-width:700px){
  .hh-premium-section{
    padding:22px 0!important;
  }
  .hh-premium-box{
    padding:16px!important;
    border-radius:20px!important;
  }
  .hh-premium-header h2{
    font-size:23px!important;
    line-height:1.13!important;
  }
  .hh-premium-header p{
    font-size:13.5px!important;
  }
  .hh-access-row{
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin:14px 0!important;
  }
  .hh-access-item{
    text-align:left!important;
    padding:12px 13px!important;
  }
  .hh-plan-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .hh-plan{
    padding:15px!important;
    border-radius:16px!important;
  }
  .hh-plan h3{
    font-size:18px!important;
  }
  .hh-plan ul{
    font-size:13px!important;
    line-height:1.55!important;
  }
}

/* Herramia Calculadoras Home v1.6 - compatibilidad visual con Home V8 */
.herramia-calculadoras-home{min-height:100vh;background:#f5f7fb!important}
.herramia-calculadoras-home .hh-search-box{background:#fff;border:1px solid #e4e7ec;border-radius:22px;padding:18px;box-shadow:0 14px 34px rgba(16,24,40,.06);display:grid;gap:13px}
.herramia-calculadoras-home .hh-search-label{display:block;font-size:13px;font-weight:950;color:#344054;margin-bottom:8px}
.herramia-calculadoras-home #hmHomeSearch{width:100%;border:1px solid #e4e7ec;border-radius:15px;padding:14px 16px;font-size:16px;outline:none;background:#f8fafc;color:#101828}
.herramia-calculadoras-home #hmHomeSearch:focus{border-color:var(--hh-primary);box-shadow:0 0 0 4px rgba(22,185,120,.12);background:#fff}
.herramia-calculadoras-home .hm-home-filters{display:flex;gap:8px;flex-wrap:wrap}
.herramia-calculadoras-home .hm-home-filters button{border:1px solid #e4e7ec;background:#fff;color:#344054;border-radius:999px;padding:9px 12px;font-size:12px;font-weight:950;cursor:pointer}
.herramia-calculadoras-home .hm-home-filters button.active{background:var(--hh-primary);border-color:var(--hh-primary);color:#fff}
.herramia-calculadoras-home .hh-home-empty{display:none;background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:18px;text-align:center;color:#667085;font-weight:850;margin-top:12px}
.herramia-calculadoras-home .hh-tool-card.hm-home-card{display:flex}
.herramia-calculadoras-home .hh-compact-card.hm-home-card{display:grid}
.herramia-calculadoras-home .hh-promo{background:linear-gradient(135deg,#f8fafc,#fff)!important;border:1px solid #e4e7ec!important;color:#101828!important}
.herramia-calculadoras-home .hh-promo a{background:var(--hh-button)!important;color:var(--hh-button-text)!important}
.herramia-calculadoras-home .hm-ad{margin:0;background:linear-gradient(135deg,#f8fafc,#fff);border:1px solid #e4e7ec;border-radius:20px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;box-shadow:0 16px 42px rgba(16,24,40,.08)}
.herramia-calculadoras-home .hm-ad strong{display:block;margin:0 0 7px;font-size:23px;color:#101828}
.herramia-calculadoras-home .hm-ad span{display:block;color:#667085;line-height:1.45;font-size:14px}
.herramia-calculadoras-home .hm-ad a{border-radius:12px;padding:11px 14px;font-weight:950;background:var(--hh-button)!important;color:var(--hh-button-text)!important;text-decoration:none;text-align:center}
.herramia-calculadoras-home code{background:#f2f4f7;border-radius:6px;padding:2px 5px}
@media(max-width:900px){
  .herramia-calculadoras-home .hh-links{display:none}
  .herramia-calculadoras-home .hh-hero h1{font-size:40px;letter-spacing:-1.4px}
  .herramia-calculadoras-home .hm-ad{grid-template-columns:1fr}
  .herramia-calculadoras-home .hm-ad a{width:100%}
}
@media(max-width:700px){
  .herramia-calculadoras-home .hh-hero h1{font-size:34px!important;line-height:1.05!important}
  .herramia-calculadoras-home .hh-hero p{font-size:16px!important}
  .herramia-calculadoras-home .hh-catalog-grid{grid-template-columns:1fr!important}
  .herramia-calculadoras-home .hh-featured-grid{grid-template-columns:1fr!important}
  .herramia-calculadoras-home .hh-benefits-grid{grid-template-columns:1fr!important}
  .herramia-calculadoras-home .hh-faq-grid{grid-template-columns:1fr!important}
  .herramia-calculadoras-home .hh-actions .hh-btn{width:100%;justify-content:center}
}

/* Herramia Calculadoras Home v1.7 - sin buscador, categorías limpias y tarjetas consistentes */
.hm-calcs-v17 .hh-calcs-search-section,
.hm-calcs-v17 .hh-search-box,
.hm-calcs-v17 #hmHomeSearch,
.hm-calcs-v17 .hm-home-filters,
.hm-calcs-v17 .hh-premium-section{display:none!important}
.hm-calcs-v17 .hm-category-section{padding-top:22px!important}
.hm-calcs-v17 .hm-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hm-calcs-v17 .hm-category-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:16px;text-decoration:none;color:#101828;box-shadow:0 10px 26px rgba(16,24,40,.05);transition:.18s;display:grid;gap:5px;min-height:112px}
.hm-calcs-v17 .hm-category-card:hover{transform:translateY(-2px);border-color:#bbf7d0;background:#f8fffb;box-shadow:0 18px 42px rgba(16,24,40,.08)}
.hm-calcs-v17 .hm-category-card span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#ecfdf5,#eff6ff);font-size:22px}
.hm-calcs-v17 .hm-category-card strong{font-size:16px;line-height:1.18;letter-spacing:-.2px}
.hm-calcs-v17 .hm-category-card small{font-size:12px;color:#667085;font-weight:850}
.hm-calcs-v17 .hm-card-pills{display:flex;flex-direction:column;gap:6px;align-items:flex-end;max-width:130px}
.hm-calcs-v17 .hm-pill-active,.hm-calcs-v17 .hm-pill-seo{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:950;line-height:1;white-space:nowrap}
.hm-calcs-v17 .hm-pill-active{background:#eef2f7;color:#344054}
.hm-calcs-v17 .hm-pill-seo{background:#0ea5e9;color:#fff}
.hm-calcs-v17 .hm-feature-card{min-width:0;display:flex!important}
.hm-calcs-v17 .hm-feature-card h3{font-size:18px;line-height:1.2;color:#101828}
.hm-calcs-v17 .hm-feature-card .hh-seo-title{font-size:12px;color:#667085;word-break:break-word}
.hm-calcs-v17 .hm-cat-block{margin:0 0 28px}
.hm-calcs-v17 .hm-cat-title{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding-top:4px}
.hm-calcs-v17 .hm-cat-title span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#ecfdf5,#eff6ff);font-size:22px}
.hm-calcs-v17 .hm-cat-title h3{font-size:24px;line-height:1.1;margin:0;color:#101828;letter-spacing:-.5px}
.hm-calcs-v17 .hm-catalog-card{display:grid!important;min-width:0}
.hm-calcs-v17 .hm-catalog-card h3{font-size:18px;line-height:1.25;color:#101828;word-break:normal}
.hm-calcs-v17 .hm-catalog-card p{font-size:13px;line-height:1.45;color:#667085}
.hm-calcs-v17 .hh-compact-top{align-items:flex-start;gap:8px}
.hm-calcs-v17 .hh-compact-top em{font-size:11px;line-height:1.2;border-radius:999px;padding:6px 8px;background:#f2f4f7;color:#344054;font-style:normal;font-weight:950;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm-calcs-v17 .hh-tool-top{gap:10px}
.hm-calcs-v17 .hh-tool-icon{flex:none}
.hm-calcs-v17 .hh-section-head h2{font-size:34px;line-height:1.05;color:#101828}
.hm-calcs-v17 .hh-section-head p{font-size:16px;color:#667085;max-width:760px}
@media(max-width:1080px){.hm-calcs-v17 .hm-category-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){
  .hm-calcs-v17 .hm-category-grid{grid-template-columns:1fr}
  .hm-calcs-v17 .hm-category-card{min-height:auto;grid-template-columns:auto 1fr;align-items:center;column-gap:12px}
  .hm-calcs-v17 .hm-category-card small{grid-column:2}
  .hm-calcs-v17 .hm-card-pills{align-items:flex-start;max-width:none;flex-direction:row;flex-wrap:wrap}
  .hm-calcs-v17 .hh-tool-top{display:grid;grid-template-columns:auto 1fr;align-items:start}
  .hm-calcs-v17 .hh-section-head h2{font-size:28px}
  .hm-calcs-v17 .hm-cat-title h3{font-size:22px}
}
