/* Hero editorial cinematográfico con mini-calculadora viva y bento de 4 calculadoras Pro (<= 150 líneas). */
.hn-hero { position: relative; overflow: hidden; background: var(--hn-cocoa); color: #FCF8F2; padding: 68px 0 74px; }
.hn-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hn-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.48; transform: scale(1.02); }
.hn-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(108deg, rgba(24, 17, 13, 0.90) 16%, rgba(24, 17, 13, 0.56) 54%, rgba(24, 17, 13, 0.80) 100%); }

.hn-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.88fr; gap: 40px; align-items: center; }
.hn-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: rgba(217, 130, 43, 0.16); border: 1px solid rgba(235, 178, 72, 0.38); color: var(--hn-gold); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 18px; }
.hn-hero h1 { font-size: clamp(32px, 4.4vw, 54px); color: #FCF8F2; margin-bottom: 18px; }
.hn-hero-lead { font-size: 17px; line-height: 1.65; color: rgba(246, 226, 192, 0.88); max-width: 580px; margin: 0 0 28px; }
.hn-trust-pills { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; font-size: 13px; font-weight: 600; color: rgba(252, 248, 242, 0.82); }
.hn-trust-pills span { display: inline-flex; align-items: center; gap: 6px; }
.hn-trust-pills svg { color: var(--hn-sage-bright); }

.hn-hero-widget { background: rgba(38, 28, 22, 0.92); backdrop-filter: blur(16px); border: 1px solid rgba(246, 226, 192, 0.2); border-radius: var(--hn-radius-lg); padding: 22px; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42); }
.hn-mini-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(24, 17, 13, 0.72); padding: 5px; border-radius: 14px; margin-bottom: 18px; }
.hn-mini-tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: rgba(246, 226, 192, 0.72); font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.18s ease, color 0.18s ease; }
.hn-mini-tab.is-on { background: var(--hn-caramel); color: var(--hn-cocoa); }
.hn-mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.hn-mini-row label { display: grid; gap: 6px; }
.hn-mini-row span { font-size: 12px; font-weight: 700; color: var(--hn-cream); }
.hn-mini-row input, .hn-mini-row select { width: 100%; height: 44px; padding: 0 12px; border-radius: 11px; border: 1px solid rgba(246, 226, 192, 0.24); background: rgba(24, 17, 13, 0.85); color: #FCF8F2; font-size: 15px; font-weight: 700; }
.hn-mini-out { background: linear-gradient(135deg, rgba(217, 130, 43, 0.16), rgba(62, 168, 126, 0.12)); border: 1px solid rgba(235, 178, 72, 0.35); border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; text-align: center; }
.hn-mini-out small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--hn-gold); margin-bottom: 4px; }
.hn-mini-out strong { display: block; font-family: var(--hn-font-serif); font-size: 42px; line-height: 1.05; color: #FCF8F2; margin-bottom: 4px; }
.hn-mini-out p { margin: 0; font-size: 13px; color: var(--hn-cream); opacity: 0.92; }

.hn-bento-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hn-tool-card { display: flex; flex-direction: column; background: var(--hn-surface); border: 1px solid var(--hn-border); border-radius: var(--hn-radius-lg); overflow: hidden; box-shadow: var(--hn-shadow); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.hn-tool-card:hover { transform: translateY(-4px); box-shadow: var(--hn-shadow-lg); border-color: var(--hn-caramel); }
.hn-tool-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hn-cocoa-2); }
.hn-tool-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.hn-tool-card:hover .hn-tool-media img { transform: scale(1.04); }
.hn-tool-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(24, 17, 13, 0.86); backdrop-filter: blur(6px); color: var(--hn-gold); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.hn-tool-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.hn-tool-body h3 { font-size: 23px; margin-bottom: 10px; }
.hn-tool-body h3 a { text-decoration: none; }
.hn-tool-body h3 a:hover { color: var(--hn-caramel-dark); }
.hn-tool-body p { margin: 0 0 18px; color: var(--hn-muted); font-size: 14.5px; flex: 1; }
.hn-tool-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--hn-border); flex-wrap: wrap; }
.hn-tool-stat { font-size: 12px; font-weight: 700; color: var(--hn-soft); }

@media (max-width: 960px) {
	.hn-hero-grid { grid-template-columns: 1fr; }
	.hn-bento-4 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.hn-hero { padding: 44px 0 52px; }
	.hn-mini-row { grid-template-columns: 1fr; }
}
