/*
 * Fichas de sector, norma y línea: encabezado y secciones comunes.
 * Medidas de Sector.dc.html, Norma.dc.html y Linea.dc.html.
 */

/* ── Encabezado ───────────────────────────────────────────────────────── */
.inc-fh--alto .inc-hero__caja {
	min-height: clamp(440px, 58vh, 560px);
	display: flex;
	align-items: flex-end;
}

.inc-fh__dentro {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.inc-fh--alto .inc-fh__dentro { padding: clamp(48px, 5vw, 72px) clamp(20px, 3vw, 40px); }
.inc-fh--compacto .inc-fh__dentro { padding: clamp(56px, 6vw, 96px) clamp(20px, 3vw, 40px) clamp(48px, 5vw, 72px); }

.inc-fh__titulo { max-width: 18ch; }
.inc-fh__texto { max-width: 52ch; }
.inc-fh__ante { font-size: 15px; font-weight: 700; color: #62CD24; }

.inc-fh__pildoras { display: flex; gap: 8px; flex-wrap: wrap; }

.inc-fh__riesgo {
	align-self: flex-start;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	padding: 7px 12px 7px 10px;
	border-radius: 999px;
	background: #62CD24;
	color: #141614;
}

.inc-fh__origen { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); }

.inc-fh__acciones { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.inc-fh__btn {
	display: flex;
	align-items: center;
	height: 54px;
	padding: 0 26px;
	border-radius: 999px;
	background: #62CD24;
	color: #141614;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	transition: background-color .25s, color .25s;
}

.inc-fh__btn:hover { background: #fff; color: #141614; }

.inc-fh__btn--borde {
	padding: 0 24px;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, .5);
	color: #fff;
	font-weight: 600;
}

.inc-fh__btn--borde:hover { background: #fff; color: #141614; border-color: #fff; }

.inc-fh__pestanas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }

.inc-fh__pestanas a {
	display: flex;
	align-items: center;
	height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	transition: background-color .25s, color .25s;
}

.inc-fh__pestanas a:hover,
.inc-fh__pestanas a.es-activo { background: #62CD24; color: #141614; }

/* Norma: título grande y texto de subtítulo. */
.inc-fh--norma .inc-fh__titulo { font-size: clamp(40px, 5vw, 72px); line-height: 1; max-width: none; }
.inc-fh--norma .inc-fh__texto { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; font-weight: 500; color: #fff; max-width: 30ch; }

/* ── Secciones de prendas sobre gris ──────────────────────────────────── */
.inc-fs { background: #EEEFEC; padding: clamp(48px, 5vw, 72px) 0; }
.inc-fs__dentro { max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 2.4vw, 32px); }

/* ── Dos columnas de texto (riesgo del sector, contenido de la norma) ─── */
.inc-fd { background: #fff; padding: clamp(48px, 5vw, 80px) 0; }

.inc-fd__dentro {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(20px, 3vw, 40px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 32px clamp(40px, 6vw, 96px);
}

.inc-fd__col { display: flex; flex-direction: column; gap: 18px; }
.inc-fd__col--lista { gap: 12px; }
.inc-fd__ante { font-size: 14px; font-weight: 700; color: #367B10; }
.inc-fd__subt { font-size: 15px; font-weight: 600; }
.inc-fd__subt + .inc-fd__subt,
.inc-fd__subt--mas { margin-top: 12px; }
