/* Human Being 2026 — estilos */

:root {
	--ink: #0e2a22;
	--ink-2: #1a4236;
	--muted: #4b625a;
	--paper: #eef2ea;
	--bg: #fafbf7;
	--white: #ffffff;
	--blue: #0b8df4;
	--blue-ink: #0068c2;
	--green: #7bcf3f;
	--green-ink: #3b7a17;
	--yellow: #e8f24a;
	--red: #b3261e;
	--line: rgba(14, 42, 34, .16);
	--line-ink: rgba(255, 255, 255, .18);

	--f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

	--wrap: 1200px;
	--gut: clamp(16px, 4vw, 40px);
	--sec: clamp(64px, 9vw, 128px);
	--r-sm: 6px;
	--r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	font-family: var(--f);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	font-variation-settings: "wdth" 100;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -.015em; }
h1, h2 { font-stretch: 112%; font-variation-settings: "wdth" 112; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.hb-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.hb-sr, .hb-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hb-skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 700; }
.hb-skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.hb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.35em;
	font: 700 1rem/1.1 var(--f);
	border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.hb-btn--primary { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.hb-btn--primary:hover { background: var(--ink); color: var(--yellow); }
.hb-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.hb-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.hb-btn--donate { background: var(--blue); color: var(--white); }
.hb-btn--donate:hover { background: var(--blue-ink); color: var(--white); }
.hb-btn--light { background: var(--yellow); color: var(--ink); }
.hb-btn--light:hover { background: var(--white); color: var(--ink); }
.hb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Encabezado ---------- */
.hb-top { position: sticky; top: 0; z-index: 50; background: rgba(250, 251, 247, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .hb-top { top: 32px; }
.hb-top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.hb-logo img { width: 168px; height: auto; }
.hb-logo__text { font-weight: 900; font-size: 1.4rem; color: var(--green-ink); text-decoration: none; }
.hb-logo__text span { color: var(--blue); }
.hb-logo { text-decoration: none; flex-shrink: 0; }

.hb-nav { display: flex; align-items: center; gap: 28px; }
.hb-nav__list { display: flex; align-items: center; gap: 4px; }
.hb-nav__list > li > a, .hb-nav__toggle {
	display: block; padding: 10px 12px; border-radius: var(--r-sm);
	font: 600 .98rem/1 var(--f); color: var(--ink); text-decoration: none;
	background: none; border: 0; cursor: pointer;
}
.hb-nav__list > li > a:hover, .hb-nav__toggle:hover { background: var(--paper); }
.hb-nav__toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-3px) rotate(45deg); }
.hb-nav__group { position: relative; }
.hb-nav__sub {
	position: absolute; top: calc(100% + 10px); left: -12px; width: 320px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 8px;
	box-shadow: 0 18px 40px -18px rgba(14, 42, 34, .35);
	display: none;
}
.hb-nav__group.is-open .hb-nav__sub { display: block; }
.hb-nav__sub a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.hb-nav__sub a:hover { background: var(--paper); }
.hb-nav__sub strong { display: block; font-weight: 700; }
.hb-nav__sub span { display: block; color: var(--muted); font-size: .9rem; }
.hb-nav__end { display: flex; align-items: center; gap: 14px; }
.hb-nav__portal { font-weight: 600; color: var(--ink); text-decoration: none; font-size: .95rem; }
.hb-nav__portal:hover { text-decoration: underline; }
.hb-nav .hb-btn { min-height: 42px; padding: .55em 1.1em; }
.hb-nav__list > li > a, .hb-nav__toggle, .hb-nav__portal { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1440px) {
	.hb-top__in { gap: 16px; }
	.hb-nav { gap: 14px; }
	.hb-nav__list > li > a, .hb-nav__toggle { padding: 10px 8px; font-size: .92rem; }
	.hb-nav__end { gap: 10px; }
}
@media (min-width: 1081px) and (max-width: 1180px) { .hb-nav__opt { display: none; } }

.hb-lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.hb-lang__btn { font: 600 .8rem/1 var(--f); padding: 7px 9px; border: 0; background: none; color: var(--muted); border-radius: 999px; cursor: pointer; }
.hb-lang__btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.hb-menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer; position: relative; }
.hb-menu-btn__bars, .hb-menu-btn__bars::before, .hb-menu-btn__bars::after { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.hb-menu-btn__bars { top: 21px; }
.hb-menu-btn__bars::before { left: 0; top: -6px; }
.hb-menu-btn__bars::after { left: 0; top: 6px; }
.hb-menu-btn[aria-expanded="true"] .hb-menu-btn__bars { background: transparent; }
.hb-menu-btn[aria-expanded="true"] .hb-menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.hb-menu-btn[aria-expanded="true"] .hb-menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
	.hb-menu-btn { display: block; }
	.hb-nav {
		position: fixed; inset: 72px 0 0 0; background: var(--bg);
		flex-direction: column; align-items: stretch; gap: 24px;
		padding: 16px var(--gut) 40px; overflow-y: auto;
		display: none;
	}
	.admin-bar .hb-nav { top: 118px; }
	.hb-nav.is-open { display: flex; }
	.hb-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.hb-nav__list > li { border-bottom: 1px solid var(--line); }
	.hb-nav__list > li > a, .hb-nav__toggle { padding: 18px 4px; font-size: 1.15rem; width: 100%; text-align: left; }
	.hb-nav__sub { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; background: none; }
	.hb-nav__end { flex-wrap: wrap; }
}

/* ---------- Tipografía de secciones ---------- */
.hb-h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 18ch; }
.hb-h2--narrow { margin-bottom: 40px; }
.hb-lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 54ch; margin-top: 18px; }
.hb-kicker { font-weight: 700; color: var(--green-ink); margin-bottom: 14px; }
.hb-more { margin-top: 36px; }

/* ---------- Secciones ---------- */
.hb-sec { padding: var(--sec) 0; }
.hb-sec--paper { background: var(--paper); }
.hb-sec--ink { background: var(--ink); color: var(--white); }
.hb-sec--ink .hb-lead { color: rgba(255, 255, 255, .78); }
.hb-sec--ink .hb-btn--ghost { color: var(--white); border-color: var(--line-ink); }
.hb-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hb-split > :first-child { position: sticky; top: 112px; }
@media (max-width: 900px) {
	.hb-split { grid-template-columns: 1fr; }
	.hb-split > :first-child { position: static; }
}

/* ---------- Hero ---------- */
.hb-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hb-hero__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hb-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1; font-stretch: 118%; font-variation-settings: "wdth" 118; max-width: 15ch; }
.hb-hero .hb-lead { margin-top: 26px; }
@media (max-width: 900px) {
	.hb-hero__in { grid-template-columns: 1fr; }
	.hb-hero__ticket { max-width: 420px; }
}

/* ---------- Tiquete de pesaje ---------- */
.hb-ticket { margin: 0; }
.hb-ticket__paper {
	position: relative;
	background: var(--white);
	font-family: var(--mono);
	font-size: .9rem;
	line-height: 1.5;
	color: var(--ink);
	padding: 26px 26px 34px;
	transform: rotate(-1.6deg);
	box-shadow: 0 1px 0 var(--line), 0 28px 50px -30px rgba(14, 42, 34, .45);
	--tooth: 9px;
	-webkit-mask: radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) bottom / 14px var(--tooth) repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - var(--tooth) + 1px) no-repeat;
	        mask: radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) bottom / 14px var(--tooth) repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - var(--tooth) + 1px) no-repeat;
	animation: hb-print 1.1s cubic-bezier(.2, .7, .2, 1) .25s both;
}
.hb-ticket__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--ink); margin-bottom: 12px; }
.hb-ticket__head strong { font-weight: 500; letter-spacing: .04em; }
.hb-ticket__head span { color: var(--muted); }
.hb-ticket__meta { margin: 0 0 12px; }
.hb-ticket__meta div { display: flex; justify-content: space-between; gap: 12px; }
.hb-ticket__meta dt { color: var(--muted); }
.hb-ticket__meta dd { margin: 0; text-align: right; }
.hb-ticket__lines { width: 100%; border-collapse: collapse; font: inherit; }
.hb-ticket__lines th, .hb-ticket__lines td { padding: 4px 0; text-align: left; font-weight: 400; }
.hb-ticket__lines td:last-child, .hb-ticket__lines th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hb-ticket__lines thead th { color: var(--muted); border-bottom: 1px solid var(--line); }
.hb-ticket__lines tfoot th, .hb-ticket__lines tfoot td { border-top: 1.5px dashed var(--ink); padding-top: 10px; font-weight: 500; font-size: 1.05rem; }
.hb-ticket__stamp {
	display: inline-block; margin-top: 18px; padding: 6px 12px;
	border: 2px solid var(--blue); color: var(--blue); border-radius: 4px;
	transform: rotate(-4deg); font-weight: 500;
}
.hb-ticket figcaption { margin-top: 22px; font-size: .95rem; color: var(--muted); max-width: 40ch; }
@keyframes hb-print {
	from { clip-path: inset(0 0 100% 0); transform: translateY(-24px) rotate(-1.6deg); }
	to { clip-path: inset(0 0 0 0); transform: translateY(0) rotate(-1.6deg); }
}

/* ---------- Enrutador por audiencia ---------- */
.hb-route { padding-top: 0; }
.hb-route .hb-h2 { margin-bottom: 28px; }
.hb-route__list { border-top: 2px solid var(--ink); }
.hb-route__list li { border-bottom: 1px solid var(--line); }
.hb-route__list a {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: baseline;
	padding: 24px 0; text-decoration: none; color: var(--ink);
}
.hb-route__who { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 800; font-stretch: 110%; font-variation-settings: "wdth" 110; letter-spacing: -.01em; }
.hb-route__what { color: var(--muted); }
.hb-route__list a:hover .hb-route__who { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .28em; text-underline-offset: -.02em; text-decoration-skip-ink: none; }
@media (max-width: 700px) { .hb-route__list a { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Pasos (secuencia real) ---------- */
.hb-steps { counter-reset: s; }
.hb-steps li { counter-increment: s; position: relative; padding: 0 0 30px 64px; }
.hb-steps li::before {
	content: counter(s); position: absolute; left: 0; top: -4px;
	width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--white); border: 2px solid var(--blue); color: var(--blue-ink);
	font-weight: 800; font-variant-numeric: tabular-nums;
}
.hb-steps li::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; width: 2px; background: var(--line); }
.hb-steps li:last-child { padding-bottom: 0; }
.hb-steps li:last-child::after { display: none; }
.hb-steps h3 { margin-bottom: 6px; }
.hb-steps p { color: var(--muted); }

/* ---------- Beneficios ---------- */
.hb-gains { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px 28px; }
.hb-gains li { border-top: 2px solid var(--ink); padding-top: 20px; }
.hb-gains h3 { margin: 14px 0 8px; }
.hb-gains p { color: var(--muted); }
.hb-gains--stack { grid-template-columns: 1fr; gap: 0; }
.hb-gains--stack li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; border-top: 1px solid var(--line); padding: 26px 0; }
.hb-gains--stack li:first-child { border-top: 2px solid var(--ink); }
.hb-gains--stack .hb-icon { grid-row: span 2; }
.hb-gains--stack h3 { margin: 4px 0 6px; }
.hb-sec--ink .hb-gains li { border-color: var(--line-ink); }
.hb-icon { width: 32px; height: 32px; color: var(--green-ink); }

/* ---------- Cifras ---------- */
.hb-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.hb-stats div { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; }
.hb-stats div:first-child { grid-column: 1 / -1; }
.hb-stats dd { margin: 0; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; font-stretch: 115%; font-variation-settings: "wdth" 115; font-variant-numeric: tabular-nums; }
.hb-stats div:first-child dd { font-size: clamp(3.6rem, 9vw, 6.5rem); color: var(--green); }
.hb-stats dt { margin-top: 6px; color: var(--muted); }
.hb-stats--ink { border-color: var(--line-ink); }
.hb-stats--ink div { border-color: var(--line-ink); }
.hb-stats--ink dt { color: rgba(255, 255, 255, .72); }

/* ---------- Personas ---------- */
.hb-people { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--white); min-height: 560px; }
.hb-people__img { position: relative; min-height: 360px; }
.hb-people__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-people__text { padding: clamp(40px, 7vw, 104px) clamp(24px, 6vw, 88px); align-self: center; max-width: 640px; }
.hb-people__text p { color: rgba(255, 255, 255, .8); font-size: 1.15rem; margin-top: 18px; }
.hb-people .hb-kicker { color: var(--green); }
.hb-people h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.hb-people .hb-btn--ghost { color: var(--white); border-color: var(--line-ink); }
.hb-people .hb-btn--ghost:hover { border-color: var(--white); }
@media (max-width: 900px) { .hb-people { grid-template-columns: 1fr; } .hb-people__img { min-height: 420px; } }

/* ---------- Ecosistema ---------- */
.hb-eco { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.hb-eco::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--green); }
.hb-eco__item { position: relative; padding: 44px 18px 0 0; text-decoration: none; color: var(--ink); }
.hb-eco__item::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 3px solid var(--green-ink); }
.hb-eco__item:first-child::before { background: var(--yellow); border-color: var(--ink); }
.hb-eco__item strong { display: block; font-size: 1.25rem; font-weight: 800; font-stretch: 110%; font-variation-settings: "wdth" 110; }
.hb-eco__item span { display: block; color: var(--muted); margin-top: 4px; }
.hb-eco__item:hover strong { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .25em; text-underline-offset: -.05em; text-decoration-skip-ink: none; }
@media (max-width: 860px) {
	.hb-eco { grid-template-columns: 1fr; }
	.hb-eco::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.hb-eco__item { padding: 0 0 28px 44px; }
	.hb-eco__item::before { top: 2px; }
}

.hb-pieces li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 24px 40px; padding: 34px 0; border-top: 1px solid var(--line); align-items: baseline; }
.hb-pieces li:first-child { border-top: 2px solid var(--ink); }
.hb-pieces h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.hb-pieces__name p { color: var(--green-ink); font-weight: 700; margin-top: 6px; }
.hb-pieces__desc { color: var(--muted); }
.hb-pieces a { font-weight: 700; white-space: nowrap; }
@media (max-width: 820px) { .hb-pieces li { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Materiales ---------- */
.hb-mat { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hb-mat li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; }
.hb-mat li::before { position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.hb-mat__yes li::before { content: "✓"; background: var(--green); color: var(--ink); }
.hb-mat__no li::before { content: "✕"; background: var(--ink); color: var(--white); }
.hb-mat__no li { color: var(--muted); }
@media (max-width: 560px) { .hb-mat { grid-template-columns: 1fr; } }

/* ---------- Bolsas (hogares) ---------- */
.hb-bins { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hb-bin { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.hb-bin h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hb-bin h3::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); }
.hb-bin--white h3::before { background: var(--white); }
.hb-bin--black h3::before { background: #1d1d1b; }
.hb-bin--green h3::before { background: #2f8a3d; }
.hb-bin--oil h3::before { background: #e3a614; }
.hb-bin p { color: var(--muted); }
.hb-bin--white { border: 2px solid var(--ink); }
@media (max-width: 560px) { .hb-bins { grid-template-columns: 1fr; } }

/* ---------- Encabezado de páginas ---------- */
.hb-phead { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.hb-phead__in { display: grid; grid-template-columns: 1fr; gap: 40px; }
.hb-phead--img .hb-phead__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
.hb-phead h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 18ch; }
.hb-phead__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
@media (max-width: 900px) { .hb-phead--img .hb-phead__in { grid-template-columns: 1fr; } .hb-phead__img img { aspect-ratio: 16 / 10; } }

.hb-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hb-duo > div { border-top: 2px solid var(--ink); padding-top: 20px; }
.hb-duo h3 { font-size: 1.4rem; margin-bottom: 10px; }
.hb-duo p { color: var(--muted); }
.hb-duo a { font-weight: 700; }
@media (max-width: 640px) { .hb-duo { grid-template-columns: 1fr; } }

.hb-plain li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; }
.hb-plain li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 2px; background: var(--blue); }
.hb-plain { margin-top: 24px; }

/* ---------- Donar ---------- */
.hb-donate { display: grid; gap: 20px; }
.hb-donate__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.hb-donate__box h3 { font-size: 1.35rem; }
.hb-donate__box > p { color: var(--muted); margin-top: 6px; }
.hb-donate__amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hb-note { background: var(--paper); padding: 14px 16px; border-radius: 10px; color: var(--ink) !important; margin-top: 16px !important; }

/* ---------- FAQ ---------- */
.hb-faq details { border-bottom: 1px solid var(--line); }
.hb-faq details:first-child { border-top: 2px solid var(--ink); }
.hb-faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.hb-faq details[open] summary::after { transform: rotate(45deg); }
.hb-faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* ---------- Formularios ---------- */
.hb-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.hb-sec--paper .hb-form { border-color: transparent; }
.hb-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.hb-field { display: flex; flex-direction: column; gap: 6px; }
.hb-field--wide { grid-column: 1 / -1; }
.hb-field label { font-weight: 600; font-size: .95rem; }
.hb-field input, .hb-field select, .hb-field textarea {
	font: inherit; font-size: 1rem; color: var(--ink);
	padding: 12px 14px; min-height: 48px;
	border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg);
	width: 100%;
}
.hb-field input:focus, .hb-field select:focus, .hb-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 141, 244, .2); background: var(--white); }
.hb-field textarea { resize: vertical; min-height: 96px; }
.hb-consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: .92rem; color: var(--muted); }
.hb-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.hb-form .hb-btn { width: 100%; }
.hb-form__ok, .hb-form__err { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.hb-form__ok { background: #e3f6d4; color: #1f4d0b; }
.hb-form__err { background: #fde3e1; color: var(--red); }
@media (max-width: 560px) { .hb-form__grid { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.hb-contact li { border-bottom: 1px solid var(--line); }
.hb-contact li:first-child { border-top: 2px solid var(--ink); }
.hb-contact a { display: block; padding: 18px 0; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.hb-contact a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .25em; text-underline-offset: -.05em; text-decoration-skip-ink: none; }
.hb-contact__data { margin: 32px 0 0; display: grid; gap: 14px; }
.hb-contact__data dt { color: var(--muted); font-size: .9rem; }
.hb-contact__data dd { margin: 0; font-weight: 600; }

/* ---------- Banda final ---------- */
.hb-band { background: var(--yellow); padding: clamp(48px, 6vw, 80px) 0; }
.hb-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hb-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); max-width: 20ch; }
.hb-band p { margin-top: 10px; max-width: 52ch; }
.hb-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hb-band .hb-btn--primary { background: var(--ink); color: var(--yellow); }
.hb-band .hb-btn--primary:hover { background: var(--white); color: var(--ink); }
.hb-band .hb-btn--ghost { border-color: var(--ink); }

/* ---------- Prosa (páginas genéricas) ---------- */
.hb-prose { max-width: 760px; }
.hb-prose h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
.hb-prose h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.hb-prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.hb-prose ul li { margin-bottom: .4em; }

/* ---------- Pie ---------- */
.hb-foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 72px 0 32px; font-size: .97rem; }
.hb-foot a { color: var(--white); text-decoration: none; }
.hb-foot a:hover { text-decoration: underline; }
.hb-foot__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.hb-foot__brand p { margin-top: 18px; max-width: 36ch; }
.hb-logo--foot img { width: 190px; background: var(--white); padding: 10px 14px; border-radius: 10px; box-sizing: content-box; }
.hb-foot h2 { font-size: 1rem; font-stretch: 100%; font-variation-settings: "wdth" 100; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.hb-foot__col li { margin-bottom: 9px; }
.hb-social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.hb-foot__eco { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); }
.hb-foot__eco span { color: var(--green); font-weight: 700; margin-right: 8px; }
.hb-foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: .88rem; }
@media (max-width: 860px) { .hb-foot__top { grid-template-columns: 1fr 1fr; } .hb-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .hb-foot__top { grid-template-columns: 1fr; } }

/* GTranslate: ocultar su barra flotante, usamos nuestro selector */
body > .gt_float_switcher, .gt_float_switcher_wrapper, #gt_float_wrapper { display: none !important; }
body { top: 0 !important; }
.skiptranslate iframe, iframe.skiptranslate { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Blindaje frente a los estilos globales de Elementor (kit) y otros plugins */
body .hb-menu-btn, body .hb-nav__toggle, body .hb-lang__btn { background: none !important; color: var(--ink) !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--f) !important; }
body .hb-menu-btn { border: 1px solid var(--line) !important; border-radius: 999px !important; padding: 0 !important; }
body .hb-nav__toggle { border: 0 !important; border-radius: var(--r-sm) !important; padding: 10px 12px !important; font-size: .98rem !important; font-weight: 600 !important; line-height: 1 !important; }
body .hb-nav__toggle:hover { background: var(--paper) !important; }
body .hb-lang__btn { border: 0 !important; border-radius: 999px !important; padding: 7px 9px !important; font-size: .8rem !important; font-weight: 600 !important; color: var(--muted) !important; }
body .hb-lang__btn[aria-pressed="true"] { background: var(--ink) !important; color: var(--white) !important; }
body button.hb-btn { font-family: var(--f) !important; text-transform: none !important; letter-spacing: 0 !important; border-radius: 999px !important; padding: .7em 1.35em !important; font-size: 1rem !important; font-weight: 700 !important; line-height: 1.1 !important; }
body button.hb-btn--primary { background: var(--yellow) !important; color: var(--ink) !important; border: 2px solid var(--ink) !important; }
body button.hb-btn--primary:hover { background: var(--ink) !important; color: var(--yellow) !important; }
body .hb-field input, body .hb-field select, body .hb-field textarea { font-family: var(--f) !important; font-size: 1rem !important; color: var(--ink) !important; padding: 12px 14px !important; border: 1.5px solid var(--line) !important; border-radius: 10px !important; background: var(--bg) !important; box-shadow: none; }
body .hb-field input:focus, body .hb-field select:focus, body .hb-field textarea:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(11, 141, 244, .2) !important; background: var(--white) !important; }
body .hb-route__list a, body .hb-eco__item, body .hb-contact a, body .hb-nav__sub a, body .hb-nav__list > li > a { color: var(--ink); }
@media (max-width: 1080px) {
	.hb-top { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
	body .hb-nav__toggle { padding: 18px 4px !important; font-size: 1.15rem !important; width: 100%; text-align: left; }
}
